473,406 Members | 2,439 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,406 software developers and data experts.

Debuggng a DLL

I have written a program in VB.Net 2003 and also imported it into 2005. One
of the components is a DirectShow Application (a source filter) written as a
DLL in C++ (VC2003) for us by someone else. I want to step through the
functions of the DLL. Is this possible? Yes, I have the soure code for the
DLL.
The function is called in VB something like this:
Private Declare Function xyz Lib "xyz.dll" (ByVal command As IntPtr, ByVal
handle As Long) As Boolean

I tried importing the C++ Project into the main application as a seprate
project and pointing the reference to the output to the debug directory, but
no luck.
Private Declare Function xyz Lib "..\abc\debug\xyz.dll" (ByVal command As
IntPtr, ByVal handle As Long) As Boolean

Any help appreciated.

BTW, is there a Directshow Newsgroup anywhere?

Thanx,
--
Anil Gupte
Jul 19 '08 #1
1 946
>I have written a program in VB.Net 2003 and also imported it into 2005. One
>of the components is a DirectShow Application (a source filter) written as a
DLL in C++ (VC2003) for us by someone else. I want to step through the
functions of the DLL. Is this possible? Yes, I have the soure code for the
DLL.
If you can build a debug version of the DLL, then yes, it should be
possible. One thing to check is that somewhere in your VB project
settings there's probably a setting to enable mixed mode debugging -
both managed (VB) and native (C/C++) code. Make sure you enable that
before debugging.

Dave
Jul 19 '08 #2

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

Similar topics

31
by: bilbothebagginsbab5 AT freenet DOT de | last post by:
Hello, hello. So. I've read what I could find on google(groups) for this, also the faq of comp.lang.c. But still I do not understand why there is not standard method to "(...) query the...
6
by: Rhino | last post by:
I'm trying to debug a simple Java UDF written in the DB2General style within Eclipse. I'm getting a java.lang.UnsatisfiedLinkError when I execute the set() method in the UDF. I know that the...
5
by: howachen | last post by:
Currently I only use Ultra-Edit to write Javascript and debug using the firefox JS debugger. But as the project goes complex, I need to have a more advance editor, such as class/methods...
7
by: bkasmai | last post by:
This is driving me crazy. I need to hide rows that a particular cell is zero. On debuggng I fiound out that ItemDataBound fires for header only and not for Item and AlternatingItem private void...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...

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.