Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use CoInitialize/CoUnInitialize in BCB6

Status
Not open for further replies.

cjtaylor

Programmer
Aug 12, 2001
69
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top