![]() |
AW: Funktionsaufruf aus C-dll mit Access Violation
Und mit explizitem Cast?
Delphi-Quellcode:
procedure TForm1.Button2Click(Sender: TObject);
VAR RetCode : LONGINT; User : STRING = 'user'; PWD : STRING = 'password'; ToolName : STRING = 'M1ComTest'; begin // Target Connect RetCode := TARGET_Connect ( MyTarget, PChar(User), PChar(PWD), PChar(ToolName) ); Label3.Caption := 'ReturnCode : ' + IntToStr ( RetCode ); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:53 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz