AnsweredAssumed Answered

vrf Multiple File Selection in VEE

Question asked by VRFuser on Jun 10, 2004

Hi
I've come across a similar problem while developing and testing my own dll.
I'm guessing that you use the import library to load the dll in to VEE.
Try running the delete library function.  I found that that released the
dll and I as able to make changes and recompile my dll.

When I was testing the dll, I just placed an import library function at the
start of the thread I wanted to test and a delete library function at the
end.

Hamish





                                                                                                                                
                    "Marc Engle"                                                                                                
                    <MEngle@rfmd.        To:     VRF <vrf@agilent.com>                                                          
                    com>                 cc:                                                                                    
                                         Subject:     [vrf] Releasing a DLL's reference                                         
                    11/06/04                                                                                                    
                    03:51                                                                                                       
                    Please                                                                                                      
                    respond to                                                                                                  
                    "Marc Engle"                                                                                                
                                                                                                                                
                                                                                                                                




All,
        I'm hoping somebody might be able to help me with a DLL problem
I've been having.  I'm converting a process that used to make a call to a
Visual Basic .exe to perform a loading task in our program to an ActiveX
DLL to improve the speed, because all of the functions contained in the
.exe don't need to be run every single time.  Anyway?I can load the DLL
just fine in VEE and talk to it without a problem.  My problem comes in
when I'm trying to replace the DLL on the system with a new one that has
code fixes.  I can't delete or replace the DLL because Windows says that
some process is using it.


        I've tried deleting the object variable that use to set up the
reference to the DLL, but I still get the error.  I've also removed the
check box in the automation references list so that VEE shouldn't be using
it.  I've also tried unregistering the DLL from the system using regsvr32.
The only way that I've been able to get it to work is to close down the VEE
program.  As soon as I do that, the reference appears to be released
because I can simply delete the old file and drop in a new one.  Start up
the VEE program and go on.  The frustrating part of this is that I have to
re-enter a lot of information every time I start up the program just
because I wanted to make a couple of simple changes to the DLL.


        Any idea of how to release the reference without closing down the
program completely?  Any help would be appreciated.


Thanks,
Marc





Marc A. Engle
Sr. Product Engineer
Digital Cellular Product Line
RF Micro Devices, Inc.


---
You are currently subscribed to vrf as: Hamish.Begg@Powerware.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".








---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes