Click here to Skip to main content
15,899,003 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ Get File Size Pin
Joe Woodbury4-Sep-09 8:31
professionalJoe Woodbury4-Sep-09 8:31 
GeneralRe: C++ Get File Size Pin
Jim Fell4-Sep-09 10:24
Jim Fell4-Sep-09 10:24 
QuestionZooming image without loosing quality Pin
tealomp4-Sep-09 6:31
tealomp4-Sep-09 6:31 
AnswerRe: Zooming image without loosing quality Pin
includeh104-Sep-09 12:08
includeh104-Sep-09 12:08 
GeneralRe: Zooming image without loosing quality Pin
harold aptroot4-Sep-09 12:16
harold aptroot4-Sep-09 12:16 
GeneralRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:03
professionalChris Losinger5-Sep-09 6:03 
AnswerRe: Zooming image without loosing quality Pin
Chris Losinger5-Sep-09 6:00
professionalChris Losinger5-Sep-09 6:00 
QuestionA problem, please help. Pin
kingkongcn4-Sep-09 4:17
kingkongcn4-Sep-09 4:17 
AnswerRe: A problem, please help. Pin
Nuri Ismail4-Sep-09 4:24
Nuri Ismail4-Sep-09 4:24 
AnswerRe: A problem, please help. Pin
Cedric Moonen4-Sep-09 4:31
Cedric Moonen4-Sep-09 4:31 
AnswerRe: A problem, please help. Pin
Michael Schubert4-Sep-09 6:53
Michael Schubert4-Sep-09 6:53 
JokeRe: A problem, please help. Pin
David Crow4-Sep-09 7:01
David Crow4-Sep-09 7:01 
GeneralRe: A problem, please help. Pin
Michael Schubert4-Sep-09 7:04
Michael Schubert4-Sep-09 7:04 
GeneralRe: A problem, please help. Pin
Cedric Moonen4-Sep-09 7:12
Cedric Moonen4-Sep-09 7:12 
QuestionIn printer driver, how can I make sure DrvLoadFontFile is called? Pin
sashoalm4-Sep-09 3:29
sashoalm4-Sep-09 3:29 
QuestionTo get the Cursor position Pin
prithaa4-Sep-09 2:58
prithaa4-Sep-09 2:58 
AnswerRe: To get the Cursor position Pin
Iain Clarke, Warrior Programmer4-Sep-09 3:05
Iain Clarke, Warrior Programmer4-Sep-09 3:05 
AnswerRe: To get the Cursor position Pin
Cedric Moonen4-Sep-09 3:08
Cedric Moonen4-Sep-09 3:08 
GeneralRe: To get the Cursor position Pin
prithaa4-Sep-09 3:13
prithaa4-Sep-09 3:13 
GeneralRe: To get the Cursor position Pin
prithaa4-Sep-09 23:57
prithaa4-Sep-09 23:57 
QuestionUsing a static library (.a) build with gcc Pin
KNSetting4-Sep-09 2:00
KNSetting4-Sep-09 2:00 
AnswerRe: Using a static library (.a) build with gcc Pin
Stuart Dootson4-Sep-09 2:35
professionalStuart Dootson4-Sep-09 2:35 
AnswerRe: Using a static library (.a) build with gcc Pin
KNSetting4-Sep-09 6:59
KNSetting4-Sep-09 6:59 
GeneralRe: Using a static library (.a) build with gcc Pin
Stuart Dootson4-Sep-09 8:52
professionalStuart Dootson4-Sep-09 8:52 
You'll also need to tell it what path to look on. The LIB environment variable should already specify the directory containing all the standard Windows libraries. If not, set that directory and the one for your libraries with the /libpath[^] linker option.

winmm.lib should be in Visual C++'s library directory - either that or the Platform SDK's library directory.

I just built a C++ app with this command-line:

cl -EHsc a.cpp /link winmm.lib


The LIB environment variable contained the Platform SDK directory:

> set LIB
LIB=c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v6.0A\lib;


Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Using a static library (.a) build with gcc Pin
KNSetting8-Sep-09 1:29
KNSetting8-Sep-09 1:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.