User forums > Help

can't Integrate VC 2003 TOOLKIT with C::B

<< < (2/2)

code_tin:
thanks Morten's help.
this setting is not only what i have tryed.
i try a lot of ways:
1.only SDK.
2.SDK+VCTK
3.SDK+MinGW

I know the correct setting is like this:

Compiler:
D:\Program Files\Microsoft Visual C++ Toolkit 2003\include
D:\Program Files\Microsoft Platform SDK\Include

Linker:
D:\Program Files\Microsoft Visual C++ Toolkit 2003\lib
D:\Program Files\Microsoft Platform SDK\Lib

Resource compiler:
D:\Program Files\Microsoft Platform SDK\Include

I have tryed this setting.but it doesn't work too:(

code_tin:
i have try to add advapi32.lib to project ->build options-> Linker Options
it worked
but if i want to use any WIN32API.
i should add LIB one by one? even i use api like MessageBoxA ?
why the Directories->Linker doesn't work?

grv575:
This is how all compilers work.  If you do the same under MSVS it will link to a whole bunch of .lib files by default.  I think the linker is smart enough to match this up and only pull in libraries which are actually used.

code_tin:
thank you.
MSVC cover this fact so I'm never need to include some BASE lib before(like user32.lib )
thanks all of you.

Navigation

[0] Message Index

[*] Previous page

Go to full version