I did the same and it work.
the service should be compiled with c++ (or g++ in Linux)
the C code should be as follow:
#ifdef __cplusplus
extern "C" {
#endif
.
.
//---- the C code
.
.
#ifdef __cplusplus
}
#endif
----- Original Message ----
From: Michael Sutter <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, August 2, 2007 2:35:21 AM
Subject: Axis2C and CPP
Hello all,
I have a question about AXIS2C and cpp. I have written a c service and
want to access from it existing cpp code. The easiest way I think is to
compile the service with a c++ compiler (like g++). The problem is the
typecasting of the generated c code when compiling with g++. Also the
-traditional option does not work.
Does anybody have a idea how to compile it with g++ without changing the
generated source code?
Kind Regards
Michael
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]