Debugging ActiveX DLL code

Nahom
01-09-2004, 12:39 PM
Hi

I am creating an ActiveX DLL component, I want to debug the code line by line. where do i start.

PS: Your help is appreciated

Thanks
Nahom

00100b
01-09-2004, 12:44 PM
Create a project group by first opening a standard EXE project. Then select the Add Project menu option (under File on the menu) and specify the DLL project to add.

Select the standard EXE project and use Project -> References to add a reference to the added DLL project.

In the standard EXE project, write the code that would instantiate the objects in the DLL and whatever code you wish to use to test the interface.

Use the normal debugging methods (ie Break Points, F8, etc) to step through the code.

b_mirlen
01-09-2004, 12:47 PM
Check out this link...

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q200/9/98.ASP&NoWebContent=1

rpoy
01-09-2004, 12:49 PM
All you need to do is compile and run your dll. Make sure you have some break points in the dll. Then you need another test application (script/ or vb program) that calls the dll...

So in your test script or vb you would do something like this...


Set oMyObject = CreateObject("dll_Name.class_Name")
RetCode = oMyObject .FunctionInClass(Things to Pass)

Nahom
01-09-2004, 01:06 PM
Create a project group by first opening a standard EXE project. Then select the Add Project menu option (under File on the menu) and specify the DLL project to add.

Select the standard EXE project and use Project -> References to add a reference to the added DLL project.

In the standard EXE project, write the code that would instantiate the objects in the DLL and whatever code you wish to use to test the interface.

Use the normal debugging methods (ie Break Points, F8, etc) to step through the code.


Thanks
I appreciate it

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum