English
Regulars table & Café

GetProcAddress.

 


Description:

with GetProcAddress becomes The address of/ one function inside the DLL determined




Deklaration:

Def GetProcAddress(2) !Kernel32, GetProcAddress




Parameter:

1.Parameter: lever the DLL
2.Parameter: Memory-Variable, The whom names the function contains



Return Value:

0 with failure, otherwise address the function

Examples:

CompileMarkSeparation
Beispiel ab XProfan 8
benötigt SKControl.dll
Definitionen
Def LoadLibrary(1) !"Kernel32", "LoadLibraryA"
Def GetProcAddress(2) !"Kernel32", "GetProcAddress"
Def FreeLibrary(1) !"Kernel32", "FreeLibrary"
Deklarationen
Declare hSKControl&
Declare SKCtrl_InitDll&, SKCtrl_DeInitDll&, SKCtrl_InfoBox&
DLL laden (entspricht UseDLL)
hSKControl& = LoadLibrary("SKControl.dll")

If hSKControl& nur wenn die DLL auch gefunden wurde

    Funktionsadressen ermitteln
    SKCtrl_InitDll& = GetProcAddress(hSKControl&, "SKCtrl_InitDll")
    SKCtrl_DeInitDll& = GetProcAddress(hSKControl&, "SKCtrl_DeInitDll")
    SKCtrl_InfoBox& = GetProcAddress(hSKControl&, "SKCtrl_InfoBox")

Else

    End

EndIf

Funktionen direkt aufrufen
Call(SKCtrl_InitDll&)
Call(SKCtrl_InfoBox&)
Call(SKCtrl_DeInitDll&)
DLL freigeben, entspricht FreeDLL
FreeLibrary(hSKC
&)

[keywords:4b9389bb7c]
Funktionsadresse Call
[/keywords:4b9389bb7c]
 
05/23/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.354 Views

Untitledvor 0 min.
iF12/29/12

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie