Error code 87
Posted on 2004-08-29
I've a program that needs to run on both WinXP and Win2k systems. However, it seems not to run on a Win2k system, as it generates a System Error Code 87 (ERROR_INVALID_PARAMETER). As i only have Delphi installed on a WinXP system, i cannot debug the program on the Win2k system.
The program doesn't directly use many lowlevel WinAPI procedures. It uses the RunningProcessesList from JCL and it reads and writes some values from the registry.
I really have no clue why it won't run on Win2k. My experience was that most API calls where supported by both WinXP and Win2k. Do you have some list with API calls that aren't supported by Win2k? Maybe i'll then find the causer of my problems.
Also a list with procedures that might trigger such a very undescriptive error message would be welcome...
Thanks in advance for any help!