• Advertisement
Sign in to follow this  

Wierd compilation errors: [C++ Error] rpcndr.h(200): E2275 expected

This topic is 3771 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I installed both Borland C++ Builder Professional 6.0 and Visual C++ .NET 2003 at my desktop, and they usually worked fine together. Some wierd thing happened this morning with my Borland C++ Builder. For any project, even a blank application, the Borland C++ Builder would report me the following error: [C++ Error] rpcndr.h(200): E2275 { expected [C++ Error] rpcndr.h(627): E2303 Type name expected [C++ Error] rpcndr.h(860): E2303 Type name expected [C++ Error] rpcndr.h(960): E2303 Type name expected [C++ Error] rpcndr.h(2700): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(2716): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(2780): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(2877): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(2891): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(2966): E2303 Type name expected [C++ Error] rpcndr.h(2987): E2147 'size_t' cannot start a parameter declaration [C++ Error] rpcndr.h(3048): E2303 Type name expected [C++ Error] wtypes.h(50): E2275 { expected [C++ Error] unknwn.h(71): E2275 { expected [C++ Error] sysdyn.h(146): E2147 'size_t' cannot start a parameter declaration [C++ Error] sysdyn.h(147): E2071 operator new must have an initial parameter of type size_t [C++ Error] wincrypt.h(2077): E2147 'size_t' cannot start a parameter declaration [C++ Error] wincrypt.h(6481): E2147 'size_t' cannot start a parameter declaration [C++ Error] objidl.h(554): E2275 { expected [C++ Error] oaidl.h(173): E2275 { expected The Microsoft Visual Studio still works fine. I could not recall anything I did recently to my Borland C++ Builder, but I did change the settings of my Microsoft Visual C++ recently. I added an extra path to include the Borland C++ include files and library files to my Visual C++, and I did not believe it should cause any problem with Borland C++. BTW, after I removed the extra path in my Visual C++, I still got the same errors with my Borland C++. Anybody could help me solve the problem? Thank you very much in advance. Johnson

Share this post


Link to post
Share on other sites
Advertisement

The problem is solved by simply overwritting the CBuilder6 folder with the original one in the installation CD.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement