libvlc and visual-c++
Posted: 15 Mar 2007 17:34
Hello,
I Want to use libvlc with visual-c++ (or QT...)
So I want to generate a .lib from the dll to have all exported function.
I use impdef to generate .def file and it seems to be good ! : impdef libvlc.dll
I use dlltool : dlltool --dllname libvlc.dll --input-def libvlc.def --output-lib libvlc.lib
to generate the lib file and it seems to work fine...
I create a new project, I use libvlc.h and vlc.h to have the function prototype and link with the libvlc.lib !
I try a simple function like VLC_Version()
All it's fine and the executable is generated, the link works.
BUT ! And it's my problem ... when I run the program, it hang with an exception ...
Somebody have already use the libvlc with visual-c++ ?
Or somebody cn help me on my mistake ?
Thanks,
A+
I Want to use libvlc with visual-c++ (or QT...)
So I want to generate a .lib from the dll to have all exported function.
I use impdef to generate .def file and it seems to be good ! : impdef libvlc.dll
I use dlltool : dlltool --dllname libvlc.dll --input-def libvlc.def --output-lib libvlc.lib
to generate the lib file and it seems to work fine...
I create a new project, I use libvlc.h and vlc.h to have the function prototype and link with the libvlc.lib !
I try a simple function like VLC_Version()
All it's fine and the executable is generated, the link works.
BUT ! And it's my problem ... when I run the program, it hang with an exception ...
Somebody have already use the libvlc with visual-c++ ?
Or somebody cn help me on my mistake ?
Thanks,
A+