Need help getting propellent.dll and C sharp working together
turbosupra
Posts: 1,088
I'm not sure what changed here, but I used to be able to call the propellent dll inside of c sharp (Visual Studio 2008/Win XP) and query my USB ports and get a response from a port with a version number, among some other serial info.
I tried this today at work and it is not working (Visual Studio 2012/Win 7 64bit). Is there a compatibility issue with 64 bit OS's or something else? I'm going to go home and look for my old app, but I'm not too confident I will find it.
If anyone has a small demo app to query the com ports and get the return value from the prop, that'd be even better.
Thanks
I tried this today at work and it is not working (Visual Studio 2012/Win 7 64bit). Is there a compatibility issue with 64 bit OS's or something else? I'm going to go home and look for my old app, but I'm not too confident I will find it.
If anyone has a small demo app to query the com ports and get the return value from the prop, that'd be even better.
Thanks
Comments
Anyway, I got it working and the code is a little sloppy, so I want to clean it up first and post it in case anyone else has this question. I don't know how many of you have any interest in .net and c sharp, but maybe this will help someone?
The only thing I'd like to get rid of is the propellent dll port search splash screen and the message box window, which I don't know of a way to suppress? Maybe parallax could add a switch in their propellent.dll code to suppress those both or make them generic if you didn't want to advertise your hardware components?
___________________________