Detecting if Windows is version 8 or 8.1 [duplicate] - winapi

This question already has answers here:
How can I detect Windows 8.1 in a Desktop application
(4 answers)
Closed 9 years ago.
Is there any way we can detect "Windows8 to Windows8.1 Upgrade" programatically?
I need one of my application to detect that user has done a OS upgrade?

You want the new Windows Version Helper functions.
Alternatively, use plain old GetVersionEx and the information it puts in the OSVERSIONINFOEX object.
Two minutes of Googling could have gotten you this.

Related

How to simulate iOS app in Windows 10 [duplicate]

This question already has answers here:
Can ios simulator can be run in Windows
(3 answers)
Closed 5 years ago.
I want to simulate iOS application in my windows laptop. Can anyone suggest me a simulator? Since I'm new to Cameron I want to develop a native application
I can simulate Android but I can't simulate iOS on Windows.
Apple only allows their tool chain to run on MacOS. There are 3 ways you can acheive this:
Buy a Mac: You can probably find a relatively cheap, used Mac Mini to use as a build host
Set up MacOS in VM: I know some have used a virtual machine and set up MacOS inside it. I have no experience with this, but I imagine it's not going to be easy. Also, I don't think it in accordance with the terms of use of MacOS to do this.
Use a cloud provider: You can use something like MacInCloud to rent computing power on a Mac.

VB6 to check which OS is running [duplicate]

This question already has answers here:
C++ Check if Windows 10
(4 answers)
Closed 6 years ago.
I have a legacy VB6 application where I'm trying to look up the OS that is running on the machine using the OSVERIONINFOEX function. When the application is run out of IDE, it's telling me that my OS is XP Major Version = 5 and Minor Version = 1, however, when it's run from the executable it tells me that the OS is Windows 8, but it's actually Windows 10. I have not updated the code to Windows 10 but is there a reason why it's giving me two different results why it's doing that?
I suspect that the VB6 IDE is running with certain compatibility flags set, so it thinks the OS is XP, which your program (running from the IDE) then also sees. Outside the IDE the .EXE runs alone and then there may be no such flags or different flags.

How to install xcode in windows 10? [duplicate]

This question already has answers here:
To install Xcode in Windows XP
(3 answers)
Closed 7 years ago.
Is it possible to download Xcode in windows guys? can you give me some good links in details on how to install it?
thanks.
Xcode is produced by Apple for Apple hardware, so you are out of luck.
When Swift is open sourced, you'll probably be able to use it with the various IDE's which are out there.
Only way to get XCode to run in windows 10 is to create a virtual machine for OS X inside of your windows 10 OS. This can be done via VirtualBox, which is free. Now unfortunately, since it is VM, it is going to run a lot slower than if it was on its native OS, so I would not recommend going this route unless you have a really good machine, so your better options are looking into hackintosh's, or actual Apple hardware. I myself recommend actual Apple hardware because things go wrong all the time with hackintosh's whenever Apple updates

check OS version windows phone 7 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to get OS version number?
How to get the current OS version of Windows Phone?
I have a question:
is it possible to check a wp7 device's OS version? I want to know, because I'm creating a sort of distributing app, where users, based on their OS version, and privileges can connect to the BETA marketplace and download certain apps from there. So if someone doesn't have a compatable OS, they get a message notifying them of this and locking certain apps. Is this even possible, because the OS version is not found in the Microsoft.Phone.Info.DeviceStatus class, only firm- and hardware versions.
Any suggestions?
You can also get the Windows Phone Operating System Version number from Environment.OSVersion.
string OSVersion = Environment.OSVersion.Version.ToString();
Just to elaborate on Saurabh's answer - you can find a useful information such as an example and usage information about the API here:
Environment.OSVersion

windows phone 7 + how to programmatically launch an app from another app [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
How can I launch a Windows Phone 7 app programmatically?
How can I programmatically launch an app from another app either in Windows Phone 7 or 7.1
Please help.
Regards.
EDIT 1 : Can I use Launchers and Choosers for launching apps. If yes how this can be done.
I'm afraid that you can't do that.
What you can do is access launchers and choosers that the OS provide but you can't access anything of a third party
Windows Mobile 7 does not have Intents like android, no apps can register mime types for their use as of now.

Resources