Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

looking for sample code

Status
Not open for further replies.

daveatdbc

Technical User
Apr 20, 2010
7
CA
I am looking for sample code of using GetFileTime windows API in Powerbuilder v11.x.
 
Edit Source on a file, and between the

type prototypes

and

end prototypes

put a line similar to this...

FUNCTION ulong GetThreadLocale() LIBRARY "kernel32.dll"

Then in PowerBuilder, you can have...

long llVar

llVar = GetThreadLocale()



Take that code and replace the ulong with whatever the GetFileTime() returns. Likely use a datetime. And then if GetFileTime takes any arguments, add them to that line as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top