lib

what's the differences between .dll , .lib, .h files ?

why in a project should include some *.lib, .h or some other files ? and what are these things used for ? ...

C++: duplicated static member?

I have a class which needs to be a singleton. It implemented using a static member pointer: class MySinglton { public: static MySinglton& instance() { ... } private: static MySinglton* m_inst; }; This class is compiled into a .lib which is used in multiple dlls in the same application. The problem is that each dll sees a diffe...

Computing RO, RW and ZI sizes from a .lib file

Is there a way to compute the RO, RW and ZI sizes from a .lib file? I know linker produces a map file, but instead of waiting for the end product, would like to see if there is a way to simply process the .lib (using nm, readelf or something like that) to get that data. thanks ...

c static linking to lib and still requesting DLL

Hello, Using visual studio 2008, I have an .H and a .LIB file of a library. I wrote a program and refrenced the LIB via the project properties. It compiles fine, but when it runs, it asks for the DLL to be installed. If the DLL is in the same dir as the EXE it works ... but, if I have the LIB, doesn't it already mean the functions are s...

Choosing between static libs and dynamic libs/plugins?

I have been throwing stuff together in a small test game over the past 6 months or so, and right now everything is in the one project. I would like to learn more about creating an "engine" for reusability and I am trying to figure out the best way to do this. Static Libs are obviously a tiny bit faster, as they are compiled in rather th...

Downloading File with libcurl in c++

I am trying to download a zip file from a website but running into a few issues. http://ampaste.net/m1632f19a I implemented libcurl, followed some examples on downloading a file, used a big zip file so I could watch the progress %. It takes about 20 seconds to download, when it completes I go look and there is no file. Anyone have any...

Creating an MSVC import library from a DLL that uses stdcall

I have a dll that exports extern "C" __declspec(dllexport) int __stdcall Foo( void ); A dump of the dll shows ****************************************************************************** Section: Exports File Offset: 00001400 (5120) Flags: 00000000 Time Stamp: 00000000 Major Version: ...

How to prevent double inclusion of a .lib when inheriting dependencies?

Hello, I'm working to a Visual C++ 2008 project which needs two libraries (A and B), both of them are compiled using a a particular .lib (C). When I compile my project I'm asked for C again, and thus I specify it in the additional libraries. Then everything goes ok until the linking phase, where I get errors for external symbols which ar...

what jar's should Web Component WEB-INF LIB should contain in a war file

is web-inf/lib should contain only application specific jar's or deployment environment specific jar's also as per J2EE standards. Note : war file is not making use of any deployment environment specific functionality (for instance weblogic or websphere or tomat etc ...) ...

Symbian c++ - how to put own static lib

Hello guys. I'm using carbide c++. What to put in .mmp file to link some static library in path: camerawrapper\epoc32\release\armv5\lib from root? ...

How do I link a VS2008 C++ project as a DLL instead of a LIB?

I have the C++ source code in a Visual Studio project from another developer that compiles into a static lib. I need to change it so that it builds a dll from that code so that I can call it from C#. I went into the project properties in Visual Studio and changed the configuration type to a DLL. However, it now gives lots of linker er...

RSS lib for java

Advise any rss parser for java,which support much formats. I am using informa,but informa very slow for GAE ...

An available forum for libdmtx

Hey, looking for a forum to look at libdmtx anyone know where to find it? Thanks ...

Why dll can't be used in c++?

It's pointed out by this answer: http://stackoverflow.com/questions/2532280/failed-to-link-mysql5-1-39-bin-libmysql-dll-in-a-c-project/2532382#2532382 But I don't understand why,.dll is essentially the same as .lib except for there is only one copy of it used by different processes. Does it have anything to do with the IDE?I'm using v...

LNK2001: What have I forgotton to set?

Following on from my previous question regarding debugging of native code, I decided to create a simple test from a console app as I wasn't getting anywhere with debugging the service directly. So I created a vc6 console app, added the dll project to the workspace and ran it. Instead of executing as expected it spat out the following l...

need a wmv php library

does anybody know a lib for handling wmv file, need to be able to grab a frame and show it ...

Linux, static lib referring to other static lib within an executable

Hello, I am creating an application, which consists of two static libs and an executable. Let's call the two static libs: libusefulclass.a libcore.a And the application: myapp libcore instantiates and uses the class defined in libusefulclass (let's call it UsefulClass) Now, if I link the application in the following way: g++ -m64 -W...

How do you ensure a Utility Projects library dependency gets packaged in the final EAR in Eclipse Galileo?

I have a 'Utilty Project', and an 'EAR Project' that includes that 'Utility Project'. All the classes from the 'Utility Project' end up being packaged as a JAR and placed within the 'lib' directory of the exported EAR, for example: EAR.ear META-INF MANIFEST.MF lib utility.jar (which expands to): META-INF ...

How do I change all shared libraries used in my programe to static libraries in windows?

The shared library is causing much trouble for me, and disk space is far less expensive than the trouble itself. How can I convert all shared libs(.dll) to static libs(.lib) and make my programe use them instead of using shared libs? Note some .dlls are not directly refered to by my programe,e.g. my programe requires libpng,and libpng...

creating jar file for java application

Hi all i have created a java application which uses data from its config folder and , it also uses third party jar files those are located in lib folder, could anyone tell me how to create jar file for this project with the content stored in config file and lib folder. i tried creating jar using eclipse export functionality. when i ru...