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 » Fri Aug 07, 2009 3:15 am

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: 5871
Joined: Sun Apr 06, 2003 11:12 pm

Re: Installer question

Post by phil » Fri Aug 07, 2009 3:22 am

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, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

Paul
New User
Posts: 2
Joined: Wed Aug 05, 2009 5:55 pm

Re: Installer question

Post by Paul » Fri Aug 07, 2009 3:25 am

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

Post Reply