I was able to build and run preview 14 build on VS2005 with a bit of
experimenting. Here are the steps I used. Everything was sort of glitchy
at first and I had to do a couple of rebuilds to clear things out.
Note: I don't have a radio :+> and can only play wave files.

1. remove adodb, and directx references in PowerSDR project

2. add adodb and directx references back in

3. add VS2005 include and lib paths for directx headers and lib

4. There was a serial io exception that I couldn't fix at first.
Fix by changing GetAvailCOMPorts in setup.cs. GetPortNames is _so_
much easier. I think this all has to do with the keyer stuff.
Before I did this I had commented out the i/o exception, the program
ran but barely, 100% cpu, no scope trace, but it played a file.
After I made this change it ran normally, <= 20% cpu, scope working, etc.

private ArrayList GetAvailCOMPorts()
{
    ArrayList a = new ArrayList();
    string[] s = System.IO.Ports.SerialPort.GetPortNames();
    a.AddRange(s);
    return a;
}

5. The above is not a "port" to VS2005 but it gives you an idea of what's
involved. There are a lot of deprecation warnings in the c libraries, and
a few other warnings but these are probably easily fixed. I got a "cross
threading" crash in the splash screen but that went away after a while (?).
I got a "LoaderLock" exception and have fun looking that one up, but this
also seemed to vanish, I did nothing to fix it. I know you are not porting
this app anytime soon, but I think these are encouraging results. Since
I don't have the radio, this experiment may be invalid and I apologize in
advance for errors.




Reply via email to