Does it exist? :)
Or is there some way to avoid these kinds of compatibility issues without having to have 2 separate components in 2 projects for 2 types of computers?
Printable View
Does it exist? :)
Or is there some way to avoid these kinds of compatibility issues without having to have 2 separate components in 2 projects for 2 types of computers?
Yes, there are 64 bit versions of WMP.
Within your code, you could always determine the version of the OS, if it's a 32bit or 64 bit system, or even the other components/programs you are utilizing. Then depending on the versioning/system info you can determine which part of your code to run.Quote:
Or is there some way to avoid these kinds of compatibility issues without having to have 2 separate components in 2 projects for 2 types of computers?
Alright, that sounds like a better option.
But 1 question... i think i can find the code for returning the OS, but how do i tell the program to not initialize a component that it's incompatible with? Isn't that beyond my control?
[CODE]but how do i tell the program to not initialize a component that it's incompatible with? Isn't that beyond my control?[/QUOTE]
No, its not really beyond your control. Upon startup of your program, form, or where ever it is needed, you run your code to determine what OS is running, then based on the OS you can tell it which components to utilize. You could also create 2 separate forms, one for the 32bit version, and the other for the 64bit version, then upon initilization it will determine which form to open.
Got it, thanks so much for your help! :)