version_tracker for WhiskerReset ================================ - 10 March 2004 (RNC) CamCog's "Mark 1" controller has Advantech boards in with reversed inputs but not reversed outputs (I think) - shipped to Newcastle. WhiskerReset bug? - reverses on/off when talking to Advantech boards (i.e. everything comes on when you run WR; fine once server running) Quick fix: remove WhiskerReset from registry Run list. Relevant Advantech line read: short data = bReverseOutputs ? (short)0 : ~(short)0; ... so altered that (it looks backwards to me!). - Added note to effect that Amplicon, Advantech cards supported; ICS cards not (can't autodetect). - 5 Jan 2005 (MRFA) similarly, can't detect BNC hardware: so will be left "as is". - To add MFC support to a console app: http://www.codeproject.com/Tips/297862/Convert-Win32-Console-Application-to-MFC - Open your project. - In Project Menus --> Select MyApp Properties(MyApp -> name of my project) - In Configuration Properties -> General -> Use of MFC, select Use MFC in a Shared DLL option. - Add the following line in your stdafx.h file. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #endif #include #include // MFC core and standard components #include // MFC extensions #ifndef _AFX_NO_OLE_SUPPORT #include // MFC support for Internet Explorer 4 Common Controls #endif #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #include - 16 Dec 2011: removed duplicate DLL coding (it now links in source from WhiskerServer directly)