Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / please help linker error when using string

Author
Message
american eagle
17
Years of Service
User Offline
Joined: 2nd Aug 2007
Location:
Posted: 24th Dec 2009 00:56 Edited at: 24th Dec 2009 01:05
here is my code simple but I keep getting a linker error


this is the error I get


any help would be apreciated
and I already looked if my codegeneration setting is on MT not MTD ,and it is set to MT as it should be to work
american eagle
17
Years of Service
User Offline
Joined: 2nd Aug 2007
Location:
Posted: 24th Dec 2009 02:44
Problem solved Finallyyyyyyyyyyyyyy
My VS express was acting weird.... with the MT /MTD settings.. never knew why but after endless times trying to figure it out and everytime checking the codegeneration setting and it always was MT .. until one time suddenly it changed to MTD don't ask me why but when I brought it back to MT the lib thing was gone...

and for the record the code didn't work good until I figured out how to initialize HWND window and LPSTR filter didn't know their purpose but now I do

they should be initialized like this


Finally I got the File browser to work and will proceed with my game
Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 24th Dec 2009 04:32
you should also add #include <string>

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
american eagle
17
Years of Service
User Offline
Joined: 2nd Aug 2007
Location:
Posted: 24th Dec 2009 14:45
nop not needed

Login to post a reply

Server time is: 2024-10-01 20:29:01
Your offset time is: 2024-10-01 20:29:01