Registering a Win32 DLL
-
How can I register a Win32 DLL in regisret so that it can be accessible to a VB client?
-
How can I register a Win32 DLL in regisret so that it can be accessible to a VB client?
regsvr32 dllname this command will register the dll in the registry... This is done for COM inproc dll. I guess you dont have to register a win32 dll to be accessed by vb client. The dll should be in the path or in the same folder where the vb binary lies. Besides it is same as using "user32.dll" of windows.
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
-
regsvr32 dllname this command will register the dll in the registry... This is done for COM inproc dll. I guess you dont have to register a win32 dll to be accessed by vb client. The dll should be in the path or in the same folder where the vb binary lies. Besides it is same as using "user32.dll" of windows.
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
If I register using regsvr32 it gives error the it cannot "Find DllEntryPoint"
-
If I register using regsvr32 it gives error the it cannot "Find DllEntryPoint"
That means that its not a com dll, so no point in registring it, I dont know how to do it in VB but i guess you will find plenty of examples how to use win32 dll in vb.
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
-
How can I register a Win32 DLL in regisret so that it can be accessible to a VB client?
Write the dll as a com component and do what the other person said. John
-
That means that its not a com dll, so no point in registring it, I dont know how to do it in VB but i guess you will find plenty of examples how to use win32 dll in vb.
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
For VB6 there's an add-in which lets you generate definitions and stuff to allow direct use of the Win32 API when appropriate. Essentially, you have a code module within which the DLL exported entry points are declared, along with their parameters. You can also alias the entry points, to give them friendly names, then use them like regular VB sub/functions. Steve S (Me, write in VB? - No, you must be confusing me with someone else...)
-
Write the dll as a com component and do what the other person said. John
John M. Drescher wrote: what the other person said The other person??
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
-
John M. Drescher wrote: what the other person said The other person??
"When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)
You, Sorry I was in a hurry and did not copy your name... John