So, I just recently started using VC. Before I had been using DevC++, gvim, and NetBeans(for java). The reason I got into Visual C++ is because I have also begun learning to use DirectX. I used Visual C++ 6.0 starter edition for a couple months, and then just a few days ago I got ahold of a copy of Visual C++ .NET. When I run my programs from within the visual environment, they run perfectly. However, if I run them by double clicking on their exe, they crash. At first I didnt think anything of it, since the stupid starter edition I started on always warned me it wouldn't let me make anything distributable. I had assumed this was its way of enforcement. But I noticed it as a problem when the problem continued with the full version, and realized that only applications using DirectX would crash. I am just completely baffled as to why my program would work perfectly within the environment, and not at all outside. I suspect I ahve some settings screwed up somewhere. Does anyone have any ideas? Thanks for the help. P.S. Just in case its relevent, I am using DirectX 8.0
BenBen84
0
Newbie Poster
Recommended Answers
Jump to PostIt might be that you are linking with some dll's that aint in the folder you are executing from or in the system folder. try to look at the propeties for the project in VC and see if they link to some files. and if try to copy them into …
Jump to PostI've heard of problems with MSVC++ 6.0, where everything runs fine when you're just running it from MSVC, but when you go to run it in its release/debug folder it crashes. If the program was a missing dll then an error message should pop up when you try to run …
All 8 Replies
zyruz
0
Junior Poster in Training
BenBen84
0
Newbie Poster
Daishi
0
Junior Poster in Training
BenBen84
0
Newbie Poster
Daishi
0
Junior Poster in Training
BenBen84
0
Newbie Poster
Daishi
0
Junior Poster in Training
BenBen84
0
Newbie Poster
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.