Visual Studio 2010

  • strict warning: Non-static method GalleryDataCache::put() should not be called statically in /home1/draperfa/public_html/gallery2_core/embed.php on line 32.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 85.
  • strict warning: Non-static method GalleryEmbed::getEmbedPathByHttpRequest() should not be called statically in /home1/draperfa/public_html/gallery2_core/embed.php on line 36.
  • strict warning: Non-static method GalleryUtilities::getRequestVariablesNoPrefix() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 1092.
  • strict warning: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 289.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 875.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 879.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 293.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 708.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 714.
  • strict warning: Non-static method GalleryEmbed::init() should not be called statically in /home1/draperfa/public_html/sites/all/modules/gallery/gallery_base.inc on line 134.
  • strict warning: Non-static method GalleryDataCache::containsKey() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 94.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 203.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 46.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 47.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 48.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 49.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryModule.class on line 21.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 55.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 21.
  • strict warning: Non-static method GalleryUtilities::getRequestVariables() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 150.
  • strict warning: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 242.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 875.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 879.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 246.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 708.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 714.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 152.
  • strict warning: Non-static method GalleryTranslator::getSupportedLanguageCode() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 154.
  • strict warning: Non-static method GalleryTranslator::getLanguageData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryTranslator.class on line 414.
  • strict warning: Non-static method GalleryUtilities::strToUpper() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryTranslator.class on line 418.
  • strict warning: Non-static method GalleryDataCache::put() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 103.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 85.
  • strict warning: Non-static method GalleryEmbed::isCompatibleWithEmbedApi() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 107.
  • strict warning: Non-static method GalleryEmbed::getApiVersion() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 61.
  • strict warning: Non-static method GalleryUtilities::isCompatibleWithApi() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 61.
  • strict warning: Non-static method GalleryDataCache::containsKey() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 128.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 203.
  • strict warning: call_user_func() expects parameter 1 to be a valid callback, non-static method RewriteSimpleHelper::loadItemIdFromPath() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/rewrite/classes/RewriteUrlGenerator.class on line 103.
  • strict warning: Non-static method GalleryUtilities::getRequestVariables() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/rewrite/classes/RewriteSimpleHelper.class on line 38.
  • strict warning: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 242.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 875.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 879.
  • strict warning: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 242.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 875.
  • strict warning: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 879.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 246.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 708.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 714.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 708.
  • strict warning: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUtilities.class on line 714.
  • strict warning: Non-static method GalleryCoreApi::getAllFactoryImplementationIds() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 179.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 187.
  • strict warning: Non-static method GalleryFactoryHelper_simple::getAllImplementationIds() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 188.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getFactoryData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 213.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getSingleton() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 63.
  • strict warning: Non-static method GalleryCoreApi::newFactoryInstanceById() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 186.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 174.
  • strict warning: Non-static method GalleryFactoryHelper_simple::newInstanceById() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 175.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getFactoryData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 191.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getSingleton() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 63.
  • strict warning: Non-static method GalleryFactoryHelper_simple::newInstance() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 201.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getFactoryData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 141.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getSingleton() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 63.
  • strict warning: Non-static method GalleryCoreApi::newFactoryInstanceById() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 186.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 174.
  • strict warning: Non-static method GalleryFactoryHelper_simple::newInstanceById() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 175.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getFactoryData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 191.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getSingleton() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 63.
  • strict warning: Non-static method GalleryFactoryHelper_simple::newInstance() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 201.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getFactoryData() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 141.
  • strict warning: Non-static method GalleryFactoryHelper_simple::_getSingleton() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 63.
  • strict warning: Non-static method GalleryCoreApi::getCodeBasePath() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 169.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryFactoryHelper_simple.class on line 175.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/httpauth/classes/HttpAuthPlugin.class on line 21.
  • strict warning: Non-static method GalleryCoreApi::getAnonymousUserId() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 203.
  • strict warning: Non-static method GalleryCoreApi::getPluginParameter() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 3078.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 300.
  • strict warning: Non-static method GalleryPluginHelper_simple::getParameter() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 302.
  • strict warning: Non-static method GalleryPluginHelper_simple::_fetchAllParameters() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryPluginHelper_simple.class on line 222.
  • strict warning: Non-static method GalleryDataCache::containsKey() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryPluginHelper_simple.class on line 281.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 203.
  • strict warning: Non-static method GalleryDataCache::get() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryPluginHelper_simple.class on line 282.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 186.
  • strict warning: Non-static method GalleryCoreApi::loadEntitiesById() should not be called statically in /home1/draperfa/public_html/gallery2_core/init.inc on line 208.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 2360.
  • strict warning: Non-static method GalleryEntityHelper_simple::loadEntitiesById() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryCoreApi.class on line 2361.
  • strict warning: Non-static method GalleryDataCache::containsKey() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryEntityHelper_simple.class on line 53.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 203.
  • strict warning: Non-static method GalleryDataCache::getFromDisk() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryEntityHelper_simple.class on line 56.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 273.
  • strict warning: Non-static method GalleryDataCache::getCachePath() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 280.
  • strict warning: Non-static method GalleryDataCache::getCacheTuple() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 405.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 287.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUser.class on line 21.
  • strict warning: Non-static method GalleryCoreApi::requireOnce() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEntity.class on line 21.
  • strict warning: Declaration of GalleryUser::create() should be compatible with GalleryEntity::create() in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUser.class on line 42.
  • strict warning: Declaration of GalleryUser::save() should be compatible with GalleryEntity::save($postEvent = true, $setAclId = NULL) in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryUser.class on line 42.
  • strict warning: Non-static method GalleryDataCache::put() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryEntityHelper_simple.class on line 95.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 85.
  • strict warning: Non-static method GalleryUtilities::isA() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/helpers/GalleryEntityHelper_simple.class on line 118.
  • strict warning: Non-static method GalleryDataCache::put() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryEmbed.class on line 133.
  • strict warning: Non-static method GalleryDataCache::_getCache() should not be called statically in /home1/draperfa/public_html/gallery2_core/modules/core/classes/GalleryDataCache.class on line 85.
  • strict warning: Non-static method GalleryCoreApi::getMapEntry() should not be called statically in /home1/draperfa/public_html/sites/all/modules/gallery/gallery_user.inc on line 616.
  • warning: mysqli_real_connect(): (42000/1044): Access denied for user 'draperfa_draper'@'localhost' to database 'draperfa_dratekgallery2' in /home1/draperfa/public_html/gallery2_core/lib/adodb/drivers/adodb-mysqli.inc.php on line 109.
  • warning: Creating default object from empty value in /home1/draperfa/public_html/sites/all/modules/mailhandler/mailhandler.module on line 123.

