A Problem with Turnkeying under Win95



Martin Bitter had a problem with a program he wrote using my class libraries which he turnkeyed. It ran fine on his Win98 machine as well as on my NT machine, but gave an error when run under Win95. With the help of Martin and Tom Zimmer we determined that in order to run properly under Win95, the InitCommonControls call had to be done before using the common controls. Since this function is a simple RET on Win98 and NT, Win95 must do some additional initialization with this function. Whatever the reason, if you are using Win95, be sure to add a
Call InitCommonControls
line to your program prior to accessing any of the controls.


Author: Jeff Kelm, (how to contact me)
URL: http://www.concentric.net/~jkelm/win32for/win95bug.htm
(Modified: 2005-01-07)