Archive for August, 2010

COSMCtrl v1.10

August 24, 2010 Comments off

Just to let everyone know that v1.10 of COSMCtrl has been released. Updates for this version include:

  • Fixed a bug in COSMCtrl::SetZoom which caused drawing glitches in the zoom bar
  • Made the default animation speed a bit faster
  • To avoid requirements for client code to create the control using the WS_CLIPCHILDREN style, the control now forces a repaint on the zoom bar control and copyright control if they are in the clipping rect.
  • Fixed some maths problems in the COSMCtrl::HandleLButtonDownStandard when calculating the position of mouse clicks on the zoom bar
  • The sample app now includes support for logging tracks to a GPX file. This setting can be enabled in the GPS Settings dialog by checking the "Enable GPX Track Log" checkbox. When this is enabled, then every time a new GPRMC NMEA sentence arrives from your GPS device it will be logged. The location of the GPX file is "CSIDL_LOCAL_APPDATA"\OSMCtrlApp\GPX\YYYYMMDD.gpx". For performance reasons the GPX file will only be written to file every 60th new waypoint. For most GPS devices this should correspond to every minute. The code will also ensure that if the app is closed and restarted, that any existing data in today’s GPX file will be preserved and a new track will be created. The code also correctly handles when a GPS fix has been lost under which it will create a new track segment in the GPX file. To support GPX files, a very simple set of MFC classes have been developed in the header file "OSMCtrlGPX.H". These classes use MSXML 6 for its XML parsing and saving requirements. Please note that these classes are not comprehensive wrappers for all the features of GPX files, but just enough to support the COSMCtrl GPX requirements. If there is demand out there I may consider extending these classes to support all the features of GPX files.
  • The sample app now has support for importing GPX tracks and displaying them on the map. This can be achieved using the "File -> Import GPX File" menu item.
Categories: Web Site Updates

COSMCtrl v1.09

August 16, 2010 Comments off

Just to let everyone know that v1.09 of COSMCtrl has been released. Updates for this version include:

  • The control now includes support for fractional zoom levels.
  • The control now uses the Windows 7 Animation API’s if available for zoom level and position changes. If you do not require animations then this behavior can be disabled.
  • Updated the sample app to compile cleanly on VC 2010. Also because the sample app now takes advantage of the Windows 7 Animation API’s, the project files shipped in the sample are now for VC 2010 as this includes the Windows 7 SDK in the box. You can still use the control in older versions of VC though (>= VC 2005). For example if you want to exclude the Windows 7 Animation support, you can define the "COSMCTRL_NOANIMATION" preprocessor value.
  • Included some missing status bar prompts for menu items in the sample app
Categories: Web Site Updates

DtWinVer v1.82

August 8, 2010 Comments off

Just to let everyone know that v1.82 of DtWinVer has been released. Updates for this version include:

  • The code now differentiates between having the Hyper-V tools installed and the actual Hyper-V OS. Thanks to Scott Pawloski for reporting this issue. 
  • I have removed the CE 3 & 4 and Dos And Win16 binaries from the zip file. The code should still compile if you still have these ancient compilers installed.
Categories: Web Site Updates

CNTService v1.77

August 1, 2010 Comments off

Just to let everyone know that v1.77 of CNTService has been released. This major update for this framework includes the following updates:

  • Updated copyright details.
  • Updated the project settings to more modern default values.
  • Fixed a trailing "," in the definition of the "ELErrorLoggingDetail" enum
  • Updated the sample app to compile cleanly on VC 2010
  • Updated the test code in App.cpp to only use the necessary rights when connecting to the SCM or opening a specific service. This avoids Access denied errors on Windows Vista or later when UAC is enabled. Thanks to Jan Bartels for reporting this issue.
  • Added support for the following SERVICE_CONTROL_* defines: SERVICE_CONTROL_SESSIONCHANGE, SERVICE_CONTROL_PRESHUTDOWN, SERVICE_CONTROL_TIMECHANGE & SERVICE_CONTROL_TRIGGEREVENT. These control values represent new functionality for services on Windows Vista and Windows 7
  • Added a comment to a #include to tell users to recompile TestSrvMsg if they get a compile error for "ntserv_msg.h". Thanks to Paul Pignon for reporting this issue.
  • Updated code to compile correctly using _ATL_CSTRING_EXPLICIT_CONSTRUCTORS define
  • Fixed a minor issue in CNTService::Win32ErrorToString with the use of printf format identifiers
  • Reworked all the internal heap memory management code to use ATL::CHeapPtr
  • Reworked all the internal registry management code to use ATL::CRegKey
  • The CNTService::m_bRegisterEventLogSource value has been renamed to m_bEventLogSource. This is a breaking change and may require your service code to be updated if you reference this value from your code.
  • CNTService::Install has been refactored. Internally now this function calls InstallEventLogSource and InstallServiceConfiguration
  • Fixed a minor issue in CNTEventLogSource::Report with the use of printf format identifiers
  • CNTEventLogSource::Install method now supports CategoryCount, CategoryMessageFile and ParameterMessageFile settings for event sources
  • Included notes in documentation about using MSI in preference to "/install" / "/uninstall"
  • Added support for NotifyServiceStatusChange
  • Added support for ControlServiceEx
  • CEventLogRecord::m_TimeGenerated and CEventLogRecord::m_TimeWritten values are now simple DWORD values instead of CTime instances.
  • Added support for GetEventLogInformation
  • Carried out a thorough code review to ensure all functionality is correct and functional on the Windows 7 and later
Categories: Web Site Updates