In the program, in order to get the current working directory, the API function getCurrentDirectory is used, and the tool API Text Viewer is used to define:
Public Declare Function GetCurrentDirectory LIB "Kernel 32" (Byval Lpbuffer AS String) AS LONG
Results "Real Time Error '453', no DLL Entry Point GetCurrentDirectory in Kernel32", the standard can also be wrong at the time, and this function is just called in the compiled VC program. So use the VC to open the kernel32.dll file, find the entry function, find two functions of getCurrentDirectorya and getCurrentDirectoryW, change the function defined as:
Public Declare Function GetCurrentDirectorya LIB "Kernel 32" (Byval Lpbuffer AS String) As long
The program passed.
Note: The operating system is 98 second edition