Installer question

My x64 port of InpOut32
Post Reply
Paul
New User
Posts: 2
Joined: Wed Aug 05, 2009 5:55 pm

Installer question

Post by Paul »

Since there is a separate inpout dll for 32 and 64 bit systems, will my .net winforms setup project require 2 versions, one for 32 and one for 64 bit? The user would download the correct version for their system.
User avatar
phil
Site Admin
Posts: 7664
Joined: Sun Apr 06, 2003 11:12 pm

Re: Installer question

Post by phil »

Yes its a bit complicated with .NET apps that can run either x64 or x86. To do it properly, you need both DLLs (x86 and x64) shipped with your app - and you need to work out which one to load at runtime.

If indeed you intend to let the app run natively (rather than forcing it to run in x86 mode no matter what CPU/OS its running on) then your app will have to work out which DLL to load at runtime based on the operating environment. I'm sure I have managed to do this and I think the example are on my download page but I'm not 1005 sure on that and its too late right now for me to go looking!

If you need assistance in working out which DLL to load dynamically, then give me a shout.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb NVME, 2x2TB WD Black (RAID1)
Paul
New User
Posts: 2
Joined: Wed Aug 05, 2009 5:55 pm

Re: Installer question

Post by Paul »

Ok, I think I've got it. I'm sure it will take some cut and try though to work it out.
Post Reply