Witch LIBS we need to link for using the library:
qt_windows.h
and the function
mciSendString( ... )
http://msdn.microsoft.com/en-us/libr...61(VS.85).aspx
I'm using qt-creator under windows.
Witch LIBS we need to link for using the library:
qt_windows.h
and the function
mciSendString( ... )
http://msdn.microsoft.com/en-us/libr...61(VS.85).aspx
I'm using qt-creator under windows.
Last edited by bred; 7th November 2010 at 18:12.
you should not use qt_windows.h your self.
You should use <QApplication>.
It will resolve the correct system Qt headers depending on the system you are compiling on.
For the mciSetString(), you supplied the answer to your own question in the link.
READ the link you posted, the answer is there!
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
The lib is:
Winmm.lib
i've read the link.
But this lib is not installed in my system and is not installed in the Qt environment.
There's only the (in c:\windows\System32\winmm.dll) but it's impossible to link this dll.
I try to replace qt_windows.h with <QApplication>.
This file should be part of the platform SDK. Look under your MSVS installation in directory VC\PlatformSDK\lib.
If you don't find it there, you can get it by installation the WDK.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
bred (8th November 2010)
Bookmarks