- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi,
I have a pointer/target question... I have a pointer in a dll module, and a target in anothermodule outside the dll. Every time I try to associate the pointer with the target, from the main program (which has access to both modules), I get the access-violation runtime error (#157). It seemsto me that, outside the dll,the pointer is being taken as an ordinary integer. Am I missing someadditional attributewhen I declare the variables?
I included a copy of the solution with this post. Thanks.
Link kopiert
1 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I think there's a compiler bug here - it is not properly dealing with the indirection needed when addressing a variable from a DLL. We may have missed the pointer assignment case.
Please submit this test to Intel Premier Support and ask that it be assigned to Steve Lionel.
Please submit this test to Intel Premier Support and ask that it be assigned to Steve Lionel.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite