AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Languages, Compilers and Interpreters C,C++,C#,.NET,Java,PHP,Perl,SQL and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Nov 9, 2001, 14:01   #1
Младенец
 
Join Date: Oct 2001
Location: Indore, India
Posts: 1
Rep Power: 0
Reputation: 10
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.
Vipul Pathak is offline   Reply With Quote Quote selected
Old Nov 13, 2001, 23:38   #2
Младенец
 
Join Date: Nov 2001
Location: Philadelphia,PA,USA
Posts: 1
Rep Power: 0
Reputation: 10
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">
Biplab is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 18:09.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link