Skip to main content

Looking for assistance in using CodeBridge to call several Windows routines, GetFileTime, FindFirstFileA, ShellExecuteA.

Need to define copy code to match C header file parameters, like LPCSTR, LPWIN32_FIND_DATAA.

Get File Time

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfiletime

Similar to the Header-to-COPY utility in NetExpress H2cpy. 

https://docs.rocketsoftware.com/bundle/netexpress_ug_51wrappack1_html/page/prh2cp.htm

Planning to use with 64bit RM COBOL 12.20.
Thanks, John



------------------------------
John Aukema
Senior Software Developer
Parklane Computer Systems
London CA
------------------------------

Looking for assistance in using CodeBridge to call several Windows routines, GetFileTime, FindFirstFileA, ShellExecuteA.

Need to define copy code to match C header file parameters, like LPCSTR, LPWIN32_FIND_DATAA.

Get File Time

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfiletime

Similar to the Header-to-COPY utility in NetExpress H2cpy. 

https://docs.rocketsoftware.com/bundle/netexpress_ug_51wrappack1_html/page/prh2cp.htm

Planning to use with 64bit RM COBOL 12.20.
Thanks, John



------------------------------
John Aukema
Senior Software Developer
Parklane Computer Systems
London CA
------------------------------

Hi John,

Please find attached a working example that uses GetFileTime. I hoping that you will find this helpful. 

Thanks,

Dave



------------------------------
David Darnell
Technical Support Specialist
Rocket Forum Shared Account
------------------------------