Page 1 of 1

Allegro on Windows Vista not working

Posted: Sat Jul 09, 2011 4:38 pm
by riggamack
Hello.

I recently got a new laptop and it has Windows Vista. I downloaded Dev-C++ and the Allegro library (and stuff.) Now, when I try to program, the window for my (crappy) game doesn't open. I've checked all the code, and its fine. And everything was perfect on my old computer which had Windows XP. I think the problem is because Dev-C++ or the version of Allegro I have is outdated for Vista..... help!

Re: Allegro on Windows Vista not working

Posted: Sat Jul 09, 2011 5:03 pm
by dandymcgee
Dev-C++ is no longer supported (hasn't been for about 10 years). Go download the express version of Visual Studio 2010.

http://www.microsoft.com/visualstudio/e ... pp-express

It is light years ahead of your current IDE and will drastically improve your debugging experience.

Re: Allegro on Windows Vista not working

Posted: Sat Jul 09, 2011 7:48 pm
by riggamack
I got it, but I don't understand all this new stuff. o.o

Re: Allegro on Windows Vista not working

Posted: Sat Jul 09, 2011 9:12 pm
by dandymcgee
riggamack wrote:I got it, but I don't understand all this new stuff. o.o
Just create a new project, and add your existing code files. Getting Allegro linked correctly might take a few tries, I've never used it personally but I'm sure there are plenty of good resources if you search around. ;)

Re: Allegro on Windows Vista not working

Posted: Sun Jul 10, 2011 11:33 am
by riggamack
I have. I cannot locate the .exe or the compile button. '.'

Re: Allegro on Windows Vista not working

Posted: Sun Jul 10, 2011 2:35 pm
by dandymcgee
riggamack wrote:I have. I cannot locate the .exe or the compile button. '.'
The .exe is in [project directory]/bin/Debug or [project directory]/bin/Release depending on which you compiled. F6 is compile, it can also be found in the Project menu as "Build". The green triangle is "Start Debugging" which will build in whichever mode you have selected (Debug or Release) then run the executable with the VS debugger attached. Pretty much the same idea as debugging in Dev-C++, but with a much more useful debugger.

Re: Allegro on Windows Vista not working

Posted: Fri Jul 15, 2011 12:05 pm
by riggamack
I'm still confused about why all of these extra files are there, when in Dev-c++ there aren't many files that are created. '.'

Re: Allegro on Windows Vista not working

Posted: Fri Jul 15, 2011 3:35 pm
by dandymcgee
riggamack wrote:I'm still confused about why all of these extra files are there, when in Dev-c++ there aren't many files that are created. '.'
There are some debug databases and intellisense info. Dev-C++ doesn't have as advanced of a debugger, and as far as I know has no intellisense at all. Those files can be safely discarded upon completion of the project and final version distribution.

Re: Allegro on Windows Vista not working

Posted: Mon Aug 29, 2011 11:44 am
by Tom_leonardsson
[quote="riggamack"] Windows Vista

aahhh there's your problem!

Re: Allegro on Windows Vista not working

Posted: Mon Aug 29, 2011 12:04 pm
by DistortedLance
You bumped a nearly two-month-old topic to post irrelevant information when the problem had already been solved? Awesome.

Re: Allegro on Windows Vista not working

Posted: Mon Aug 29, 2011 12:37 pm
by Tom_leonardsson
DistortedLance wrote:You bumped a nearly two-month-old topic to post irrelevant information when the problem had already been solved? Awesome.
thanks :D

Re: Allegro on Windows Vista not working

Posted: Mon Aug 29, 2011 4:15 pm
by ibly31
You didn't even use the quote tag correctly man!