|
-
Jul 13th, 2001, 07:56 AM
#1
Thread Starter
Addicted Member
Testing my ActiveX Dll???
I have created a DLL and I'm in the process of testing it. I want to call it from an ASP page. The Problem is when I make changes and recompile my DLL I get errors and have to reboot. Can anyone let me know of a good way to test my DLL or to remove it my machine and recreate it between test. Thanks
-
Jul 22nd, 2001, 07:24 PM
#2
What version of Windows is IIS on? If it is Win2000 then you can restart the service from within IIS by right clicking the server name in the IIS and select restart.
If you have anything other then Win2000, then have to restart in order for you to release the DLL.
-
Jul 25th, 2001, 07:08 AM
#3
Addicted Member
Also, if you install your dll into MTS, you can shut it down from the MTS management console.
André
-
Jul 25th, 2001, 09:27 AM
#4
Lively Member
Are u setting dll instance to nothing at the end of your asp page?
-
Jul 26th, 2001, 02:49 AM
#5
Addicted Member
Setting the object to nothing does not help. Dll's are loaded into DllHost.exe, once in there they must be released by either restarting the IIS service if in win2000, or by shutting the object down trhough MTS or COM+
Cheers
André
-
Aug 2nd, 2001, 07:57 AM
#6
New Member
Searge is Wrong
If you have Windows NT run from the command prompt the following: -
net stop iisadmin /y
This will stop IIS and remove the DLL from memory
Now re-compile the DLL
Then run: -
net start w3svc
Bob's your Uncle - all sorted - no re-boot required
-
Aug 8th, 2001, 12:54 AM
#7
New Member
You do not need to compile
Many people think that you have to fully generate the ddl file and register it for testing.
Instead do the following:
start your VB and create the DLL.
Save it.
RUN your Dll and when prompted of what to do select the last option(Starrt Explorer) and in the text box associated with the option write the server URL for your testing file i.e. 127.0.0.1/testpage.asp
hope this will help..
-
Aug 8th, 2001, 03:02 AM
#8
Addicted Member
Yes this is true, remember though to compile the DLL with binary compatibility!
Cheers
André
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
|