You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a valid DLL as 32bit version and 64bit version (LoadLibrary works). Your code works perfect with the 32bit DLL, but when I try to load the 64bit DLL, my application completely crashes when executing
Thank you for your response. I've tried dev, unfortunately the same error occured. But when I deactivate the code lines after "if Module.IsDLL then ..." (which is "true" for my 64bit-DLL) and directly execute
Probably this is your issue. You don't have to execute the ExeEntry line just comment out DllEntry(...) one. But keep in mind that your DLL could have something important in DLL_PROCESS_ATTACH section so you could face troubles sooner or later.
I have a valid DLL as 32bit version and 64bit version (LoadLibrary works). Your code works perfect with the 32bit DLL, but when I try to load the 64bit DLL, my application completely crashes when executing
successfull := DllEntry(HINST(code), DLL_PROCESS_ATTACH, nil);
Tested with XE2 and 10.2.
The text was updated successfully, but these errors were encountered: