hi,
Please try to compile the source after replacing
AXIS2_EXTERN int AXIS2_CALL
axis2_get_instance(struct axis2_svc_skeleton **inst,
const axis2_env_t *env)
{
...
}
AXIS2_EXTERN int AXIS2_CALL
axis2_remove_instance(axis2_svc_skeleton_t *inst,
Hi Zoli,
AXIS2_EXTERN means whether the function is exported or not from the dll and
AXIS2_CALL is the calling convention of the function. On windows AXIS2_CALL
is expanded as __stdcall and AXIS2_EXTERN as __declspec(dllexport).You can
find more on this by looking at the header file
Hi,
error C2491: 'axis2_get_instance' : definition of dllimport function
not allowed
error C2491: 'axis2_remove_instance' : definition of dllimport
function not allowed
These errors are cuased by not declaring the AXIS2_DECLARE_EXPORT as a
preprocessor derective.
If this preprocessor derective
Hi,
I think this is beacuase of the problems in generated
axis2_svc_skel_name.c and header file's
axis2_get_instance(struct axis2_svc_skeleton **inst,
const axis2_env_t *env)
axis2_remove_instance(axis2_svc_skeleton_t *inst,
const
Hi Milinda,
Yes, you're right about that functions, there is something wrong with them.
I found out something. In Microsoft Visual Studio I build the project like
Win32 application, and building this way the sample echo service from
Axis2/C and dll created is ok, meaning that I can connect to