::staff::ServiceFactory::Inst().GetService returns null pointer on windows

21 views
Skip to first unread message

Pedro Mello

unread,
Dec 23, 2013, 4:06:28 PM12/23/13
to wsf-...@googlegroups.com
Same code: works on linux but fails on ms windows... what am I missing?

Dmitry Utkin

unread,
Dec 23, 2013, 11:32:57 PM12/23/13
to wsf-...@googlegroups.com
Hi,

One of reasons could be - you forgot to add some of generated files (YourServiceProxy.cpp) to your project.

To diagnose the problem try to include proxy file directly and instantiate proxy:

#include "YourServiceProxy.h"

....
int main()
...
YourServiceProxy proxy;
...

It must compiled fine - You should not have any unresolved symbols.

вторник, 24 декабря 2013 г., 1:06:28 UTC+4 пользователь Pedro Mello написал:

Pedro Mello

unread,
Dec 26, 2013, 6:45:20 AM12/26/13
to wsf-...@googlegroups.com
Thanks for the reply. I've figured out what is missing after all: the export macro on the proxy class (in r817 this was added only to generated interfaces) and some dependencies of libcurl (this later avoided by recompiling axis2)
Reply all
Reply to author
Forward
0 new messages