I actually like using Visual C++, and have for some time.  While I also like Code::Blocks, VC++ is the easiest way to get going for Windows development.  And since they started releasing the Express editions, cost isn't much of an issue.

I recently installed VC++ 2010 Express, and while there are a number of nice things about it (Intellisense seems better, for example,) there is an issue that really frustrates me.  As someone who develops in an environment where I constantly use proprietary libraries, I need the IDE to know where these libraries are located.  Previous versions allowed you to add these directories via the Tools->Options->Projects and Settings->VC++ Directories setting.  This has now been deprecated, favoring per-project directories.  It is still possible to adjust the global directories, though I don't believe it is as straight-forward as it should be.  In order to set directories to be used for ALL projects, you must first have a project open in the IDE.  Next, select View->Property Manager from the menu (you may need to select Tools->Settings->Expert Settings to have this option visible).  From here, expand one of the configurations and right-click the Microsoft.cpp.<platform>.user property page and select Properties.

You will now be able to select VC++ Directories and edit the global directories, just as you had in previous versions.

Note that you only need to do this in one configuration (ie. Debug or Release in the above example) and it will be applied to all.

While this does, in fact, work and isn't terribly difficult (once you figure out where to find it), I am still upset that the Visual Studio team thought this was a good idea.  First let's try to examine their logic for this illogical move: to prevent casual users from putting every library directory into every project.  There are reasons why this can be considered a good idea, but if the change was made to benefit more advanced users, then why?  It was ALREADY POSSIBLE via the project settings, using the Additional Includes and Additional Libraries settings.  These settings were, and still are, per-configuration, but the point is, advanced developers would only set the global directories to those that would be used all the time, then adjust the project directories to those needed for the given project.  In nearly any professional environment, the development team will have some custom libraries that they include in most all projects.  I have custom graphics and math libraries that I include in all of my projects, save for some simple test programs I write on occasion.

My feeling is that by changing the location of the global directories, the Visual Studio team is frustrating many of the professional developers and alienating the hobbyists.  Bad move, Microsoft.