|
-
May 27th, 2004, 02:32 PM
#1
GetLongPathNameA problems on WinNT
Gurus!
Is anyone familiar with this problem?
My application won't even start on Windows NT. The application crashes and this is the error message.
The procedure entry point GetLongPathNameA could not be located in the dynamic link library KERNEL32.dll
Any help or direction would be greatly appreciated.
Thanks.
-
May 27th, 2004, 03:17 PM
#2
Do you mean Windows NT 4.0?
GetLongPathName is not supported on NT 4.0, see MSDN:
Client: Included in Windows XP, Windows 2000 Professional, Windows Me, and Windows 98.
Server: Included in Windows Server 2003 and Windows 2000 Server.
A workaround (also from msdn):
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 utilizes other native functions on these systems. See the header file for details of the use of preprocessor directives that make the function available. If you do not have this header file, it can be obtained by downloading the most recent SDK from the SDK Update Site.
-
May 27th, 2004, 04:15 PM
#3
Marc, you the man!
Thanks dude!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|