CnCNet / ts-ddraw

Rewrite of cnc-ddraw with Tiberian Sun as the target
397 stars 44 forks source link

ddraw.dll can't be loaded #13

Closed keyile closed 5 years ago

keyile commented 5 years ago

I'm using Win10 and having trouble with black screen and no menu problems. So I put the ddraw.dll into the game directory, but the problems retains, and I don't see the FPS, either. I have tried some other ddraw.dll, and they also can't work. Maybe the DLL isn't loaded at all? Why does this happen?

I'm using the lateset win10 and the game version is 1.006. Thanks!!

dkeetonx commented 5 years ago

You should make sure that no other compatibility options are enabled. Enter the properties of each executable in your game directory and make sure all options in the compatibility tab are disabled and they are all run as Windows 10.

keyile commented 5 years ago

Thanks for your reply! I have solved the problem!

The real problem for me is that I have the ddraw.dll in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLs in my registry, so the program can't use the patched version. Deleting this entry, the problems are gone.

Thanks again for your wonderful job!

FunkyFr3sh commented 5 years ago

@sourcerunner are you from china? Do you have 360 anti-virus?