[archive] C$Fileinfo

[Migrated content. Thread originally posted on 30 September 2005]

Hello everyone,
I'm woandering about can I do a lookalike C$FILEINFO in a thin client environment. I mean C$FILEINFO doesen't support the
@[DISPLAY]: notation, so in if I've to check the presence of a certain file on a client path, I've to launch a C$SYSTEM with
csys-desktop attribute setted and the redirect it'output into a text file to parse. Not much handy and really slow.
Has someone an alternative idea to work it out?
Thanks In Advance and have a nice day, Giovanni
Parents
  • I am using the sample pretty much as provided for this and after getting a good call to kernel32.dll

    SET ENVIRONMENT "DLL_CONVENTION" TO "1"
    CALL "@[DISPLAY]:kernel32.dll"
    on exception go to dll-load-error.

    I am still getting a program missing or inaccessible error when calling FindFirstFileA.

    string "C:\ssoft800.kbd"
    low-values
    delimited by size into tmp-string.

    call "FindFirstFileA" using
    by reference tmp-string
    by reference win32-find-data
    giving ff-search-handle.

    I have set CODE_CASE to 0 in my cobol config, but that is default anyway.

    The only catch is that our system is installed on Unix but our run time is in Windows. I am on XP.
Reply
  • I am using the sample pretty much as provided for this and after getting a good call to kernel32.dll

    SET ENVIRONMENT "DLL_CONVENTION" TO "1"
    CALL "@[DISPLAY]:kernel32.dll"
    on exception go to dll-load-error.

    I am still getting a program missing or inaccessible error when calling FindFirstFileA.

    string "C:\ssoft800.kbd"
    low-values
    delimited by size into tmp-string.

    call "FindFirstFileA" using
    by reference tmp-string
    by reference win32-find-data
    giving ff-search-handle.

    I have set CODE_CASE to 0 in my cobol config, but that is default anyway.

    The only catch is that our system is installed on Unix but our run time is in Windows. I am on XP.
Children
No Data