1

First off, I do most my programming as tools for myself and know just enough to get by. I wrote a VB program which uses a vender's API DLL to communicate with a serial port device. I used VS Express. Works great on my Win 7 32-bit machine.

I handed my program off to a co-worker (didn't expect to share my tools) who has a XP 32-bit machine. I get a windows error that it "is not a valid win32 application" I made sure to include the vender's DLL with my executable.

I really don't want to have to install VS Express on his computer as that is how I have solved the issue in the past. I could use some pointers on cross-platform compatibility. Not looking to make my software universal, just to get it running on a XP machine.

Thank you,

BrettOC
  • 53
  • 1
  • 2
  • 12
  • 2
    Did you check the .Net Framework version your application is built against? [There's already a question discussing the supported versions on XP](http://stackoverflow.com/q/4204194/205233). – Filburt May 07 '14 at 20:04
  • Go smack your IT department for having an unsupported OS out in the field. – Joel Coehoorn May 07 '14 at 21:25

1 Answers1

-1

Xp only supports up to .NET framework 2.0 if you want to use it on all versions of xp. So you need to check with version he has or you want to support. So if you want it to run on Xp "All versions" you need to make it .NET framework 2.0

Is .NET 4.0 Compatible with Windows XP SP2 or below?

Community
  • 1
  • 1
Creator
  • 1,502
  • 4
  • 17
  • 30