Has anyone had any problems using SDL and Visual C++ 7.0? A program that used to work when compiled with 6.0 will no longer work when compiled with 7.0. It compiles fine, no errors, but when I try to run the .EXE it crashes. Same options in both cases. I have rebuilt the libs and DLLs with no success. Any of my non SDL programs on the other hand will work perfectly.
oops, forgot here, the version i’m trying to use is 1.2.3. nothing happens, a wondow will open then i get the lovely crash dialog. this doesn’t happen with the exact same program compiled with VC6.----- Original Message -----
From: Anthony T.
To: sdl at libsdl.org
Sent: Sunday, February 17, 2002 11:28 PM
Subject: [SDL] VC7 and SDL
hi
Has anyone had any problems using SDL and Visual C++ 7.0? A program that used to work when compiled with 6.0 will no longer work when compiled with 7.0. It compiles fine, no errors, but when I try to run the .EXE it crashes. Same options in both cases. I have rebuilt the libs and DLLs with no success. Any of my non SDL programs on the other hand will work perfectly.
oops, forgot here, the version i’m trying to use is 1.2.3. nothing happens, a wondow will open then i get the lovely crash dialog. this doesn’t happen with the exact same program compiled with VC6.
Wierd. Are you able to debug the program? Have you rebuilt SDL with VC7?
I don’t have access to VC7 myself…
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
The first thing I did was rebuild the libs/dlls with VC7. Before I did a
clean, it said “SDL - up-to-date” which means it doesn’t look like there is
any difference between libs/dlls built with VC6 and VC7. Then I just deleted
all the intermediate files and rebuilt, and still no luck.
Ok, now if I go to “Build Solution” and run the exe created, it crashes.
Window pops up, then i get the error dialog immediately.
If I run it in VC7’s debugger (Debug->Start) the program will run.
This is the output from the crash window:
AppName: invaders4.exe AppVer: 0.0.0.0 ModName: sdl.dll
ModVer: 0.0.0.0 Offset: 00000000
As you can see this is less than helpful…> ----- Original Message -----
From: slouken@devolution.com (Sam Lantinga)
To:
Sent: Tuesday, February 19, 2002 5:39 PM
Subject: Re: [SDL] VC7 and SDL
Wierd. Are you able to debug the program? Have you rebuilt SDL with VC7?
I don’t have access to VC7 myself…
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Do you have the full version of Visual Studio .NET or are you using the SDK?
I am downloading the SDK right now to see if I can be of some help.> And its about to get weirder…
The first thing I did was rebuild the libs/dlls with VC7. Before I did a
clean, it said “SDL - up-to-date” which means it doesn’t look like there is
any difference between libs/dlls built with VC6 and VC7. Then I just
deleted all the intermediate files and rebuilt, and still no luck.
Ok, now if I go to “Build Solution” and run the exe created, it crashes.
Window pops up, then i get the error dialog immediately.
If I run it in VC7’s debugger (Debug->Start) the program will run.
This is the output from the crash window:
AppName: invaders4.exe AppVer: 0.0.0.0 ModName: sdl.dll
ModVer: 0.0.0.0 Offset: 00000000
As you can see this is less than helpful…
----- Original Message -----
From: “Sam Lantinga”
To:
Sent: Tuesday, February 19, 2002 5:39 PM
Subject: Re: [SDL] VC7 and SDL
Wierd. Are you able to debug the program? Have you rebuilt SDL with VC7?
I don’t have access to VC7 myself…
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
To build the libs, I just unzip the source archive and use the workspaces
found in the VisualC.zip file.> ----- Original Message -----
From: diginux@diginux.net (Jordan Wilberding)
To:
Sent: Tuesday, February 19, 2002 8:35 PM
Subject: Re: [SDL] VC7 and SDL
Do you have the full version of Visual Studio .NET or are you using the
SDK?
I am downloading the SDK right now to see if I can be of some help.
And its about to get weirder…
The first thing I did was rebuild the libs/dlls with VC7. Before I did a
clean, it said “SDL - up-to-date” which means it doesn’t look like there
is
any difference between libs/dlls built with VC6 and VC7. Then I just
deleted all the intermediate files and rebuilt, and still no luck.
Ok, now if I go to “Build Solution” and run the exe created, it crashes.
Window pops up, then i get the error dialog immediately.
If I run it in VC7’s debugger (Debug->Start) the program will run.
This is the output from the crash window:
AppName: invaders4.exe AppVer: 0.0.0.0 ModName: sdl.dll
ModVer: 0.0.0.0 Offset: 00000000
As you can see this is less than helpful…
----- Original Message -----
From: “Sam Lantinga”
To:
Sent: Tuesday, February 19, 2002 5:39 PM
Subject: Re: [SDL] VC7 and SDL
Wierd. Are you able to debug the program? Have you rebuilt SDL with
VC7?
I don’t have access to VC7 myself…
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Well I downloaded the Visual Studio .NET SDK (the free version of VC7 from
Microsoft) and here is what I came up with.
First of all I used libs compiled by VC6, because I could not find a makefile
interpreter for VC7.
First of all I made a quick program that initialized SDL and a screen and it
worked just great. I then decided to try out some of the test files which
come with SDL: testbitmap.c, testwin.c, testwm.c, testalpha.c, testlock.c,
and testvidinfo.c I am sure that rest will compile as well and work
fine(including mouse clicks, focus, and etc.). So I am not sure what the
problem is. Anthony, what exactly is the code are you trying to compile? You
using any other libs besides SDL?
Also, on a side note, I would just like to say with VC7 when you start an SDL
app the console window comes up and works too! :)–
Jordan Wilberding <@Jordan_Wilberding> Diginux.net Sys Admin
Nope, no other libs. Now that I know its me, I’m going to have to go through
the fun process of looking for any old DLLs hanging around that I may have
missed.> ----- Original Message -----
From: diginux@diginux.net (Jordan Wilberding)
To:
Sent: Tuesday, February 19, 2002 9:23 PM
Subject: Re: [SDL] VC7 and SDL
Well I downloaded the Visual Studio .NET SDK (the free version of VC7 from
Microsoft) and here is what I came up with.
First of all I used libs compiled by VC6, because I could not find a
makefile
interpreter for VC7.
First of all I made a quick program that initialized SDL and a screen and
it
worked just great. I then decided to try out some of the test files which
come with SDL: testbitmap.c, testwin.c, testwm.c, testalpha.c, testlock.c,
and testvidinfo.c I am sure that rest will compile as well and work
fine(including mouse clicks, focus, and etc.). So I am not sure what the
problem is. Anthony, what exactly is the code are you trying to compile?
You
using any other libs besides SDL?
I was curious if I should contribute VC7 project files (the VC6 project
files currently attached do actually work if you take the 10 seconds or
to let VC7 import them into VC7) Also I can give simple directions for
configuring SDL with VC7 for the site to accompany my project files,
Just wondering if there is a need for this since the VC6 ones currently
convert fine.
Yes, please include vc7 files, because i often encounter the error
message, that vc7 could not convert some vc6 - project files. Sure, this
seems not to be the case for sdl, but it’s only some bytes more…
-----Urspr?ngliche Nachricht-----Von: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
James Turk
Gesendet: Montag, 7. Oktober 2002 06:04
An: sdl at libsdl.org
Betreff: [SDL] VC7 and SDL
I was curious if I should contribute VC7 project files (the VC6 project
files currently attached do actually work if you take the 10 seconds or
to let VC7 import them into VC7) Also I can give simple directions for
configuring SDL with VC7 for the site to accompany my project files,
Just wondering if there is a need for this since the VC6 ones currently
convert fine.
Yes, please include vc7 files, because i often encounter the error
message, that vc7 could not convert some vc6 - project files. Sure, this
seems not to be the case for sdl, but it’s only some bytes more…
-----Urspr?ngliche Nachricht-----
James Turk
I was curious if I should contribute VC7 project files (the VC6 project
files currently attached do actually work if you take the 10 seconds or
to let VC7 import them into VC7) Also I can give simple directions for
configuring SDL with VC7 for the site to accompany my project files,
Just wondering if there is a need for this since the VC6 ones currently
convert fine.
I was curious, how should I package the .sln and .vcproj files? I
figure I could either add a new zip file (similar to VisualC.zip). Or
just put the VC7 files in VisualC.zip along with the VC6 files. Also I
am writing an updated version of the VisualC.html file, and I was
wondering if that too should be a separate file, or just integrated with
the VC++5 and 6 directions. (I am rewriting it with my added project
files because there is a better way to do it for VC++7 that makes adding
the .lib files much easier.)> Von: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Gesendet: Montag, 7. Oktober 2002 06:04
An: sdl at libsdl.org
Betreff: [SDL] VC7 and SDL
I was curious, how should I package the .sln and .vcproj files? I
figure I could either add a new zip file (similar to VisualC.zip). Or
just put the VC7 files in VisualC.zip along with the VC6 files. Also I
am writing an updated version of the VisualC.html file, and I was
wondering if that too should be a separate file, or just integrated with
the VC++5 and 6 directions. (I am rewriting it with my added project
files because there is a better way to do it for VC++7 that makes adding
the .lib files much easier.)
Just write a new VC7 package and I’ll include it in the “extras” portion
of the SDL website.
See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment