O
OSVBNET
Guest
Hey,
Gonna detect if the platform is x86 or x64, have 2 code snippets, just confused which one to use, although both seem to work on Win10 x64:
1st:
If Environment.Is64BitOperatingSystem Then... Else...
2nd:
If Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath).ProcessorArchitecture = Reflection.ProcessorArchitecture.X86 Then... Else...
I don't remember why I used 2 in 2 similar apps, but I recall one had problem on some systems, can't remember which one always works, any advise please?
Continue reading...
Gonna detect if the platform is x86 or x64, have 2 code snippets, just confused which one to use, although both seem to work on Win10 x64:
1st:
If Environment.Is64BitOperatingSystem Then... Else...
2nd:
If Reflection.AssemblyName.GetAssemblyName(Application.ExecutablePath).ProcessorArchitecture = Reflection.ProcessorArchitecture.X86 Then... Else...
I don't remember why I used 2 in 2 similar apps, but I recall one had problem on some systems, can't remember which one always works, any advise please?
Continue reading...