473,799 Members | 3,065 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cant debug a dll from exe

Hi,
I have 2 projects in a slolution, one is a dll project and other is exe. I
have some exported functions from the dll code using __declspec
(dllexport ). In the exe code I have created a header file that contains
prototypes of the functions that are in the dlls. I have specified the lib
file in the exe's project settings and everything builds and runs just fine
( i copy the dll manually where the exe is located when I make changes in
the dlls code and build it).

The problem is when I try to "step in" the source code of the dll's exported
functions when I'm running the exe project. It just doesnt step into its
source and just steps over its function calls. That is the reason I cant
debug the source code of the dll functions. I need help debugging my dll.

Regards,

-Ab.

PS. I'm using "nothing" related to .net. Everything is pure native c++ and
win32.
Mar 2 '06 #1
1 1060
I noticed that if I copy the updated build of dll in the exe's path, i can
step into the dll's functions. Was this the reason or something else ?

-Ab.

"Abubakar" <em**********@y ahoo.com> wrote in message
news:uM******** *****@TK2MSFTNG P14.phx.gbl...
Hi,
I have 2 projects in a slolution, one is a dll project and other is exe. I
have some exported functions from the dll code using __declspec
(dllexport ). In the exe code I have created a header file that contains
prototypes of the functions that are in the dlls. I have specified the lib
file in the exe's project settings and everything builds and runs just fine ( i copy the dll manually where the exe is located when I make changes in
the dlls code and build it).

The problem is when I try to "step in" the source code of the dll's exported functions when I'm running the exe project. It just doesnt step into its
source and just steps over its function calls. That is the reason I cant
debug the source code of the dll functions. I need help debugging my dll.

Regards,

-Ab.

PS. I'm using "nothing" related to .net. Everything is pure native c++ and
win32.

Mar 2 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2071
by: Kurt | last post by:
Hi I was trying to get this VB type code to work in C Sub SetColumns_Example( Dim ol As Outlook.Applicatio Dim MyFolder As MAPIFolde Dim itms As Item Dim itm As Objec Dim dtmStart As Date, dtmEnd As Dat Dim lngElapsed As Lon Set ol = New Outlook.Applicatio
0
1167
by: IanT | last post by:
Hi I'm using Visual C++ .net I'm getting the linker error that one of my object files cant be found It seems that my compiler isnt producing .obj files (or at least not putting them in the debug folder) I've done a harddrive search for the .obj file and it seems that its not being produced at all. Infact the compiler doesnt seem to be producing any object files, but its not giving an error untill I get to linking. Any ideas why there are no...
2
1137
by: dee | last post by:
Hi I am running .NET 1.0 on an Windows XP Pro and cant debug my VB web application. I get the following error message: "Error while trying to run project: Unable to start debugging on the web server. Access is denied. Would you like to disable future attempts to debug ASP.NET pages for this prject?"
0
1272
by: Tillmann Neben | last post by:
As the topic already says, i just cant get it working. I am using "ftp-mode" to get the files onto the server instead of using frontpage extension. When I try to debug, VS tells me, that the debugger cant connect to the remote computer (server) - and, that a firewall might be the reason. I have all firewalls disabled but it is still not working. I cant find so much information about that issue regarding VS 2005. Is remote debugging...
16
1779
by: Mike Fellows | last post by:
when i load my windows form i populate a combobox i use the code below Dim conn As New System.Data.SqlClient.SqlConnection(strConn) Dim sql As String = "AllLenders" Dim da As New System.Data.SqlClient.SqlDataAdapter(sql, conn) Dim ds As New DataSet() da.Fill(ds) ComboBox1.DataSource = ds.Tables(0) ComboBox1.DisplayMember = "Lender" da.Dispose()
3
1676
by: arun.hallan | last post by:
Hi, I'm having problems with authentication. I have a set of users that are allowed to use a webpage. They are in domain A. My goal is to get the username of these users and then check them against my list. The webpage is hosted under a username in domain B. I cannot change any settings on the domains.
1
1030
by: arun2k3 | last post by:
hello, I installed dot net in my windows2000server system yesterday.. Whenever I try to open an ASP.NET Application and debug ASP.NET Application it returns errors. .. Whenever I try to open an ASP.NET Application Project I take this error message -The Web was created successfully, but an error occurred when trying to configure the application root for this Web.Web projects may not operate correctly without an application root.The...
0
1298
by: =?Utf-8?B?Q2hpV2hpdGVTb3g=?= | last post by:
Hi, i got machine A that has sql2005, vs2005 project. project runs okay there. But when i copied that whole project folder to machine B, running sql2005, VS2005, edited the web.config file to point to SQL2k5 machine A, and then run it at VS2005, it cant connect to the DB at machine A. It says, unable to connect to DB, server doesnt allow remote connections. But when i try to connect to machine A using SQL SMS, im able to browse to the...
66
8202
by: happyse27 | last post by:
Hi All, my html code is sno 1) and perl code is sno 2). a) I tried to print $filename and it cant print out the value, only blank was displayed, and the file could not be uploaded. And it didnt display the html after the perl script executed. Using perl 5.1 and apache 2.2.9 version(apache installed and run without any errors and no warning, perl tested fine) b) Also, when i clicked the html code to submit the upload of the...
0
9546
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10491
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10031
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9079
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7571
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5593
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.