*** For Programmers Only ***

*** Professional Programmer ***
*** Do Not Do This At Home ***

I haven't worked on powersdr for over 1 year. Just
for fun tonight I took the 1.10.4 code and built it with
vs2005. Here's how I did it.

1. add the line

CheckForIllegalCrossThreadCalls = false;

at line 876 in console.cs.

2. put a try/catch block around the line

nativeEvents = myWaitCommCallback.EndInvoke(ar);

in serialstream.cs (this is about line 1264). There
was an invalid handle exception here. I would just
drop the entire serial project since .net 2.0 has a 
serialport class, but I wanted to keep changes to 
the min.

3. I had a null value exception in fwc_midi.cs at
about line 527 and I put a try/catch block around that.
I took the try/catch block out later, and the exception
hasn't reoccurred. 

That's it, except for installing the directx sdk 
for the dsound.h and dsound.lib.

Results:

It seems a little noisier than the vs2003 build but not
much. There seem to be a few more pops in the audio. I 
think it sounds better at 96000 rate with delta-44.
I am comparing to 1.10.2 official version. I don't
transmit so I couldn't say anything about that. This
is just for fun and I wouldn't recommend running software
built this way.











_______________________________________________
FlexRadio mailing list
[email protected]
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archive Link: http://www.mail-archive.com/flexradio%40flex-radio.biz/
FlexRadio Knowledge Base: http://kb.flex-radio.com/
FlexRadio Homepage: http://www.flex-radio.com/

Reply via email to