Главная страница


ru.website

 
 - RU.WEBSITE -------------------------------------------------------------------
 From : Alexander Stulov                     2:5020/400     22 Mar 2001  09:55:23
 To : All
 Subject : Re: как выгрузить COM-понент из памяти?
 -------------------------------------------------------------------------------- 
 
 Приветствую, Alexey!
 
 Выдержка из MSDN:
 
 <
 COM Object Debugging
 
 If you create a COM object and use it through ASP with Server.CreateObject,
 you cannot go back into your development environment and recompile the COM
 DLL without restarting the IIS Admin and W3SVC (Web server) service.
 Otherwise, the COM DLL will be locked. To restart these services, do the
 following:
 
 1. At a command prompt, type net stop iisadmin /y. Please note that this
 will shut down IIS' parent service, IIS Admin. This will also shut down FTP
 and other services that are children of IIS Admin. If you type only net stop
 w3svc, inetinfo.exe will not be unloaded.
 2. At a command prompt, type net start w3svc. This will restart IIS Admin
 and the W3SVC service (Web server).
 3. You may recompile at any point after Step 1. Once you refer to an object
 that loads your DLL, you must repeat Step 1 before building the component
 successfully.
 
 >
 
 Alexey Rjaskov <arjaskov@reg.avtlg.ru> сообщил в новостях
 следующее:995j17$7u$214@www.fido-online.com...
 
 > Hi All,
 >
 > Есть COM ваяный на MSVC(ATL) или в делфях не суть (модель комнатная).
 > Далее в ASP васике делаю раз:
 > Set some_object=Server.CreateObject("My_super_puper_component_prog_ID")
 > юзаю его методы
 > и в конце делаю два:
 > Set some_object=Nothing
 > Вроди бы как ссылку на мой компонент убил и он должен из памяти
 
 выплюнуться, а
 
 > dll-ка в которой он лежит разлочится. Так ведь этот сволочуга в памяти так
 
 и
 
 > сидит. И при ребилде компонента происходит трабл с залоченной dll-кой.
 > Я и IIS торможу и чё только не делаю, помогает только Reboot.
 > Может кто сталкивался в чём тут дело?
 >
 > ..:::See you later:::...
 >
 --- ifmail v.2.15dev5
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 как выгрузить COM-понент из памяти?   Alexey Rjaskov   19 Mar 2001 22:20:53 
 Re: как выгрузить COM-понент из памяти?   Alexander Stulov   22 Mar 2001 09:55:23 
 как выгрузить COM-понент из памяти?   Vladislav Zlobin   22 Mar 2001 02:59:02 
Архивное /ru.website/6577b35d6ed1.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional