Linking DLL
| Mon, 2005-02-28 17:07 | |
|
Hi!
I am very new to programming Symbian and I would like to ask your help. Following the \base\dlls example the dlls are called correctly. But how can I achieve, that the DLL is loaded at startup of a GUI application. For example if I would like to load a dll in the startup of HelloWorldBasic then where sould I put the RLibaray library .. . . CleanupStack::PushL(myClassinDll); methods? For example if I put it in the constructor of ...appui.c, then when the CleanupStack::PushL(myClassinDll) is called, the application hangs up. Thanks for your reply in advance! Best regards, Balint Toth |
|






Forum posts: 1379
I assume "myClassinDll" is an instance of a class which is defined in the DLL. How have you actually gone about creating this instance?? Could you put up the code between the two lines.
Also, put up the CPP code and H code for the class in the DLL concerned.
didster
Forum posts: 12
Thanks for your reply. I realized the problem was that I tried to link a polimorfical dll. I changed it, and now its working fine!:)
Thanks again!
Best regards,
Balint Toth