Win32

What is the status of win32 support at the moment?

And would it be possible to do a native build with cygwin/mingw32?

What is the status of win32 support at the moment?

It’s stable – supports WinNT using the GDI interface and Win95 using
DirectX

And would it be possible to do a native build with cygwin/mingw32?

Yes, though I haven’t done it.
Anybody here have pointers or hints on doing a native build with
cygwin/mingw32? If someone puts together a working native mingw32
toolchain for SDL, I’ll make it available at devolution.com

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Actually, I could not get win95 apps to run with directx, I got this error
message:

Couldn’t initialize SDL: DirectInputDevice::SetCooperativeLevel: Unknown DirectInput error: 0x80004001

Now that I think about it, it might lack of a joystick, but I doubt it. Anyone
have any other ideas?

Actually, I could not get win95 apps to run with directx, I got this error
message:

Couldn’t initialize SDL: DirectInputDevice::SetCooperativeLevel:
Unknown DirectInput error: 0x80004001

0x80004001 is DIERR_UNSUPPORTED

“The function called is not supported at this time. This value is equal
to the E_NOTIMPL standard COM return value.”

I have a program that converts the error messages from the DirectX
helpfiles to a HUGE switch statement reporting the correct error. (I did
this because the DX header files are completely incomprehensible.)

If anyone wants the resultant code, I have functions that decode
DirectDraw, DirectInput, and DirectSound errors from DX5. (Just email
me) I wouldn’t give out the original program because it’s embarassing. :wink:

-Chuck

Couldn’t initialize SDL: DirectInputDevice::SetCooperativeLevel: Unknown DirectInput error: 0x80004001

Do you have the latest version of DirectX?
Which version of DirectX do you have?

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Couldn’t initialize SDL: DirectInputDevice::SetCooperativeLevel:
Unknown DirectInput error: 0x80004001

Do you have the latest version of DirectX?

Uhh… I don’t know.

Which version of DirectX do you have?

4.05.00.0155, if you know what that means. :slight_smile:

-Chuck

And would it be possible to do a native build with cygwin/mingw32?

Yes! Grab the native compiler from
http://www.devolution.com/~slouken/SDL/Xmingw32/

Unpack it, unpack the SDL source, run the mingw32.bat script, cd to the
SDL source directory, and type “make”

It’s that simple. :slight_smile:
Oh, caveat, the compiler only works reliably on Windows NT.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/