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

Reply
 
Thread Tools

VC++ : How to Debug a DLL ????
Old 09.11.2001, 15:01   #1
Младенец
 
Join Date: 10 2001
Location: Indore, India
Posts: 1
Rep Power: 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.

Old 14.11.2001, 00:38   #2
Младенец
 
Join Date: 11 2001
Location: Philadelphia,PA,USA
Posts: 1
Rep Power: 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




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 06:22.
Top

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