NicAx64 76 Posting Pro

hi, I am using mingw32-gcc-3.4.2 inside a windows XP Professional SP3 computer.

For my project I uses libcomctrl32.a library.The compilation goes without an error.
and linking too.But the problem is it crashed on the runtime.Then I add the -g option
and debug it. Here is the stack trace that I've obtained.

Program received signal SIGSEGV, Segmentation fault.
0x5d0ad465 in _libuser32_a_iname ()
(gdb) backtrace
#0  0x5d0ad465 in _libuser32_a_iname ()
#1  0x00000000 in ?? ()
(gdb) q

Any idea how to deal with this libuser32_a_iname problem?

And I'm using the commctrl.h and it's functions in my project, when I use the option
-lcomctl32 it stops showing the linker error messages but something terribly going
wrong, probably this should be an initialization problem,isn't it?

Any idea how to deal with this situation ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.