Hi,
When I am closing application .exe (not in coding), i am facing this problem,
The Error Message is..
"SAMPLEEXE (exe name)
this program has performed an illegal operation and will be shutdown.
If the problem persists, contact the program vendor."
In Details,
"SAMPLEEXE caused an invalid page fault in module msvbvm60.dll at 0137:66024bc8....regsiters:..." and it is going on like this.

I suspect, this might be a memory problem, in which, loaded objects are not released. This error is not coming when i am coding, but it comes only when running the exe file.

The problem situation is...
I have an Exe file, SampleExe and a ActiveX dll file SampleDll. Both SampleDll file and SampleExe file are using some ActiveX controls. From a menu of SampleExe, I am calling SampleDll file.
I Opened dll file and then Closed it. Now, I am closing my SampleExe file by close button of Mdi form. Now, after closing this application (SampleExe), i am getting the above error. I am forced to shut down my system. I have created my application in NT m/c and I hv installed it in 95 M/cs.

Could anybody, Pls. tell me what is the problem and how to solve it..?

Actually the size of the DLL is 1.7MB. Will this be the cause of the problem. If so, what will be the optimum size of an Activex control ?

Luv,
Md. Rafik. B.

[Edited by mdrafik on 07-28-2000 at 10:46 AM]