User forums > Using Code::Blocks

Problem compiling some windows specific functions!

<< < (2/2)

stahta01:

--- Quote from: fioan89 on March 07, 2010, 08:03:14 pm ---Well my compiler is mingw!And yeah i think the setting's are my problem since visual studio compile the code with succes!

--- End quote ---

Turn on Full Compiler Logging and post what you think is wrong; if you have no idea what is wrong post in a group that support the source code/library/project.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F


EDIT: The use of Visual Studio Libraries (from Windows SDK; kernel32.lib ) under MinGW GCC is NOT likely to work!!!

EDIT2: MinGW GCC does support linking to DLLs that use the C Naming protocol.

EDIT3: I think you need to go to a site that supports Windows C/C++ programming and the use of the MinGW GCC Compiler.

EDIT4: After adding _WIN32_WINNT=0x0501 your code had obvious problems; I suggest asking your instructor for help if this is a class assignment; if not, I suggest going to a basic programming site that support C/C++ under Windows.

Tim S.

PS, Mingw is a group; the Compiler is GCC or MinGW GCC.

Navigation

[0] Message Index

[*] Previous page

Go to full version