Read-only archive of the All About Symbian forum (2001–2013) · About this archive

warning LNK4099 'edll.pdb' was not found

1 replies · 3,110 views · Started 30 January 2006

hello,

i run one dbms programm n i m using fp2 8.0a, vc++ .net ide, also perl 5.8.7 . after that i build that program with wins and thumb . but when once prog is build that time it shows me warning, b'cz of this warning i m not able to run that app in emulator , it show me there app name but it wasn't work..

i show u error below:

ending stage
...linking....
creating libreary d:\\....\\bookstoredb.lib and object d:\.......\bookstoredb.exp
edll.lib(up_dll.obj): warning lnk4210 : .CRT section exists ; there may be unhandled static initializers or terminators
edll.lib(up_dll.obj): warning lnk4099 : PDB 'edll.pdb' was not found with 'd:\\...\\edll.lib' or at 'd:\symbian\..\edll.pdb'; linking object as if no debug info

if any body have idea plz send me solution of that i m confusing to do this many times....

thnx in advance..

mayank_mca wrote:

...linking....
creating libreary d:\\....\\bookstoredb.lib and object d:\.......\bookstoredb.exp
edll.lib(up_dll.obj): warning lnk4210 : .CRT section exists ; there may be unhandled static initializers or terminators

Probably you have defined static data in the DLL.

This is not allowed. Each program has its own data memory, it does not suit this model for DLL to share memory between programs. :frown:

Usually each program needs its own copy of the data, so this can be member data of a class implemented by the DLL.

If you need to share data between programs having a Server that each client connects to is usually the most appropriate solution. Other options are Global Semaphores (RSemaphore) to share a single value, or Thread Local Storage. (Look it up in the documentation - you most likely will need a Global Mutex to protect the data from more than one application changing values at a time.)

edll.lib(up_dll.obj): warning lnk4099 : PDB 'edll.pdb' was not found with 'd:\\...\\edll.lib' or at 'd:\symbian\..\edll.pdb'; linking object as if no debug info

Possibly you need to add the EDLL library to the libraries statement in your MMP file.

Also check the EDLL can be found in one of paths listed by the LIB environment variable.

ttfn