![]() |
AW: Fehler "access violation" - keine Ahnung, warum...
Wo kann man die DLL und die C++ Bibliothek/API laden?
Will da mal reinschaun. gruss |
AW: Fehler "access violation" - keine Ahnung, warum...
Die DLL kann ich leider aus Copyrightgründen nicht rausgeben. Zudem habe ich keinen Quellcode der DLL, sondern nur die kompilierte Datei.
|
AW: Fehler "access violation" - keine Ahnung, warum...
Zitat:
Kein problem. gruss |
AW: Fehler "access violation" - keine Ahnung, warum...
Aber das entsprechende Headerfile kannst Du weitergeben? Oder war da gleich die Schnittstellenunit dabei (es sieht ja nicht danach aus)?
|
AW: Fehler "access violation" - keine Ahnung, warum...
Zitat:
Er sollte mal prüfen ob stdcall überhaupt für diese DLL in frage kommt. Selbst dann wenn die Rückgaben stimmen muss es nicht zwangsläufig korrekt sein. ![]() gruss |
AW: Fehler "access violation" - keine Ahnung, warum...
Da gibt es Einiges, was mir komisch vorkommt, daher ja meine Frage, ich habe keine Lust zu raten ;)
|
AW: Fehler "access violation" - keine Ahnung, warum...
Zitat:
Die Doku sagt folgendes für den Pointer, der an die Funktion COM_RbsManipulationReq übergeben wird:
Code:
typedef void * COM_Handle
Defines a handle to a PC->Hardware communication object. |
AW: Fehler "access violation" - keine Ahnung, warum...
Und was sagt die Doku zu den Funktionen?
|
AW: Fehler "access violation" - keine Ahnung, warum...
Das komplette Programm ist bis heute Morgen (mit anderem, umfangreicherem Record "Manipulationtag") gelaufen.
Eine andere Firmware auf der manipulationsbox erfordert aber ein abgespecktes Record, da die hardware sonst abstürzt (Funktion überladen). Ich habe außer dem kürzen des Records also nichts am Quellcode geändert. Seitdem kommt die accessviolation. Wenn ich das Record wieder um die herausgelöschten Felder erweitere, kommt der Fehler nicht mehr. |
AW: Fehler "access violation" - keine Ahnung, warum...
Zitat:
Code:
EXPORTDLL COM_RETURN EBEL_API COM_RbsManipulationReq ( COM_Handle handle,
COM_RbsManipulation manipulation ) Sets a RBS manipulation. Parameters: handle Pointer to a handle representing the interface instance. manipulation contains the RBS manipulation settings. Returns: COM_RETURN_OK Function executed successfully. COM_RETURN_InvalidHandle The handle is not a valid PC HW interface handle. COM_RETURN_Timeout The hardware is not responding. else Error code of the called function in the hardware. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:30 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