Friday, 8 October 2010

Microsoft Dynamics AX 2009 WinAPIServer & WinAPI Class

There are lots of uses for the WinAPI & WinAPIServer classes in Dynamics AX. Two static methods I have found useful recently are;

WinAPIServer::copyFile(...);
WinAPIServer::deleteFile(...);


There isnt a moveFile method however just using the copy then delete method works well. The advantage of these WinAPIServer class methods over the WinAPI class methods are that file permissions are handled by the methods themselves.

No comments:

Post a Comment

Thanks for the feedback!