|
-
November 24th, 1999, 06:02 PM
#1
Error 453 - Can't find DLL entry point in kernel32
Would someone please help me with this:
I tried to use a simple API GetCurrentDirectory (after used API viewer to copy it to my module),
and run the program with only a call to that function, it failed with error 453, "Failed to find a DLL entry point in kernel32" .
How to solve this ?
Thanks.
-
November 25th, 1999, 02:40 AM
#2
Re: Error 453 - Can't find DLL entry point in kernel32
use VB's builtin CurDir function.
-
November 25th, 1999, 02:41 AM
#3
Re: Error 453 - Can't find DLL entry point in kernel32
...or use the CORRECT declare statement
Private Declare Function GetCurrentDirectory Lib "kernel32" Alias "GetCurrentDirectoryA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long
the APIViewer declare is wrong! Alias is incorrect
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
|