Re: [Dev-C++] Linking Issues In Dev C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Louis G. <lg...@ya...> - 2002-11-08 21:53:28
|
Carlos, Can you give the doc(s) or tutorial(s) that you mention in your note ? --- Carlos García del Monte <cg...@wo...> wrote: > First of all, I'm not familiar with dlls. But dll is dynamic link > library, which > means the linking takes place at run time, so you haven't to pass any > option > about it to the compiler. You only need: > -Link to the import library, libfoo.a, if you make an implicit dll load. > This > file has an EXPORT table for the functions and variables that will be > exported > from the dll. > -Add the appropriate code to the sources for load it when needed and > unload it > when needed. Such LoadLibrary(hInstance, another parameter?s?) (see > documentation and tutorials) and FreeLibrary(hInstance) and it will link > to it > at run time. If explicit dll load. > > Saikat Kanjilal escribió: > > > Hello: > > I am sort of a newbie at using bloodshed dev-c++. > > I am writing a JNI application to interface with a c library (lets say > the c > > library file is called foo.dll) inside Bloodshed Dev C++ . To do this > I > > want to create a dll from a jni c file that in turn calls a function > inside > > this foo.dll. I was wondering what I need to do in my project > settings to > > link in this dll file , is it the -l or the -o option that is needed > to link > > in a dll.. > > > > Thanks for your help > > SK > > > > _________________________________________________________________ > > MSN 8 with e-mail virus protection service: 2 months FREE* > > http://join.msn.com/?page=features/virus > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users __________________________________________________ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 |