[Migrated content. Thread originally posted on 17 January 2006]
Hello Everyone,has anyone an example of using WinAPI to check existence and create/rename folder?
thanks in Advance, Giovanni
[Migrated content. Thread originally posted on 17 January 2006]
Hello Everyone,[Migrated content. Thread originally posted on 17 January 2006]
Hello Everyone,
77 mydir pic x(1024).
77 secflags pic x(4) comp-n.
...
PROCEDURE DIVISION
CALL "KERNEL32.DLL@WINAPI".
STRING "C:\\SomeDir" LOW-VALUES DELIMITED BY SIZE
INTO mydir.
MOVE 0 TO secflags.
CALL "CreateDirectoryA" USING
BY REFERENCE mydir
BY VALUE secflags.
CANCEL "KERNEL32.DLL".
[Migrated content. Thread originally posted on 17 January 2006]
Hello Everyone,
77 mydir pic x(1024).
77 secflags pic x(4) comp-n.
...
PROCEDURE DIVISION
CALL "KERNEL32.DLL@WINAPI".
STRING "C:\\SomeDir" LOW-VALUES DELIMITED BY SIZE
INTO mydir.
MOVE 0 TO secflags.
CALL "CreateDirectoryA" USING
BY REFERENCE mydir
BY VALUE secflags.
CANCEL "KERNEL32.DLL".
[Migrated content. Thread originally posted on 17 January 2006]
Hello Everyone,Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.