Re: [Dev-C++] Linking Issues In Dev C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Carlos d. M. <cg...@wo...> - 2002-11-08 11:10:43
|
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 opt= ion 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 exp= orted =66rom the dll. -Add the appropriate code to the sources for load it when needed and unlo= ad 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=F3: > 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 in= side > 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=3Dfeatures/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 |