Hello All,
I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET
program. I have both the VB and the C++ projects in the same solution.
When I debug, I can step through the VB.NET program, but when I get to
the .dll function call, it just does a "Step Over" instead of stepping
*Into* my .dll's code, even though I have the .dll project as part of
the solution.
How can I make the program step into my .dll's code when I'm debugging?
Thanks!
-Joel 2 1158
"Joel Whitehouse" <jo************ @gmail.com> wrote in message
news:Ov******** ********@TK2MSF TNGP14.phx.gbl. .. I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET program. I have both the VB and the C++ projects in the same solution.
When I debug, I can step through the VB.NET program, but when I get to the .dll function call, it just does a "Step Over" instead of stepping *Into* my .dll's code, even though I have the .dll project as part of the solution.
How can I make the program step into my .dll's code when I'm debugging?
Highlight the VB.Net project and choose 'Properties' from the menu. Then
click the 'Configuration Properties' folder and the 'Debugging' item below
it. Find the checkbox labeled "Unmanaged Code Debugging" and select the
option.
Be warned, this option is often painfully slow.
Regards,
Will
William DePalo [MVP VC++] wrote: "Joel Whitehouse" <jo************ @gmail.com> wrote in message news:Ov******** ********@TK2MSF TNGP14.phx.gbl. ..
I wrote a .dll in C++, and I'm calling it's funtions from a VB.NET program. I have both the VB and the C++ projects in the same solution.
When I debug, I can step through the VB.NET program, but when I get to the .dll function call, it just does a "Step Over" instead of stepping *Into* my .dll's code, even though I have the .dll project as part of the solution.
How can I make the program step into my .dll's code when I'm debugging?
Highlight the VB.Net project and choose 'Properties' from the menu. Then click the 'Configuration Properties' folder and the 'Debugging' item below it. Find the checkbox labeled "Unmanaged Code Debugging" and select the option.
Be warned, this option is often painfully slow.
Regards, Will
Thanks so much! This helps me to no end! If I had $50 to hand you...
-Joel This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David M. Karr |
last post by:
I've been asked to help debug a complex problem involving inter-frame
references, so I just want to understand the elements involved with
this.
Apparently, there is a page with multiple frames, where one of the
frames is a "hidden" frame, and is there just to contain one or more
"fields" that are referenced from other frames.
Supposedly, if a user "sits" somewhere in this set of pages for
several minutes and then tries to do...
|
by: Frank Meng |
last post by:
Hi.
I am trying a csharp sample from
http://www.codeproject.com/csharp/socketsincs.asp .
(Sorry I didn't post all the source codes here, please get the codes
from above link if you want to try).
I had some troubles when I started 6 threads (each thread made a
separate connection) and sent messages to same server simultaneously.
Sometimes, not always, the socket looks like ok, but really it is
dead.
I don't why it happens.
|
by: Viper Venom |
last post by:
Dear All:
I am trying to write an application that consist 2 executables
1) Server.exe
2) Client.exe
I start the server.exe first and then start the two client exe by code and
kill both of the client when the server exit (This is already done)
|
by: A.M |
last post by:
Hi,
What is the best way to implemet Inter Process Communication in .NET ?
I developed two programs and I want to have them talk to each other.
Thanks,
Alan
|
by: Bern McCarty |
last post by:
I have run an experiment to try to learn some things about floating point
performance in managed C++. I am using Visual Studio
2003. I was hoping to get a feel for whether or not it would make sense to
punch out from managed code to native code (I was using
IJW) in order to do some amount of floating point work and, if so, what that
certain amount of floating point work was
approximately.
To attempt to do this I made a program that...
| |
by: les |
last post by:
Here's a class which uses 2.0 generics to implement an inter-thread
message queue in C#. Any number of threads can post and read from the
queue simultaneously, and the message object can be any type.
There's a test driver at the bottom which demonstrates usage.
/*-----------------------------------------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
|
by: Joseph Geretz |
last post by:
I need to communicate between two applications. The legacy application is in
VB6. New development is in C#. Here's the scenario:
The VB6 app will be pumping document files into a folder. We'll be writing a
new (C#) class for this new feature.
The C# Application (as distinct from the file pumper class just mentioned)
needs notification for each file pumped into the folder in order to process
the file.
|
by: Hugo Ferreira |
last post by:
Hi everyone!
Here's the current scenario: I have a program in Python that computes
something very fast (<1s), but it takes a considerable amount of time
to read the startup data (>90s). Since the startup data is pretty
static, I want this program to be resident and ready in memory all the
time.
The client-side of this program is a function in PostgreSQL. For the
sake of simplicity, let's assume it is another program in Python that
|
by: Laurence |
last post by:
Hi folks,
As I konw: database partition (aka data partition?), the database can
span multiple machines; table partition, the data within a table can
seperate by certain condition.
How about inter-partition and intra-partition? Is inter-partition
database partition...?
|
by: dantz |
last post by:
After reading all of the materials in msdn about interprocess communication
now I am confused. I hope someone can give me some enlightment.
I am developing a multithreaded client-server application which communicates via HTTP Request using HTTPListener/HTTPWebRequest. The server(which is the focus of my question) will be having different modules. I want these modules to communicate with each other using the fastest IPC but
I can't figure...
|
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,...
| |
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...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |