Thanks for the help. I succedet to compile with VC Toolkit. I made a copy of the CBP file, as you said, but iI had to remove also these two libs:
odbc32
ctl3d32 because they do not exists. And I had to add
user32.lib, and I deleted also the "-l" entri in front of each lib.
I thought that by switching the compiler automatically you change the linker options to be in concordance with the respective linker, but you apply directly the MinGW linker options.
It would be nice to see in the linker options the default ones. By default, when the program creates a new project, you put tghe deafult linker options:
<Linker>
<Add option="-lstdc++"/>
<Add option="-lgcc"/>
<Add option="-lgdi32"/>
<Add option="-lcomdlg32"/>
<Add option="-lodbc32"/>
<Add option="-lwsock32"/>
<Add option="-lwinspool"/>
<Add option="-lwinmm"/>
<Add option="-lshell32"/>
<Add option="-lcomctl32"/>
<Add option="-lctl3d32"/>
<Add option="-ladvapi32"/>
<Add option="-lopengl32"/>
<Add option="-lglu32"/>
<Add option="-lole32"/>
<Add option="-loleaut32"/>
<Add option="-luuid"/>
</Linker>
My problem is that, when I open the Build Options dialog, and I go to the MinGW linker options, the edit box is empty. I don't see these options.
However when I made a copy of the CBP file, and I changed the compiler to VC++ and I modified the linker options (directly in the file), invoking the Build Option dialog in the linker options edit box the modified entries showed up.
Why is this strange behaviour, in one case they don't show up (the default MinGW), and in the other way they show up (when I changed directly in file)?
Thanks for help, mandrav.
Regards,
bszente