I am trying to write a program in C++ which uses the RFCs. I am using UNICODE and would like to use g++ to compile my programs. Here is the simpleist program that I can come up with which I can't compile. How can I compile this program? I can compile it is a C program, but NOT as a C++ program.
You are not understanding the problem, or, perhaps, I'm not explaining it well enough. I know how to compile C++ programs. The problem is when I try to compile C++ programs using the Unicode version of the SAP RFC SDK. If you look at my source code, you will see that it has some of the Unicode functions supported by the RFC SDK. How can I compile that with the C++ compiler. If you do a cut and paste of the code I posted and try to compile it with the instructions you posted, you will see the problem. That is assuming, of course, you have the SAP RFC SDK.