[C ++ Error] ocidl. H (8163): e2337 only one of a set of overloaded functions can be "C"
E2337 solution:Go to the installation directory of CB and find c: \ Program Files \ Borland \ cbuilder5 \ include \ ocidl. H,Find the lines that reported the error and comment out the lines.
Cause analysis:ProjectAllThe header file contains the following lines of information:Ocidl. h already providesWhen compiling this project, if you cannot find any other source of this information, you can comment it out.
Note:This position should be restored when a new project is compiled.
For example:In ocidl. H, comment out the following lines and run them.
// Unsigned long _ rpc_user hdc_usersize (unsigned long _ rpc_far *, unsigned long, HDC _ rpc_far *); // unsigned char _ rpc_far * _ rpc_user hdc_usermarshal (unsigned long _ rpc_far *, unsigned char _ rpc_far *, HDC _ rpc_far *); // unsigned char _ rpc_far * _ rpc_user hdc_userunmarshal (unsigned long _ rpc_far *, unsigned char _ rpc_far *, HDC _ rpc_far *); // void _ rpc_user hdc_userfree (unsigned long _ rpc_far *, HDC _ rpc_far *);