![]() |
OT: MS C++ 6.0 help
I'm starting to understand c++. However, c++ doesn't understand the Directx SDK samples I downloaded.
|
Re: OT: MS C++ 6.0 help
Ok. Which examples, from which Version of DirectX, and what is MSVC6 saying to you about them?
PvK |
Re: OT: MS C++ 6.0 help
This one
The c++ samples. And it's not recognizing the makefile or the .vcproj file when I try to open a workspace. See you guys monday. (Don't go on the internet sunday...And look at the forum time). |
Re: OT: MS C++ 6.0 help
Any newer examples are likely build for MSVC 7, which may not have a compatible Workspace (DSW) format. Try opening the Project file (DSP) or the VCPROJ file directly.
VC7 also uses yet another file type called a "Solution" file (SOL). If there is no SOL file for the example you're looking at, then it probably is an old example which should load in VC6, so I that case something else would be causing the problem. PvK |
Re: OT: MS C++ 6.0 help
VC7 solutions are *.sln, not *.sol, BTW...
(insert random plug for C# here http://forum.shrapnelgames.com/images/smilies/wink.gif) |
Re: OT: MS C++ 6.0 help
Do you have the DX SDK installed? Do you have your compiler set up to include the DX stuff at compile time?
|
Re: OT: MS C++ 6.0 help
Meh, who wants to use C++ when there are easier Languages around? Python, java. I remember when i used to program in c++. Now i can concentrate on ideas instead of language syntax stuff.
|
Re: OT: MS C++ 6.0 help
Quote:
Lets get back to answering the poor guys quesion. http://forum.shrapnelgames.com/images/smilies/wink.gif |
Re: OT: MS C++ 6.0 help
Quote:
|
Re: OT: MS C++ 6.0 help
Also, he hasn't said, but it may be something he's doing for school, and even if there are other Languages better the C++, I doubt his teacher would allow substitutions. http://forum.shrapnelgames.com/images/smilies/happy.gif
|
Re: OT: MS C++ 6.0 help
No dsp, no sol, no sln.
Quote:
I'm trying to make commercially saleable games and scripting Languages are too slow. And I only own two commercial compilers, DarkBASICPro and MS VS C++ 6.0 |
Re: OT: MS C++ 6.0 help
You could try the IDE Eclipse, with C++ plugins... not sure how exactly to get it all working myself, but it is all free...
|
Re: OT: MS C++ 6.0 help
Wouldn't that be the same as C++? anyway, I'd rather not try to learn too many things at the same time.
|
Re: OT: MS C++ 6.0 help
Most Languages use C++ (or C) for plugins to boost speed. The other language (whatever it might be) for comfort. All are commercially viable. But obviously learning C++, at least enough to understand good use of libraries and plugins, is a good idea. You might consider whether you want to get too involved with the MS part of that "MS C++ 6.0".
I wish you luck with it. |
Re: OT: MS C++ 6.0 help
Thank you.
|
Re: OT: MS C++ 6.0 help
Quote:
1) Copy such an example into a working folder somwhere. 2) Double-click the .DSW. 3) Have it at least load into Visual Studio for editing, without having any errors beyond perhaps something like "couldn't find silly widget Q - would you like to create one?" or "update crap to latest Version?" to which you'd just say yes. If you can't even load it into the editor, then maybe Visual Studio isn't installed quite right. PvK |
Re: OT: MS C++ 6.0 help
There isn't a dsw, either.
Perhaps I was a little obscure when I said: 'c++ doesn't understand the Directx SDK samples I downloaded.' Clarification: I just searched all of them, there are no workspace file formats in any of the samples that C++ 6.0 recognizes. That being dsw, dsp, mdp and mak. There are makefiles, but those are m64 |
Re: OT: MS C++ 6.0 help
Oh... ok, that helps. Are there not DSW files one directory-level higher than the lowest sub-folders? There are in the Versions of DXSDK that I have loaded. Open the DSW, and the sub-folders should be sub-projects of that workspace.
For example, C:\DXSDK\samples\Multimedia\Demos contains demos.dsw, four project subfolders, and a "bin" subfolder. The bin folder has resources which are shared by the projects, to save space. The one DSW will let you build any of the projects it includes. You can select which one by using the control available from the Build/Configurations drop-down item. PvK |
Re: OT: MS C++ 6.0 help
You must have a different one. I've got a media directory, but no multimedia directory, and the bin folder in the Directx samples folder just has .exe files. Path looks like this: C:\Microsoft DirectX 9.0 SDK\Samples\C++
|
Re: OT: MS C++ 6.0 help
The C++ samples in the DirectX SDK don't look like they contain too many files... why don't you just create a new empty solution or project or workspace or whatever it's called in the sample directory, remove all the junk that might be in it (in case it's not really empty, MS likes to play with your mind http://forum.shrapnelgames.com/image...s/rolleyes.gif), and add the *.cpp, *.h, and *.rc files to it?
|
Re: OT: MS C++ 6.0 help
Ok, but I'm not sure how to add files.
Thanks for all your patience, people. |
Re: OT: MS C++ 6.0 help
Quote:
|
Re: OT: MS C++ 6.0 help
Quote:
In Visual Studio, find the include directory options for C++ projects (For me, it was under Tools -> Options, and then select Projects -> VC++ Directories). Make sure to have the path for the DXSDK\include directory there. Same thing for lib(rary) files for DX, include the DXSDK\lib directory in the VC++ lib files option. Its been a while since I seriously used MSVC++ 6, so things are probably different. |
Re: OT: MS C++ 6.0 help
The library and include files are there under directories, but I don't see any projescts-> VC++ Directories.
|
Re: OT: MS C++ 6.0 help
Quote:
|
Re: OT: MS C++ 6.0 help
Quote:
About scripting Languages being too slow, that is just not true. Search the net. There are several frameworks around that work easier that Direct X and that can be used with several other Languages AND that work as fast. A few years back i experimented with java and full screen painting. Wasn't a problem to get very high fps. As Gandalf said, for parts of a program where speed is essential, you can always program these extensions in C/C++. |
All times are GMT -4. The time now is 04:50 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.