1. Porting problems

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?

new topic     » topic index » view message » categorize

2. Re: Porting problems

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

new topic     » goto parent     » topic index » view message » categorize

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu