ZwQueryInformationProcess is a function that would be written into the proper version of ntdll.dll file for use with your un-named little program. And since that function is NOT in the win98se version ntdll.dll, I would suggest that your un-named little program was not meant to be run on the 9x platform at all, and there is no way to fix that situation that I know of especially with no more info to go on. Were we to know the name of the 'little program' perhaps someone with experiance in that direction could then suggest an alternative program/method that does work for 98 boxes.
Use
http://www.dependencywalker.com/ program to investigate the functions available in your dll and exe files.