Can't update VB6 DLL-file after it has been used by Visual Interdev 
Author Message
 Can't update VB6 DLL-file after it has been used by Visual Interdev

Hi,

When you "execute" an asp page that create an object, the DLL is loaded
in memory by IIS. Then this DLL is not unloaded.
To unload it you must stop and then restart IIS admin services.
you can write a little batch file like :

:------------------------------------------
net stop "Microsoft SMTP service"
net stop "World Wide Web Publishing Service"
net stop "FTP Publishing service"
net stop "IIS Admin Service"

net start "IIS Admin Service"
net start "World Wide Web Publishing Service"
net start "FTP Publishing service"
net start "Microsoft SMTP service"
:-------------------------------------------

(remove line of service you're not using.

The second point is that when you open a page in visual interdev, and in
the page, you have code like : set toto =
server.createobject("XXXX.XXX") the DLL containing your class is loaded
in memory, so that the editor can help you to write call finishing your
calls...
To unload the dll, just close the asp page in visual interdev editor...

An other problem is when you use MTS. The component is loaded the first
time you use it and you must "shut down server processes" to release
your components and so the activeX dll...

Hope this help...

Stephane CHEVALIER



Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Can't update VB6 DLL-file after it has been used by Visual Interdev

2. Can't update VB6 DLL-file after it has been used by Visual Interdev

3. Can't update VB6 DLL-file after it has been used by Visual Interdev

4. Can't update DLL-file after it has been used by Visual Interdev

5. Can't update DLL-file after it has been used by Visual Interdev

6. I am trying to update a record, i am not using data control

7. I am trying to update a record, i am not using data control

8. Visual Interdev: 'thisPage' is undefined

9. I am using the Compare MS Project COM Program and having issues

10. 'Canned' data in VB program

11. Visual InterDev and VB6 Webclasses and other tool!

12. Oracle / VB6 / Visual Interdev...

 

 
Powered by phpBB® Forum Software