473,327 Members | 1,979 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

.NET and Native Dll Debugging

Hi Folks,

I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..

Please throw some light

Best Regards,

Nov 17 '05 #1
2 3060
<vi*********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I have searched on search engines for previous dicsussions dealing with
this.. but didnt find em any useful... so here I am..
I am having a .NET (BV.NET) application in which I am calling a managed
dll(C#), which inturn is calling a native dll (c++). OK. Now in the
VB.NET application's project, I add the project of C#(dll). Now while
debugging the VB.NET app, I can step into the source code of c#(dll).
But when the c# code(dll) calls the native dll, I am not able to
source-level debugging of the native dll. I have my native dll project
open in VC6.0, but the control flow does not go there. I have also
enabled the unmanaged code debugging in the VB.NET project..


If you are sure about having enabled mixed-mode debugging then the next
obvious thing to check is that the DLL has been built with debugging
information and that a PDB (program data base) is available in the directory
with the DLL.

Regards,
Will
Nov 17 '05 #2
thanks..! That did it..

Nov 17 '05 #3

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

Similar topics

1
by: Vishuonline | last post by:
Hi Folks, I have search on search engines for previous dicsussions dealing with this.. but didnt find em any useful... so here I am.. I am having a .NET (BV.NET) application. I am calling a...
1
by: Maor Mishkin | last post by:
Hello All, I have an application that is written in c#, this application calls a native (not managed) c++ dll, the connection is good and the functions run great, I have a problem entering the c++...
18
by: Paul Brun | last post by:
Can this be done? Is there a way to "de-alias" the int datatype so I can pass an int into a C method?? Paul
1
by: Jim | last post by:
Hello, I am writing an application that relies heavily on interop between managed c++ and native c++. The main project is managed c++, but most of the classes themselves are written in native...
1
by: Boris Dynin | last post by:
Hi, I have some projects (native - not managed code) in VC++ 2003. I'm trying to debug that stuff on Win98 system that has VC6.0 installed. Is it possible to use VC6.0 for debugging code built...
1
by: Morgan Cheng | last post by:
We can view MSIL code with reflector or ILDASM, but how can we view native code generated by JIT compiler at runtime?
0
by: avinandre83 | last post by:
I am new to .net and having some difficulties in debugging unmanaged Native DLL in .net.. I am using a Native COM DLL in ASP.Net web application. The problem is I am unable to degul my DLL in...
1
by: jc | last post by:
Hello. I'm doing some prep work before taking the vb.net brainbench. I noticed one of the topics is : Consuming resources - Windows Native Calls Where can I get more info on this? What...
6
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.