1. Porting problems
- Posted by "Matt Z. Nunyabidness" <Prog_Matt at YAHOO.COM>
Aug 16, 1999
-
Last edited Aug 17, 1999
Hi,
I'm trying to port a program to Windows. In DOS, it uses Pete Eberlein's
DOS.E. But dos_interrupt which is used throughout is not supported on Win32.
Meanwhile, I found some file management routines in Kernel32.Dll. Namely
moveFileA and removeDirectoryA. But I don't know what parameters to pass.
Help, anyone?
- Matt
P.S. What do the Ex, A, and W extensions to C routine names mean?
2. Re: Porting problems
- Posted by Bernie Ryan <bwryan at PCOM.NET>
Aug 16, 1999
-
Last edited Aug 17, 1999
On Mon, 16 Aug 1999 20:09:55 -0400, Matt Z. Nunyabidness
>
>P.S. What do the Ex, A, and W extensions to C routine names mean?
The Ex stands for EXTRA parameters ( there is another function that has
less parameters with the same name ).
The A stands for ANSI ( or ASCII ) the strings used in this function are
standard ascii strings.
The W stands for WIDE the strings in this function use the unicode type
characters.
Bernie
3. Re: Porting problems
Okay, thx. Now I've got another problem. I got the params right and all, but
now I have trouble making directories. I have to step through this proc I
made:
procedure Wmkdir(sequence dr)
return c_func(createDirectory, {allocate_string(dr)})
end procedure
in it's entirety(even through the allocate_string()!), and THEN I can quit
trace mode and everything goes smoothly.