Author Topic: Using Codeblocks with VS.NET 2003 (Not the Toolkit)  (Read 6320 times)

neomic

  • Guest
Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« on: September 01, 2007, 05:26:35 pm »
Hi,

is there a way to use Codeblocks with Visual Studio .NET 2003 (VC7)?
Because the Toolkit does not have a Ressourcecompiler and the other Libraries...

Thx in advance, neomic :)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #1 on: September 01, 2007, 06:19:49 pm »
Because the Toolkit does not have a Ressourcecompiler and the other Libraries...
That's why you also need to get Microsoft's Platform SDK. (Yes, I have posted the correct link -- this is what you need to develop programs for any version of Windows prior to Vista.)

But better yet, just download an express version of VS2005 -- then you have a better compiler, and you can use the VS IDE or C::B.
« Last Edit: September 01, 2007, 06:21:24 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #2 on: September 01, 2007, 06:29:08 pm »
the 2005 express version has a vc8 compiler and no atlmfc (i'm quite sure that this is not in the psdk)

so am i able to use a vc8 compiler and the atlmfc from vs.net 2003 with a project that is build on the vc7?
« Last Edit: September 01, 2007, 06:42:30 pm by neomic »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #3 on: September 01, 2007, 06:43:31 pm »
You can use the 2003 Toolkit, or you can use 2005 Express -- either way, you'll still need to download the PSDK to make Windows apps. (For 2005 Express you can use a slightly newer version of the PSDK.)

And no, there's really no way you could (or should) mix VS7 and VS8 in a single project.

EDIT:
I just realized I completely misinterpreted your original question. Yes, Code::Blocks works fine with any of the standard editions of Visual Studio .NET 2003. (Though you have to tweak the settings on wizard-generated projects.)
« Last Edit: September 01, 2007, 06:48:08 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #4 on: September 01, 2007, 07:29:56 pm »
do i have to overwrite the visual toolkit's settings in compiler and debugger dialog then?

suggestion: why don't they simply call it visual c++ 7/8 compiler?

edit: if i use the toolkit and psdk, where will i get ressource and make tools?
« Last Edit: September 01, 2007, 08:31:39 pm by neomic »

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #5 on: September 02, 2007, 11:02:53 pm »
sry for bumping, but i really need to know this :(

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #6 on: September 02, 2007, 11:28:34 pm »
do i have to overwrite the visual toolkit's settings in compiler and debugger dialog then?
I'm not sure what you mean by this question...

Quote
suggestion: why don't they simply call it visual c++ 7/8 compiler?
...nor what you mean by this suggestion.

Quote
if i use the toolkit and psdk, where will i get ressource and make tools?
If you use the 2003 Toolkit, the Platform SDK has those tools. If you have Visual Studio Standard, Professional, or Enterprise edition, it comes with the PSDK and you don't need to download it.
« Last Edit: September 02, 2007, 11:30:27 pm by TDragon »
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #7 on: September 03, 2007, 05:40:46 pm »
k...

Just to make things clear:

1. I have got Visual Studio .Net 2003 and a project that is coded for it
2. But I do not like the IDE's interface so i like to switch to CodeBlocks again (I new the interface, because it used it alot before with MinGW)
3. In the compiler/debugger settings dialog there are settings for Visual Studio C++ 2005 Express and C++ Toolkit 2003.
  > Where do i have to change the settings if i use Visual Studio .NET 2003
  > And if i want to use the Toolkit, where can i get the Ressource Compiler and Make tools (I am not able to find it in the Platform SDK)

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #8 on: September 03, 2007, 07:19:43 pm »
  > Where do i have to change the settings if i use Visual Studio .NET 2003
In C::B, use the 2003 Toolkit compiler.

Quote
  > And if i want to use the Toolkit, where can i get the Ressource Compiler and Make tools (I am not able to find it in the Platform SDK)
The resource compiler is rc.exe, and as far as I know it is included in the PSDK. I don't know what you mean by "Make tools" (nmake.exe?), and I'm not currently using the 2003 Toolkit, so I don't know where that would be found.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #9 on: September 04, 2007, 05:25:24 pm »
ok, i just tried again and i got this error




edit: i just found out that it has something do to with environment variables, but which do i have to set?
« Last Edit: September 04, 2007, 05:37:24 pm by neomic »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #10 on: September 05, 2007, 02:16:22 pm »
edit: i just found out that it has something do to with environment variables, but which do i have to set?
You may also...:
1.) add the DLL in question into system32 folder of windows OR
2.) extend the additional compiler path's (in the compiler setup) to the one that includes this DLL.

With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

neomic

  • Guest
Re: Using Codeblocks with VS.NET 2003 (Not the Toolkit)
« Reply #11 on: September 05, 2007, 06:32:32 pm »
wow thank you, works like a charm :)