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
{{ message }}
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
There is no predefined _WIN64 symbol in C#, therefore the first condition will always evaluate to false. This results in the method always loading the 32-bit dll.
The text was updated successfully, but these errors were encountered:
For c# examples, I have set up the project with 4 configurations (64b debug, 64b release, 32b debug, 32b release).
If you open the project with vistual studio, you should be able to choose the correct configuration which set the _WIN64 symbol.
In the following file Scanner.csproj, the symbol is defined here :
You're right this constant is not defined in Assembler.csproj and is not defined for the x64 Debug configuration in the Scanner example.
I'll mark this as bug. For now, you can manually edit the DefineConstants to add the _WIN64 symbol.
The following block of code inside
loadEngine()
is not functional:There is no predefined _WIN64 symbol in C#, therefore the first condition will always evaluate to false. This results in the method always loading the 32-bit dll.
The text was updated successfully, but these errors were encountered: