I am converting my BCB5 app to BCB6. My app uses the CoInitialize/CoUninitialize functions which works fine in BCB5. When I try to use them in BCB6, I get all kinds of compile errors in the oleidl.h file. For example
oleidl.h(185): E2356 Type mismatch in redeclaration of '__stdcall MIDL_user_allocate(unsigned int)'
Why would this work in bcb5 but not bcb6???
Thanks
Chris Taylor
oleidl.h(185): E2356 Type mismatch in redeclaration of '__stdcall MIDL_user_allocate(unsigned int)'
Why would this work in bcb5 but not bcb6???
Thanks
Chris Taylor