You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Trasca Virgil <vi...@yahoo.com> on 2008/01/05 10:43:58 UTC

Issue compiling Axis2C client with VS2005/C++

Hi,

  I have an issue trying to compile the Axis2C client code generated with wsdl2c in VS2005 & C++ environment. I know that Axis2C code is only C but I need to compile it in an C++ environment.

When I try to compile as C++ in Visual Studioa 2005 I get following error messages:

 error C2440: '=' : cannot convert from 'void *' to 'axiom_data_source_t *'

There is an option in VS2005 if the program should be compiled as C++ or as C and if I change to C this error disapears but I need to compile as C++ as my project will be C++.

How can I compile axis2c client code as C++ in Visual Studio?

Thank you,
Virgil




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Re: Issue compiling Axis2C client with VS2005/C++

Posted by Mark Nüßler <ma...@9elements.com>.
Hello Virgil,

have you tried an explicit cast ?

have a look at :
http://www.mail-archive.com/axis-c-user@ws.apache.org/msg02568.html

mfg derMark


Trasca Virgil schrieb:
> Hi,
> 
>   I have an issue trying to compile the Axis2C client code generated with wsdl2c in VS2005 & C++ environment. I know that Axis2C code is only C but I need to compile it in an C++ environment.
> 
> When I try to compile as C++ in Visual Studioa 2005 I get following error messages:
> 
>  error C2440: '=' : cannot convert from 'void *' to 'axiom_data_source_t *'
> 
> There is an option in VS2005 if the program should be compiled as C++ or as C and if I change to C this error disapears but I need to compile as C++ as my project will be C++.
> 
> How can I compile axis2c client code as C++ in Visual Studio?
> 
> Thank you,
> Virgil
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org