Jump to content
Software FX Community

256-color problem


User (Legacy)
 Share

Recommended Posts

I'm using ChartFX 98 Client/Server (version 4.0.10.0) within an application

that uses a whole bunch of COM objects.

Whenever the app runs in Windows NT 4.0 SP4 with a 256-color display driver,

and I close the app, the app's UI will shut down normally. However, the

app's process doesn't end itself. In fact, Task Manager shows that the

process will keep opening handles to two particular threads within itself,

until the process contains about 900 total handles (not just thread

handles). Even then, the process still won't shut down.

The strange thing is that when using a more-than-256-color display driver,

the process will shut down completely, without grabbing more thread handles.

Even stranger, the app will shut down completely in either Windows 98 or

Windows 2000, no matter how many colors the display driver can handle.

Does anyone have any idea what's going on? Please let me know if you do.

("Shut down and reboot" doesn't work, FYI.) :-)

Thanks,

- Chris

Link to comment
Share on other sites

Have you tried to create small app with nothing but a random chart ?

Have you tried in a WinNT SP6 box ?

--

Regards,

JC

SoftwareFX

"Chris Low" <lowca@sep.com> wrote in message

news:z5Spt49NBHA.1208@webserver1.softwarefx.com...

> I'm using ChartFX 98 Client/Server (version 4.0.10.0) within an

application

> that uses a whole bunch of COM objects.

>

> Whenever the app runs in Windows NT 4.0 SP4 with a 256-color display

driver,

> and I close the app, the app's UI will shut down normally. However, the

> app's process doesn't end itself. In fact, Task Manager shows that the

> process will keep opening handles to two particular threads within itself,

> until the process contains about 900 total handles (not just thread

> handles). Even then, the process still won't shut down.

>

> The strange thing is that when using a more-than-256-color display driver,

> the process will shut down completely, without grabbing more thread

handles.

> Even stranger, the app will shut down completely in either Windows 98 or

> Windows 2000, no matter how many colors the display driver can handle.

>

> Does anyone have any idea what's going on? Please let me know if you do.

> ("Shut down and reboot" doesn't work, FYI.) :-)

>

> Thanks,

>

> - Chris

>

>

Link to comment
Share on other sites

> Have you tried to create small app with nothing but a random chart ?

Yes, I have. It seems to work fine if I just have a plain old ATL/WTL

dialog app with nothing but the chart in it. I'm still experimenting with

adding random data, calling OpenDataEx() and CloseData() multiple times,

etc.

> Have you tried in a WinNT SP6 box ?

Unfortunately, no. The chart may eventually be used in a much larger app

whose requirements state that it must support SP4. These requirements have

a fair amount of inertia behind them; they won't be changed unless a really

good reason is found. So, I'm stuck with attempting to solve the problem

under SP4.

- Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...