openframeworks/openFrameworks — pull request #1139 by prettyextreme (2012-04-04 17:36:39+00:00)
Title: Develop

Fixes issues #1136 and #1137 in ofSerial.

Initializes bInited = false in the constructor (1136) and uses SetupDiGetDeviceRegistryPropertyA() in enumerateWin32Ports() to avoid WCHAR strings. (1137)

Tested with VS2010 in debug mode. No longer crashes on application exit when no serial device connected, and now properly enumerates serial ports on windows machine.