Hello,

    Thank you for the help. I did not added explicit cast from 2 reasons:

1) I would prefer not to touch generated code. Also I was sure I was not the 
first one that I tried to use wsdl2c generated code from C++ so I was sure the 
solution is not to add explicit cast by hand.(maybe a compiler switch??)

2) I read previously that somebody added explicit cast by hand and it was 
compiling well but it was failing at run-time. 

Because of that 2 reasons I preferred to wait some answers from the axis2c 
mail-list. 

But I will also try explicit cast as it is a quick way to see if it is working 
or not.

Thank you,
Virgil

----- Original Message ----
From: Mark Nüßler <[EMAIL PROTECTED]>
To: Apache AXIS C User List <axis-c-user@ws.apache.org>
Sent: Saturday, January 5, 2008 3:05:03 PM
Subject: Re: Issue compiling Axis2C client with VS2005/C++

 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to