TLB problem !!!
-
My .tlb file generated by MIDL converts the interface function parameters of type BOOL to long. So, when I'm trying to call that methode I've got a compiler error. What's a problem ?
your problem is that MIDL doesn't support the BOOL data type. In your .idl or .odl file (depending on what you're using) change the BOOL to boolean and then in the actual class implementation change it from BOOL to unsigned char. Try to find a table somewhere of data type mapping from MIDL to C++. O'Reilly's DCOM book has good examples of this. Hope this helps. Joseph Dempsey jdempsey@cox.rr.com Joseph.Dempsey@thermobio.com "Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning." --anonymous