|
-
January 25th, 2000, 09:16 AM
#1
IPF on release of ActiveX DLL object reference
Development Environment:
VB6SP3 EE on Windows98SE
Third Party Objects in Use:
Mabry FTPx v1.08.000
Mabry RAS v1.08.000
Symptoms:
Sometimes in VB IDE, sometimes in compiled binary on development machine, and sometimes on production machine I receive an Invalid Page Fault caused:
by VB in VB.exe
by MyApplication in FTPX.dll
by VB in KERNEL32.dll
after setting
m_objFtp = nothing
I am confident that I am not making any method calls after I release the object reference. I am aware of similar cases involving internal references in the IN_PROCESS_SERVER's Object not being cleaned up/released properly ala Microsoft KB articles:
Q196026 - PRB: Firing Event in Second Thread Causes IPF or GPF
Q190519 - BUG: UserControl Causes VB IDE to Crash on Shutdown
Q189156 - BUG: Crash When Closing Application That Uses ActiveX DLL
Any specific solutions to the problem would be much appreciated.
Cheers,
Rob
-
January 25th, 2000, 02:44 PM
#2
Re: IPF on release of ActiveX DLL object reference
I had a similar side effect using the applink tcp control. My application sometimes was crashing after the set obj=nothing with no reason. Check to see if you have closed the ftp connection before setting your object to nothing or if your ftp control tries to make any asynchronous activities (like trying to connect).
-
January 25th, 2000, 02:55 PM
#3
Re: IPF on release of ActiveX DLL object reference
I have definately closed the ftp connection since the action to release the object is called from the done event of the disconnection from the remote server itself.
And nope, I am not trying to reference it after I have released the reference.
-
January 25th, 2000, 03:19 PM
#4
Re: IPF on release of ActiveX DLL object reference
I just got a demo copy of the ftp control that you are using and tested it. I made the same call that you did and tested a lot. I had no crash in my application. The only think I can imagine is that you are using an old version of wsock32.dll and you need a Service Pack (if you are using NT) or that your client uses an old version so you will have to check it. Sorry if this is not much of help.
-
January 25th, 2000, 04:34 PM
#5
Re: IPF on release of ActiveX DLL object reference
My application was the same way until I integrated the Mabry RAS control into the application as well. And even then, it only happens sporadicly. Although it doesn't make sense, I would sware that it happens with more frequency over time.
I am using version 4.10.1998 of WSOCK32.DLL which has a size of 40K and a date of 5/14/99 10:49A. I am not really sure how to tell if I need a newer version. Nothing would suggest it from looking at the release notes at mabry.com.
I mispoke myself earlier when I quoted the component version I was using:
RAS 1.00.008
FTP 2.03.008
I see there is a version 2.03.010 available now so maybe I will try that.
-
January 26th, 2000, 08:24 AM
#6
Re: IPF on release of ActiveX DLL object reference
Well, I have tried all of this with the latest and greatest ftp object (v2.03.010) and I have the same problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|