|
-
April 19th, 2001, 11:29 PM
#1
How can i test a DLL
Hi,
I have written a DLL in VB.I just wants to Test that.How can i do that.
Dinesh Asanka
-
April 19th, 2001, 11:39 PM
#2
Re: How can i test a DLL
I am not sure, what you mean by test. You could see if it works by calling a function from that dll in your application.
Vijay
-
April 20th, 2001, 12:16 AM
#3
Re: How can i test a DLL
Very Sorry, What I ment was to how to debug the application
Dinesh Asanka
-
April 20th, 2001, 07:30 AM
#4
Re: How can i test a DLL
Create your normal DLL project then add a Standard project using the "Add Project" menu item under FILE. Use this new project as your startup. You can reference your DLL in the second Project as if it were a compiled DLL.
John G
-
April 20th, 2001, 11:14 AM
#5
Re: How can i test a DLL
1. Best way, open the dll project and run it in debug mode, simultaneously open the client (from which you want to call the dll) and run in debug mode...when you call a function in dll the control will go to the other project and you can debug it as any normal app.
2. If you want to test it as a dll, you can use a command which will log an event in the NT App event log..so you can put these in as many places as you want(ideally where you suspect bugs) with different text, so you will know if it fails some where..i think the command is app.logevent...not sure check it out !
Vijay
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
|