Re: Sub Classing Application Unload Problem.

From: Klaus H. Probst (usenet001_at_vbbox.com)
Date: 07/12/04


Date: Mon, 12 Jul 2004 10:23:38 -0700

Likely not; if it was a subclassing issue you'd probably be causing a GPF on
exit.

Look at your form usage logic. There's probably on you're not unloading
correctly.

-- 
Klaus H. Probst, MVP
   http://www.vbbox.com/
"Ian" <ian.killoran@sage.com> wrote in message
news:e59yuFDaEHA.644@tk2msftngp13.phx.gbl...
> Hi,
>
> I am having a problem with my application not unloading properly.
>
> It is a standard VB6 application.
> It sits in the System tray. Uses ADO and also connects to a bespoke
written
> COM object.
>
> The only funny thing that I am doing is sub classing using WindowProc to
> control the max and min size of my Forms and this code is in a module.
>
> When I exit the application then it gets removed from the system tray.
> However if you then look in Task Manager under Processes it is still
> running.
>
> I don't know what is causing this but the only thing I can think is it is
> the sub classing.
>
> Ian
>
>