LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

getfiledate for API

hello all,
 
I want to get creation date of file,CVI using GetFileTime() to get date of file,but I think it is last access time date.So I want using API function to get it.
When I using GetFileTime(HANDLE(*)FILE,CreationTime,NULL,NULL), CVI compiler display error.It will always using GetFileTime include utility.h.
Can I using this function just defined include windows.h?(I can't remove utility.h because I using Delay() and so on.)
 
Thanks for you help.
0 Kudos
Message 1 of 3
(3,388 Views)
Hi Danny,

See the
Calling a Windows SDK Function That Has the Same Name as a LabWindows/CVI Function KnowledgeBase as this should provide the answer you are looking for.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 3
(3,377 Views)
thanks.
0 Kudos
Message 3 of 3
(3,366 Views)