hi ,
I was trying to compile the ecom example given in the s60 3rd edition sdk( in the path C:\Symbian\9.1\S60_3rd\examples\SysLibs\ECom). I am using the carbide_vs in .net for developing. i import the project using the mmp file .but when i compile it a link error is being shown. the error message is as follows
i tried building it using the command prompt then the error messages are as followsCode:Error in linking: Object reference not set to an instance of an object. InterfaceDefinition : error PRJ0003 : Error spawning 'link.exe'.
Code:mwldsym2.exe: Undefined symbol: '___CxxFrameHandler' mwldsym2.exe: referenced from '__E32Dll' in uc_dll.cpp:41 (EDLL.LIB) mwldsym2.exe: referenced from 'void invokeTable(void (* *)(void), void (* *)(voi d)) (?invokeTable@@YAXPAP6AXXZ0@Z)' in win32crt.h:121 (EDLL.LIB) mwldsym2.exe: referenced from 'void operator delete(void *) (??3@YAXPAX@Z)' in w in32crt.h:176 (EDLL.LIB) mwldsym2.exe: referenced from 'void TPtrC8::Set(class TPtrC8 const &) (?Set@TPtr C8@@QAEXABV1@@Z)' in e32cmn.inl:510 mwldsym2.exe: Undefined symbol: '__stdcall(8) _CxxThrowException (__CxxThrowExce ption@8)' mwldsym2.exe: referenced from 'void TPtrC8::Set(class TPtrC8 const &) (?Set@TPtr C8@@QAEXABV1@@Z)' in e32cmn.inl:510 mwldsym2.exe: Undefined symbol: '___destroy_new_array' mwldsym2.exe: referenced from 'CResolver::~CResolver(unsigned int) (??_ECResolve r@@UAE@I@Z)' in ExampleResolver.o mwldsym2.exe: referenced from 'CExampleResolver::~CExampleResolver(unsigned int) (??_ECExampleResolver@@UAE@I@Z)' in ExampleResolver.o mwldsym2.exe: referenced from 'CBase::~CBase(unsigned int) (??_ECBase@@UAE@I@Z)' in ExampleResolver.o Errors caused tool to abort. make[1]: *** [\Symbian\9.1\S60_3rd\EPOC32\RELEASE\WINSCW\UDEB\ExampleResolver.dl l] Error 1 make: *** [TARGETINTERFACEDEFINITION] Error 2 mwldsym2.exe: Undefined symbol: '___unexpected' mwldsym2.exe: referenced from 'void operator delete(void *) (??3@YAXPAX@Z)' in w in32crt.h:176 (EDLL.LIB) make -r -f "\Symbian\9.1\S60_3rd\EPOC32\BUILD\Symbian\9.1\S60_3rd\examples\Sy sLibs\ECom\InterfaceDefinition\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s
As of now there is euser.lib in the mmp and i added ecom.lib.
Should i add more lib files in the mmp?
Expecting a solution fro this at the earliest.
Regards,
Rakesh

Reply With Quote



