Autor Beitrag
Karstadt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 174

Windows 2000 / XP
Delphi 7 Pro
BeitragVerfasst: Mi 12.10.05 09:47 
Hier ist die Funktion aus einer DLL von VB:

Visual Basic

Function:

Declare Function BiSetStatusBackWnd Lib "EpsStmApi3.Dll" _
(ByVal nHandle As Long, ByVal hWnd As Long, ByRef lpStatus As Long) _
As Long

Aufruf rtn = BiSetStatusBackWnd(m_hApi, ButnStatus.hWnd <-Button!, m_Status)


Delphi:

function BiGetStatus(m_hApi , getstatus : longint) : longint; external 'EpsStmApi3.dll';


Wie kann ich die in Delphi einbauen? Bzw. Was bedeutet hier hWnd

Dank


...nächsten Tag. Problem gelöst. Ich habe die Funktion falsch deklariert in Delphi.

ByRef lpStatus heist var ipStatus. Int (Anfängerfehler) :(