User forums > Using Code::Blocks

code does not go into WinMain

(1/1)

Alain21:
When I try to debug my code ... it doesn't go into my Winmain function .. so my assumption is that there is a main() function somewhere in one of the libraries that i link with. but which one! ... so to find this ... It would be a good idea to dump a .map file of all the references. I'm sure its feasible using the compiler (which is by the way Mingw32 GCC). can someone help me on this. ??

Alain21:
Alright it work ... Oh well ... my bad .. just figure out the symbols browser .. ;)

but I think a .map file would still be a good thing ... it using it a lot ... when something crash only in Release target you can get a adress where it crash and then point the function ... to figure out that Debug automaticly zeroize memory and Release don't (in MSVC compiler at least)

Navigation

[0] Message Index

Go to full version