Library-files

Hello,

I do not now how I must load a library file in to my project with Visual C++.

I need it to use an USB-module :
To use the Universal Library with MS Visual C++, include the Universal Library header file CBW.H in your C/C++ program and add the library file CBW32.LIB to your library modules for linking to the CBW32.DLL.(I have the files)

thanks
Visual c++ 2003/5/8 or VCC 6 ?
I'm having a similar issue. I am using Visual Studio C++ 2008 Express. I wan't to port a mahjonng game, that was meant for Linux, over to Windows. It requires the Glib libraries, so I downloaded them from http://www.gtk.org/download-windows.html. But I don't know how to register them with Visual C++. Any help?

Do I just put them in \VC\include?
Last edited on
I think you put them in the the lib directory, then go to project settings and set it as one of your project's required libraries.
Now , you must go to the project-properties ,
->submenu Linker
->Input
->Additional Dependencies => Type your filename.dll

And put the dll-file in the map debug files of your project.

(don't forget your headerfile for the dll)

good luck
Topic archived. No new replies allowed.