Click to See Complete Forum and Search --> : Platform-dependent bug?
David Hait
April 12th, 1999, 11:28 AM
My App-wizard generated SDI w/FormView application runs on my computers (NT4.0 and Win98) but not on my friend's computer (Win95, 16MB). When the application starts, he gets "Unable to Create Empty Document" and an assertion failure. VC6.0 Debug build. Automation enabled (though not being used for now).
Could he not have enough memory? Seems unlikely, looking at his resource monitor (and we shut everything down that's non-essential.)
Any ideas? (Most appreciated!)
David J. Hait
LALeonard
April 12th, 1999, 01:02 PM
When I get that message, it's usually because my view has a control that can't be created. For example, do you use a grid control that is on your machine but not your friend's?
Another thing to look at is the common controls DLL - make sure you have the same version.
LA Leonard - Definitive Solutions, Inc.
David Hait
April 13th, 1999, 12:43 PM
Thanks for the hint! It turns out that the culprit was COMCTL32.DLL, a set of common controls that are installed with IE4 (which my friend does not have). DateTimePicker was the missing control.
Interestingly (at least to me), this DLL did not show up on the Dependency Walker, I suppose because it is loaded dynamically at runtime when the dialog box is created. I guess you just have to *know* what you are missing.
--David
David J. Hait
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.