Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetProcAddress isn't retrieving in VB DLL

12 views
Skip to first unread message

Gordon

unread,
Dec 11, 2002, 11:58:32 PM12/11/02
to
GetProcAddress isn't retrieving the Proc Address in the VB DLL I've made. Do
you know if it's a limitaion of VB DLLs?


Mike Deakins

unread,
Dec 12, 2002, 1:27:36 AM12/12/02
to
Can VB create real DLLs? You can create an ActiveX DLL, which is not a real
DLL.

--
Mike J. Deakins
For the shining star in my skies.


Max Bolingbroke

unread,
Dec 12, 2002, 2:43:29 AM12/12/02
to
Gordon wrote:
> GetProcAddress isn't retrieving the Proc Address in the VB DLL I've
> made. Do you know if it's a limitaion of VB DLLs?

You do know VB dlls are ActiveX dlls, so they only export the register
server functions?

If you want to make "real" DLLs, you need an addon that does that.. I think
powervb.com has one, not sure.

--
Max Bolingbroke MCP
http://www.bolingbroke.net/novanet/

Max Bolingbroke

unread,
Dec 12, 2002, 2:44:20 AM12/12/02
to
Gordon wrote:
> GetProcAddress isn't retrieving the Proc Address in the VB DLL I've
> made. Do you know if it's a limitaion of VB DLLs?

I found that addin:
http://www.vbadvance.com

HTH

Egbert Nierop (MVP for IIS)

unread,
Dec 12, 2002, 5:52:04 AM12/12/02
to
"Mike Deakins" <mikedeakins(nospam)@hotmail.com> wrote in message
news:uDDOQeaoCHA.2404@TK2MSFTNGP10...

> Can VB create real DLLs? You can create an ActiveX DLL, which is not a
real
> DLL.

VB 5 and 6 create *real* DLLs with real assembly code compiled by VC 5 (the
compiler backend). The only point is that VB does not allow you to specify
exports. Somebody did the hack by using a stub vb6.exe (the compiler) and
creating an export file which LINK.EXE uses.

--

Mike Deakins

unread,
Dec 13, 2002, 4:59:23 AM12/13/02
to
Yes, it's real x86 instructions in the DLL's code, but the DLL only exports
these functions:

DllCanUnloadNow
DllGetClassObject
DllRegisterServer
DllUnregisterServer

Therefore I said it's not a real DLL.

--
Mike J. Deakins
For my shining star in my skies.


0 new messages