
App fails when creating/showing Modeless Dialog
Hi
Thanks for your comments thus far.
I am distributing the Release build. What is peculiar is that I cannot
reproduce this problem on another machine which is similarly configured (NT4
sp3, etc..). Clearly there must be some difference between these 2 machines.
The more likely scenario seems to be that there is some problem with the
controls that I have placed on the dialog itself. These are the following,
along with the file and version that I am distributing in order to supply
the functionality
SSTab Control tabctl32.ocx 5.01.4319
MSFlexGrid msflxgrd.ocx 5.01.4319
Slider comctl32.ocx 5.01.4319
Besides these, I have a standard combo box, several edit controls, and the
OK and Cancel buttons. Do I appear to be installing the correct controls. Am
I missing something?
TIA
Charlie
Quote:
> It sounds like you are distributing a debug build. Not all ASSERT()
> failures mean that there is something critically wrong. If your user says
> ignore to the runtime ASSERT does the application crash?
> If not, you can solve the problem by simply changing the Build...Set
Active
> Configuration to release from the DevStudio menu. The release build
should
> also have a smaller footprint and run faster.
> If her system hangs, well... You could install the MFC souce code (an
> installation option) and look at line 3130 of wincore.cpp. And see what
it
> is ASSERTing on. Ditto for oocsite.cpp line 652.
> >Hi
> >I have an SDI in VC++ 5.0 into which I have recently introduced a
modeless
> >dialog. This dialog includes an SSTab control, an MSFlexgrid Control, a
> >Slider Control, and several other Edit and Combo controls. I think I have
> >included and registered all of the necessary libraries (.ocx files and
.dll
> >files). I have one user who has attempted to install the app and execute
> it.
> >During the initialization it gives her the following 'Debug Assertion
> >Failed' message:
> >occsite.cpp
> >line 652
> >If she presses 'ignore' the app finishes initializing and seems to work
ok,
> >until she attempts to show the modeless dialog, at which point she
receives
> >another 'Debug Assertion failed' message with the following:
> >wincore.cpp
> >line 3130.
> >The odd thing is that this app works fine on 2 other stations where I
have
> >installed it/developed it, so it points to a distributed component of the
> >app, most specifically MFC (I think).
> >Is there anyone out there who can provide some helpful hints??
> >Cheers & TIA
> >Charlie