FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.12k stars 143 forks source link

About Windows 2000 compatibility #298

Closed NovaRain closed 3 months ago

NovaRain commented 3 months ago

Probably not an actual issue. I tried the "win2000_ia32_msvc" build on Win2000 SP4 on my Pentium II machine, but got an "Entry Point Not Found" error on game start:

The procedure entry point GetModuleHandleExW could not be located in the dynamic link library KERNEL32.dll.

Dependency Walker reports there are three functions not present in Win2000's KERNEL32.dll: depwalk

To make cnc-ddraw work on Win2000, one has to either patch cnc-ddraw with KDW/fcwin2k or install the kernel extender, so it's not exactly vanilla Win2000 compatible (as with only official updates).

FunkyFr3sh commented 3 months ago

Ah, it broke when i switched from the mingw build to the visual studio build. I only got Win XP RTM installed right now for testing and it does work there so I thought it would work on Win 2000 too.

This here is from a newer mingw build, does this one still work for you?

ddraw.zip

NovaRain commented 3 months ago

This here is from a newer mingw build, does this one still work for you?

ddraw.zip

Weird, I got error 404 from the link.

FunkyFr3sh commented 3 months ago

Same here...

And this one? ddraw.zip

Mirror: https://pixeldrain.com/u/7JLEr6Jh

NovaRain commented 3 months ago

Mirror: https://pixeldrain.com/u/7JLEr6Jh

OK, the new MinGW build now works on my Win2000 SP4 machine.

FunkyFr3sh commented 3 months ago

Mirror: https://pixeldrain.com/u/7JLEr6Jh

OK, the new MinGW build now works on my Win2000 SP4 machine.

Nice, thanks for testing. I'll update the file in the latest release with it.