Difference between Kernel32 and Win32API
I was trying to implement faq184-1767 (How to stop users running my app twice); but I get the error message "cannot find entry point SHOWWINDOW in DLL" when I reach the declaration.
Then I changed the decralation from
DECLARE LONG SHOWWINDOW IN Win32API LONG, LONG
to
DECLARE LONG SHOWWINDOW IN Kernel32 LONG, LONG
Now I am able to pass the declaration.
But as soon as I start a 2th instance of my program, again I am able to pass the declaration but get the message "cannot find entry point SHOWWINDOW in DLL" as soon as I try to call the function ShowWindow().
So what's the point here?
PS: I'm using W2k SP4
Thanks in advance
I was trying to implement faq184-1767 (How to stop users running my app twice); but I get the error message "cannot find entry point SHOWWINDOW in DLL" when I reach the declaration.
Then I changed the decralation from
DECLARE LONG SHOWWINDOW IN Win32API LONG, LONG
to
DECLARE LONG SHOWWINDOW IN Kernel32 LONG, LONG
Now I am able to pass the declaration.
But as soon as I start a 2th instance of my program, again I am able to pass the declaration but get the message "cannot find entry point SHOWWINDOW in DLL" as soon as I try to call the function ShowWindow().
So what's the point here?
PS: I'm using W2k SP4
Thanks in advance