|
From: Per W. <pw...@ia...> - 2003-09-29 16:23:33
|
Because libaaa.a is an import library, i.e. only contains a little stub code to fetch in the aaa.dll file where the real implementation is. The stub code will load the required DLL, locate all needed symbols in the DLL, and then initialize pointers to the different functions in the DLL. /Per W On Mon, 29 Sep 2003, Neszt Tibor wrote: > Hello! > > Could someone explain me why need any dll for my program? > > What I do: > - #include <aaa.h> > - link: -laaa (there is libaaa.a in the dev-c++ lib directory) > > Everything is ok. The project is compiled succesfully. But after starting, > the program needs aaa.dll > > Am I right, that the header and/or cpp (aaa.h, aaa.cpp) defines all the > callable functions, and the real functions is in the libaaa.a ?? > > If yes, why need the dll file? (for example if aaa=glut32, or aaa=fmod or ...) > > I simply don't want many dlls beside my program. > > I check all the regarding programs (Exebundle, Fusion, PEBundle, ...), but > there are many problem with these. > > My aim is that all the functions what I need is should be in the builded > exe file. > > So is there a soluton? Dev-c++ settings by any chance? > > > Regards, > > Neszt Tibor > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |