Home > Archive > Delphi > March 2004 > Console mode app won't run on Window 98
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Console mode app won't run on Window 98
|
|
| Michael J. Gregg 2004-03-27, 12:21 am |
| I am compiling a console mode application on my Windows 2000 machine, and
when I try running this on a Windows 98
machine, I get an error about missing export SetVDMCurrentDirectories in
KERNEL32.DLL.
I know this is specific to Windows NT/2000/XP, so how to I create one EXE
that will run on Windows 98 as well?
Is there a way to have it run CHDIR() for Windows 98 and the below for
Windows NT/2000/XP??
procedure SetVDMCurrentDirectories(cPath : string); external
'kernel32.dll';
Thanks in advance.
| |
| Jamie 2004-03-27, 12:21 am |
| the Pascal langauge already has a Chdir function in it that should work
fine.
there is no need to use NT Kernal only calls.
Michael J. Gregg wrote:
> I am compiling a console mode application on my Windows 2000 machine, and
> when I try running this on a Windows 98
> machine, I get an error about missing export SetVDMCurrentDirectories in
> KERNEL32.DLL.
>
> I know this is specific to Windows NT/2000/XP, so how to I create one EXE
> that will run on Windows 98 as well?
>
> Is there a way to have it run CHDIR() for Windows 98 and the below for
> Windows NT/2000/XP??
>
> procedure SetVDMCurrentDirectories(cPath : string); external
> 'kernel32.dll';
>
> Thanks in advance.
>
>
>
|
|
|
|
|