Code::Blocks Forums

User forums => Help => Topic started by: Freak on February 29, 2008, 08:21:32 am

Title: DevC to C:B .dll Migration Help!
Post by: Freak on February 29, 2008, 08:21:32 am
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.
Title: Re: DevC to C:B .dll Migration Help!
Post by: thomas on February 29, 2008, 03:09:47 pm
You can add symbols that you want defined under your project options ("Compiler Flags" --> "#defines").