In the documentation 64-bit Installation Limitations the following is said:
You cannot load/use 64-bit DLLs in the
[Code]section, because Windows does not allow 32-bit processes to load 64-bit DLLs (and vice versa). A 32-bit process can, however, launch 64-bit EXEs. Use the Exec function or the[Run]section to do that.
Here LoadDLL it is said that LoadDLL function is deprecated and there's a link to Using DLLs and .NET assemblies instead. But there's nothing about bitness or LoadDLL function in here. Why would I need to use the LoadDLL function anyway and is there a way to use 64-bit DLLs in my [Code] section?