|
From: Keith M. <kei...@to...> - 2006-12-01 15:14:49
|
Lennart Borgman wrote: > Thanks, after reading you message I looked a bit more in the header > files. Nothing was wrong there, but I was surprised that GetLongPathName > was not declared in NT4. I had _WIN32_WINNT set to 0x0400. From: http://msdn2.microsoft.com/en-gb/library/aa364980.aspx |Windows NT and Windows 95: Include an additional header file called |NewAPIs.h to make GetLongPathName available on these operating systems. |The function is not implemented natively, but by a wrapper that uses |other native functions on these systems. For details about using |preprocessor directives that make the function available, see the |header file. If you do not have this header file, you can download |the most recent SDK from the SDK Update Site. Further down the page, the supported platforms are listed: |Client: Requires Windows Vista, Windows XP, Windows 2000 Professional, | Windows Me, or Windows 98. |Server: Requires Windows Server "Longhorn", Windows Server 2003, | or Windows 2000 Server Regards, Keith. |