Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 09.11.2001, 15:01   #1
Младенец
 
Join Date: 10 2001
Location: Indore, India
Posts: 1
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Question VC++ : How to Debug a DLL ????

Hi !!

I am Writting a DLL in VC++. This is Being Used in VB.<BR>I've Tested the DLL in VC++, it works fine. But when i used<BR>it in VB, It is not functioning well. I want to check, what<BR>values are passed to the DLL by the VB Project. To Test the<BR>DLL with VB, what should i do ? I've Build an EXE of VB Project.

While Debug Session of DLL in VC++ I specified the VB EXE to Run.<BR>That Fine. But, the Breakpoints in VC++ Program are Activated and<BR>Program stops after its execution.

HELP ME PLEASE.

<BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><HR> <HR></BLOCKQUOTE>nullHow to Debug a DLL ????

<BR>Thanks !!
__________________
Thanks.<BR>-Vipul.
Reply With Quote
Old 14.11.2001, 00:38   #2
Младенец
 
Join Date: 11 2001
Location: Philadelphia,PA,USA
Posts: 1
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Hi Vipul,<BR>Do this.

1.Open your DLL project in VC++<BR>2.Go to "Project|Settings..." Menu item and select the "Debug tab"<BR>3. In the list box "Category" select "General". This is generally default.<BR>4. In the test box "Executable for debug session", enter the path of your VB executable.<BR>5. Set your breakpoints and then press F5 to run it.<BR>6. The program will break into your DLL

Be sure to compile your DLL with "debug info"

Hope this helps!! <IMG SRC="rolleyes.gif" border="0">
Reply With Quote
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 11:48.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.