0

I don't think I've ever successfully linked a library before. I'm using the Code::Blocks IDE and I have installed the Windows SDK. I've tried going to

Settings -> Compiler & Debugger settings -> search directories tab

and adding "...\Microsoft SDKs\Windows\v7.0\Include", but when I try and compile a simple source code including <Windows.h> for example, I get a whole heap of errors.

2
Contributors
7
Replies
8
Views
7 Years
Discussion Span
Last Post by K0ns3rv
0

If you are writing a basic windows api program with no extra stuff, directx etc linking shouldn't be necessary..

0

Well it should be something like options->Compiler->dictionaries etc. When you get there just link the header map and the lib maps.
Sorry but my knowledge is rather limited with code::blocks.

//K0ns3rv

0

Isn't the dev cpp compiler outdated? Also, have you setup the windows api on devcpp? If so, I'll install it right now and try that way.

0

Dev cpp isn't outdated atm, it will be,but then again i only use it for writing programs with librarys like borland.
You don't have to set anything up when using dev it's all there xD

//K0ns3rv

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.