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

GetProcAddress: come si usa?

1 view
Skip to first unread message

Ciccio

unread,
Apr 16, 2010, 2:48:30 AM4/16/10
to
Vorrei chiamare questa funzione con GetProcAddress e CallWindowProc ma
non sò come si fà:

Dim idh As IMAGE_DOS_HEADER
Dim abExeFile() As Byte
and this call:
CopyMemory idh, abExeFile(0), Len(idh)

ho provato questo:

MyLib = LoadLibrary("kernel32")
MyCopyMem= GetProcAddress(MyLib , "CopyMemory")
CallWindowProcA(MyCopyMem, idh, abExeFile(0), Len(idh) )

ma mi dà errore di tipo.

Grazie per qualsiasi consiglio.
Ciao

0 new messages