Hello,
I have some problems using c++ DLLs in delphi. My problems only appear when i doubleclick the compiled .exe and not when i use run (F9) in delphi.
I get the following error: "Access violation at address: 77F6CC66 in module ntdll.dll" when the dll is getting loaded.
I have tried different ways with different success (i am trying to load 2 dlls):
+ implicit linking: 2 dlls are loaded at the begining, the error occurs once the first function is called. But when I load only 1 dll (and therefore call only 1 function) the program works fine.
+explicit linking: 1st dll is loaded, function is called, dll is freed, 2nd dll is loaded, 2nd function is called, dll is freed, this works fine the first time, if i redo this step (without exiting program) i get the error.
+explicit linking: both dll are loaded using a procedure, i get an immediate error.
Thanks.
Nicolas
I have some problems using c++ DLLs in delphi. My problems only appear when i doubleclick the compiled .exe and not when i use run (F9) in delphi.
I get the following error: "Access violation at address: 77F6CC66 in module ntdll.dll" when the dll is getting loaded.
I have tried different ways with different success (i am trying to load 2 dlls):
+ implicit linking: 2 dlls are loaded at the begining, the error occurs once the first function is called. But when I load only 1 dll (and therefore call only 1 function) the program works fine.
+explicit linking: 1st dll is loaded, function is called, dll is freed, 2nd dll is loaded, 2nd function is called, dll is freed, this works fine the first time, if i redo this step (without exiting program) i get the error.
+explicit linking: both dll are loaded using a procedure, i get an immediate error.
Thanks.
Nicolas