Archive

Archive for January, 2017

CFTPTransferDlg & CFTPTransferer v1.15

January 24, 2017 Comments off

Just to let everyone know that v1.15 of CFTPTransferDlg & CFTPTransferer has been released. Updates for this version include:

  • Updated copyright details
  • Updated the code to clean compile on VC 2010 to 2015
  • Replaced BOOL with bool throughout the codebase
  • Updated the code to clean compile using /analyze
  • Replaced NULL with nullptr throughout the codebase. This means that the code now requires VC 2010 at a minimum to compile.
  • Implemented support for send and receive timeouts
Advertisements
Categories: Web Site Updates

PStat v1.25

January 21, 2017 Comments off

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

  • Updated copyright details.
  • Updated the code to compile cleanly on VC 2010 – 2015.
  • Removed the VC6 style classwizard comments from the code.
  • Replaced NULL throughout the codebase with nullptr
  • Moved all the configuration values used by the CProgressThreadDlg class into a new CProgressThreadSettings class.
  • Added SAL annotations to all the code
  • Refactored all the setup code in CProgressThreadDlg::OnInitDialog into various virtual methods.
  • The progress control is now marked as paused when the confirm cancel messagebox is displayed.
  • Updated the sample app’s application icon
Categories: Web Site Updates

EnumWnd v1.02

January 17, 2017 Comments off

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

  • Updated copyright details.
  • Updated the code to now require at a minimum VC 2010.
  • Updated the code to clean compile in VC 2010 – 2015.
  • Removed the MinSize project configurations.
  • Updated the code to compile cleanly using /analyze.
  • Updated the code to include x64 build configurations.
  • Added SAL annotations to all the source code.
  • Replaced NULL throughout the codebase with nullptr.
Categories: Web Site Updates

EZView v1.04

January 15, 2017 Comments off

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

  • Updated copyright details.
  • Made EZView freeware instead of shareware. Now included in the zip file download is the source code for EZView
  • The binary included in the download is now compiled for x86 in Unicode mode and was compiled with VS 2015.
  • The source code has been updated to work with VS 2010 to VS 2015 and a VS 2010 solution has been included in the download.
  • Full screen mode now uses the monitor on which the app is currently showing to go full screen rather than always using the primary monitor.
  • Fixed bugs where the index of the image displayed would not get updated correctly when in fullscreen mode
  • The app now uses MFC Feature pack controls for the color pickers on the Options property sheet
  • The app now uses MFC Feature pack controls for selecting folders for the Open Folder and Move and Copy functionality.
  • Updated the CMyRecentFileList class which is used to display the file and folder MRU list to use the latest VS 2015 MFC source code from CRecentFileList.
  • The app now uses MFC feature pack classes for the menubar, toolbar & statusbar
  • The slideshow timer now no longer fires if a message box is being currently displayed by EZView.
  • Fixed a bug where the window would not refresh itself it the code failed to open a image when an existing image was already been shown.
  • Fixed a bug where the html help would not be displayed when you selected Help -> Help Index or F1 in the app.
  • When the user is prompted to show the first or last message image a task dialog is now shown which includes a don’t ask again checkbox
  • Added SAL annotations to all the code.
  • A double click in the view now enters / exits full screen mode.
  • Hitting escape when in full screen mode now exits full screen mode.
  • The filename of the current image is now shown in full screen mode even when the directory listing has not been retrieved.
Categories: Web Site Updates

A Comprehensive comparison of the MFC & ATL changes in VS 2017 RC compared to Visual Studio 2015 Update 3 (Part Two)

January 10, 2017 Comments off

This is the second part of a two-part blog post which compares MFC and ATL in VS 2017 RC with those in Visual Studio 2015. The first part of this blog post covered the changes in the header files. This follow-up blog post will cover the differences in the source code modules.

Please note that this review is based on the VS 2017 Release Candidate (Build 26014.00) which was released on December 15 2016.

