Hi. I've tried to read the code blocks wiki page for help, and I've tried to search online for answers to my questions (and I keep finding answers that either aren't related or produce stuff I already know). I was thinking of inquiring on a coding forum for the answer, but I realise that technically speaking it's not a coding issue (the code works fine), and that I'd be faster if I ask the people who build code block as to what works under the covers.
Now that you know I've tried not to ask here first, please don't write off my question with a wikipedia page reference.
I got some windows code. Yes, I know code blocks isn't a compiler. The code works, but the code also doesn't work (what do I mean?). I have a project that started out as a default console application. Now I assume code blocks does something out of sight when setting up the projects (and this is why I need someone who knows code blocks inside out and not a coder).
The windows code doesn't work in the default console application (not a compiler, I know), but it
does work in a default win32 GUI project. And it's not the header files (they have the same header files).
And I cannot start with a win32 GUI project - the console application based project I've working on for about a year and there's a lot of files and settings. I'd much rather just copy the settings that allow the win32 GUI project to work over to the other one than config a new project.
- My question is, what does code blocks do to the win32 GUI project that it doesn't do with the console application project? Or to put it bluntly, why does my windows code work with the win32 GUI project and not the default console application even if they have the same headers?
- And for some strange reason, (another question), none of the flags settings I've set on my projects display under build options->linker settings (both link libraries and other linker options is blank, even though I've previously added external libraries and they do compile normally as if there), how do I fix this issue?
As a side-note, I would check the libraries the win32 GUI uses but for some reason they don't display for me under the linker settings. Actually, most of the projects have this issue for some bizarre reason.