PDA

Click to See Complete Forum and Search --> : Win32 API vs. Kernel32API


tum
May 31st, 2000, 01:23 AM
I am trying to register my program as a service, so I used the sample code that is supplied by this site to do that (http://www.vb-world.net/tips/tip135.html)
I get this error when I run my program using this code:

run-time error '451':
Can't find DLL entry point RegisterServiceProcess in kernel32

So I looked at the comments, and someone else had this same problem, and the response to this was:

Try Looking in the Win32 API instead of the Kernal API.

But how do I do that?

May 31st, 2000, 02:07 AM
I think that you have to use the win32 Lib instead of kernal32