As ATL is mostly a header only library you would expect almost all of the differences to be in the MFC “.cpp” source code files.

Ok, the changes are as follows:

src\atls\x64

  • This folder has been renamed from “amd64”.

src\mfc\x64

  • This folder has been renamed from “amd64”.

afxdatarecovery.cpp

afxeditbrowsectrl.cpp

  • Line 379: Fix for passing a parameter to CString::Format as an object instead of a C style string.

afxjumplist.cpp

  • Line 477, 486, 498: Fix for passing a parameter to TRACE1 as an object instead of a C style string.

afxlinkctrl.cpp

  • Line 114: Fix for passing a parameter to TRACE as an object instead of a C style string.

afxmousemanager.cpp

  • Line 121, 127: Fix for passing a parameter to TRACE as an object instead of a C style string.

afxribbonbar.cpp

afxribboncustomizedialog.cpp

  • Line 207: Fix for passing a parameter to CString::Format as an object instead of a C style string.

afxshowallbutton.cpp

  • Line 133: Fix for passing a parameter to CString::Format as an object instead of a C style string.

afxstatusbar.cpp

afxtagmanager.cpp

  • Line 196: Fix for passing a parameter to TRACE as an object instead of a C style string.

afxtoolbar.cpp

afxtoolbarslistpropertypage.cpp

  • Line 386, 452: Fix for passing a parameter to CString::Format as an object instead of a C style string.

afxtoolbarsmenupropertypage.cpp

  • Line 475, 523: Fix for passing a parameter to CString::Format as an object instead of a C style string.

afxusertool.cpp

  • Line 68: Fix for passing a parameter to TRACE as an object instead of a C style string.

afxvisualmanageroffice2007.cpp

  • Line 365: Fix for passing a parameter to TRACE as an object instead of a C style string.

afxvisualmanagerwindows7.cpp

  • Line 129: Fix for passing a parameter to TRACE as an object instead of a C style string.

ctlreg.cpp

  • Line 148: Fix for passing a parameter to TRACE as an object instead of a C style string.

dbcore.cpp

  • Line 67, 174, 180, 183: Fix for passing a parameter to TRACE as an object instead of a C style string.

oledlgs1.cpp

  • Line 692: Fix for passing a parameter to CString::Format as an object instead of a C style string.

oledoccl.cpp

  • Line 330: Fix for passing a parameter to CString::Format as an object instead of a C style string.

olemisc.cpp

  • Line 990-991: Fix for passing two parameters to _snwprintf_s as an object instead of a OLECHAR* string.

olereg.cpp

  • Line 555, 589: Fix for passing a parameter to TRACE as an object instead of a C style string.

oleunk.cpp

  • Line 202, 235, 257, 286, 309, 394, 396: Fix for passing a parameter to TRACE as an object instead of a C style string.

winctrl3.cpp

  • Line 65-77: Logic in _AFX_CHECKLIST_STATE::GetCheckBoxSize has been reworked to check the version number of comctrl32 in addition to the existing call to IsAppThemed. I was unable to find any information about this bug fix.

So, as you can see very fix bug fixes and some C++ conformance fixes in the MFC source code.

Hopefully this review was useful for those developers thinking of migrating their large ATL / MFC code base to the latest version of Visual Studio. Happy coding.

Categories: Programming

CAVICapWnd v1.13

January 8, 2017 Comments off

Just to let everyone know that an update to v1.13 of CAVICapWnd has been released. Updates for this version include:

  • Updated copyright details
  • Updated the code to compile cleanly in VC 2008 – VC 2015.
  • Fixed a bug in CAVICapWnd::GetVersion where it was using the message WM_CAP_DRIVER_GET_NAME instead of WM_CAP_DRIVER_GET_VERSION
  • Added SAL annotations to all the code
Categories: Web Site Updates

DtWinVer v2.03

January 3, 2017 Comments off

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

  • Updated copyright details.
  • Renamed IsWindows10Redstone2 method to IsWindows10Version1703.
Categories: Web Site Updates