News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

DevC to C:B .dll Migration Help!

Started by Freak, February 29, 2008, 08:21:32 AM

Previous topic - Next topic

Freak

Hi, Peoples...
I do a little bit of C programming usually within DevC/C++, I'm trying to setup Code Blocks 8.02 and make a template for .dll files.

Somewhere previously in DevC/C++, I had to make a change in my compiler settings or project settings area "-DBUILDING_DLL=1
I added an "-D_MSWIN" and this fixed the error i had.

Does anyone know how i would accomplish this using CodeBlocks, I'm recieving same error in CB, but am not sure where this would be changed in CodeBlocks settings, and without i cannot compile.

Any help would be appreciated.

thomas

You can add symbols that you want defined under your project options ("Compiler Flags" --> "#defines").
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."