Any of you have any experience doing this? Any samples would be greatly appreciated!
Shaun Sullivan
PureSim Baseball
www.puresim.com
Shaun Sullivan
PureSim Baseball
www.puresim.com
Extern "Win32" Type IUnknown Method QueryInterface() Method AddRef() Method Release() End Type Type IDirect3D9 Extends IUnknown Method Blah() Method Etc() End Type End Extern
interface IMyObj : IUnknown { void Initialize; void SomeMethod; void Uninitialize; }
Type MyObj Extends IUnknown Method Initialize Method SomeMethod Method Uninitialize End Type
Type IDispatch Extends IUnknown Method GetTypeInfoCount Method GetTypeInfo Method GetIDsOfNames Method Invoke End Type
Type MyObj Extends IDispatch Method Initialize Method SomeMethod Method Uninitialize End Type
Extern Function COMCreateArgList:Int() ' returns handle to arg list Function COMAddArg(value:Byte Ptr, ArgType:Int) ' value would be a pointer to the variable containing the data. Variable would be any type ' ArgType would be a constant, indicating the type of pointer. Somewhat similar in principal to a variant type. e.g. ARG_INT, ARG_STRING, ARG_FLOAT... Function COMCallMethod(Handle:Int, MethodName:Byte Ptr, ArgList:Int) ' ArgList could be Null. End Extern