Archive

Archive for November, 2008

EnumSerialPorts v1.19

November 29, 2008 Comments off

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

  • Addition of a ninth and hopefully final method to enumerate serial ports. The function is called "UsingRegistry" and enumerates the ports by examining the registry location at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM. Thanks to Martin Oberhuber for prompting this update.
  • Fixed a bug where the last error value was not being preserved in CEnumerateSerial::UsingComDB.
Advertisement
Categories: Web Site Updates

EnumSerialPorts v1.18

November 23, 2008 Comments off

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

  • Updated code to compile correctly using _ATL_CSTRING_EXPLICIT_CONSTRUCTORS define
  • The code now only supports VC 2005 or later.
  • Code now compiles cleanly using Code Analysis (/analyze)
  • Yes, Addition of a another method called "UsingComDB" to enumerate serial ports!. This function uses the so called "COM Database" functions which are part of the Windows DDK which device drivers can use to support claiming an unused port number when the device driver is being installed. Please note that the list returning from this function will only report used port numbers. The device may or may not be actually present, just that the associated port number is currently "claimed". Thanks to Dmitry Nikitin for prompting this very nice addition. The code now supports a total of 8 different ways to enumerate serial ports!
Categories: Web Site Updates

StartX v1.06

November 12, 2008 Comments off

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

  • Code now compiles cleanly using Code Analysis (/analyze)
  • Updated code to compile correctly using _ATL_CSTRING_EXPLICIT_CONSTRUCTORS define
  • The code has now been updated to support VC 2005 or later only.
  • StartX can now set the process affinity mask via the new AFFINITY command line option. The value you provide here is the value passed to SetProcessAffinityMask. So for example if you wanted to limit the new process to only run on the 2nd and 3rd CPU only of a computer then you would use the command line "/AFFINITY6". i.e. 0x2 & 0x4. Probably the most common value you would use for this would be "/AFFINITY1" which would limit the process to run on the first CPU only. Please note that the value you provide on the command line should be decimal and not hexadecimal. Thanks to "Cobus" for prompting this update.
Categories: Web Site Updates

AA+ v1.32

November 10, 2008 1 comment

Just to let everyone know that v1.32 of AA+ has been released. Updates for this version include:

  • Fixed a bug in CAAElliptical::Caulculate(double JD, const CAAEllipticalObjectElements& elements) in the calculation of the heliocentric rectangular ecliptical, the heliocentric ecliptical latitude and the heliocentric ecliptical longitude coordinates. The code incorrectly used the value "omega" instead of "w" in its calculation of the value "u". Unfortunately there is no worked examples in Jean Meeus’s book for these particular values, hence resulting in my coding errors. Thanks to Carsten A. Arnholm for reporting this bug.
Categories: Web Site Updates

CMapi v1.22

November 6, 2008 Comments off

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

  • Updated the zip file to remove the now defunct PJNConv.h header file
  • The sample app now uses DPAPI to encrypt the profile & password configuration settings
Categories: Web Site Updates

CPJNSMTPConnection v2.82

November 6, 2008 Comments off

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

  • For best compatibility purposes with existing SMTP mail servers, all message headers which include email addresses are now not Q encoded. Thanks to Christian Egging for reporting this issue.
  • Optimized use of CT2A class throughout the code
Categories: Web Site Updates

CPJNSMTPConnection v2.81

November 2, 2008 Comments off

Just to let everyone know that v2.81 of CPJNSMTPConnection has been released. Updates for this version include:

  • Improvements to CPJNSMTPAddress constructor which takes a single string. The code now removes redundant quotes.
  • CPJNSMTPAddress::GetRegularFormat now forms the regular form of the email address before it Q encodes it.
  • The sample app now uses DPAPI to encrypt the username & password configuration settings.
  • The sample app is now linked against the latest OpenSSL v0.9.8i dlls.
  • Updated coding references in the html documentation. In addition the zip file now includes the OpenSSL dlls. Thanks to Michael Grove for reporting this issues.
Categories: Web Site Updates

CScintillaCtrl, CScintillaView & CScintillaDoc v1.22

November 1, 2008 Comments off

Just to let everyone know that v1.22 of CScintillaCtrl, CScintillaView & CScintillaDoc has been released. Updates for this version include:

  • Updated class to work with Scintilla v1.77. New messages wrapped include: SCI_GETCHARACTERPOINTER, SCI_SETKEYSUNICODE & SCI_GETKEYSUNICODE
  • Reworked all the key Unicode functions which expose string length management and reimplemented them to use CStringW output parameters. Equivalent ASCII versions have also been provided. This new approach helps to raise the level of abstraction provided by the wrapper class. In the process the need for the GetLineEx function has been removed. Thanks to Alexei Letov for prompting this update.
Categories: Web Site Updates