Fri Aug 1 12:31:00 GMT 1997
Derek Greene wrote:
I have also used gnuwin32 to use OLE & COM objects. I think directx
uses a similar interface. It's not easy, you must use C not C++ for
now. C++ cleans up your code alot, but it doesn't compile the Microsoft
headers at all. For some reason the g++ is more peticular about the
location of * in a function prototype that returns a pointer.
The directx sample doesn't have any problems since it uses C.
int * __stdcall foo();
gives an error. but
int __stdcall * foo();
Another thing is that if you declare the calling convention for a member
function of a class, the calling convention is ignored. This may pose a
problem since OLE expects stdcall for member functions of COM objects.
Hope this helps.
> has ANYONE managed to port directx to gnu-win32? puh-leez say yes,
> say yes....:)
> For help on using this list (especially unsubscribing), send a message
> "email@example.com" with one line of text: "help".
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin