ofSerial fix?

I dont know if this is fixed in the svn (is there any public svn btw?) but my v0.05 didnt set up ofSerial correct under win32 (codeblocks), i had to change this, but now it works fine with arduino and everything…

in ofSerial::setup(string portName, int baud) just under #ifdef TARGET_WIN32 change the CreateFile-line to:

char devicename[64];
sprintf (devicename, “\\.\%s”, portName.c_str());
hComm=CreateFile(devicename,GENERIC_READ|GENERIC_WRITE,0,0,OPEN_EXISTING,0,0);

Thanks. This just saved me. I was having issues recognizing Atmega8 NG boards with values like COM13, COM17, etc.