Ok in a previous thread I had an question about dlls on which my programm based.
With DEPENDS.EXE from the Visual Studio I worked out that my programm (a dll) need some system dlls. I have two versions of my programm, one older which works on any system and a much newer version which I think only works on win xp and up, not on 2000.
I found out that my newer version has one more system dll on which it is based, than the older version. And that was advapi32.dll so I looked into my source code for code which loads the advapi32.dll and found it in RegQueryValueExA, I deleted that entry and now my old version and my new version are based on the same system dlls.
But my new version does not run even with this modifications. So I think it has to do with the version of the system dlls the two versions of my programm use.
But my question how to replace old system dlls which newer ones (KERNEL32.DLL, USER32.DLL, WS2_32.DLL)? I tested it on one of my pcs. I replace the dlls on a 2000 system with the dlls of a XP system the result was a total crash of the 2000 system.
Any ideas? I mean I want to use the new features I have in my newer programm but not on the cost of uncompatibility.
Hope you understand my very bad english