V verenadoll Apr 27, 2009 #1 Hello NG, how can i set the lastwritetime of a file using CompactFramework 3.5? Regards, Verena
C Carsten Unterberg Apr 28, 2009 #2 Hi Verena, Hello NG, how can i set the lastwritetime of a file using CompactFramework 3.5? Click to expand... try to use the SetFileTime-method from the WindowsCe-Api which you must P/Invoke in your application. [SetFileTime] http://msdn.microsoft.com/en-us/library/ms886812.aspx If you might have any question, please feel you to ask. Best regards, Carsten Unterberg | Test-Framework http://test-framework.blogspot.com/
Hi Verena, Hello NG, how can i set the lastwritetime of a file using CompactFramework 3.5? Click to expand... try to use the SetFileTime-method from the WindowsCe-Api which you must P/Invoke in your application. [SetFileTime] http://msdn.microsoft.com/en-us/library/ms886812.aspx If you might have any question, please feel you to ask. Best regards, Carsten Unterberg | Test-Framework http://test-framework.blogspot.com/
V verenadoll Apr 29, 2009 #3 Hello Carsten, thanks for the msdn-link. But i dont know how to use the api-call. maybe you can post an example. Regards, Verena
Hello Carsten, thanks for the msdn-link. But i dont know how to use the api-call. maybe you can post an example. Regards, Verena
C Chris Tacke, eMVP Apr 30, 2009 #4 I just did a search for "P/Invoke SetFileTime" and the first several results all look very relevant. -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com
I just did a search for "P/Invoke SetFileTime" and the first several results all look very relevant. -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com