Click here to Skip to main content
16,016,712 members
Home / Discussions / C#
   

C#

 
GeneralRe: Close Form Validation Pin
Heath Stewart8-Dec-03 3:01
protectorHeath Stewart8-Dec-03 3:01 
GeneralRe: Close Form Validation Pin
mitdej8-Dec-03 3:34
mitdej8-Dec-03 3:34 
GeneralRe: Close Form Validation Pin
Heath Stewart8-Dec-03 3:45
protectorHeath Stewart8-Dec-03 3:45 
GeneralRe: Close Form Validation Pin
mitdej8-Dec-03 4:01
mitdej8-Dec-03 4:01 
GeneralRe: Close Form Validation Pin
Heath Stewart8-Dec-03 4:56
protectorHeath Stewart8-Dec-03 4:56 
GeneralRe: Close Form Validation Pin
mitdej8-Dec-03 20:38
mitdej8-Dec-03 20:38 
GeneralDebugging C++ DLL with C# Pin
Simon Wren8-Dec-03 0:26
professionalSimon Wren8-Dec-03 0:26 
GeneralRe: Debugging C++ DLL with C# Pin
Heath Stewart8-Dec-03 2:54
protectorHeath Stewart8-Dec-03 2:54 
When you attach the debugger to your application, you must specify that both CLR-managed and native application code is being debugged. Since you can't seem to configure this before debugging, you can't start your project in debug mode. Instead, start the application on your machine (the machine that built the binary to which you have source so that the PDB files are synchronized) then click Debug->Process..., find the process and double-click to debug. A dialog should come up with several debugging options. Select the types of code that is being debugged.

Now, I'm not sure if the debugger will step into externally defined functions (via the DllImportAttribute) but I would hope it would and it's worth a shot. If nothing else, try putting a break point in the implementation code for the extern'd method. Since you should be debugging the right types of code, hopefully VS.NET will pick up on this.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Debugging C++ DLL with C# Pin
Simon Wren8-Dec-03 3:08
professionalSimon Wren8-Dec-03 3:08 
QuestionWhat is the proper way to remove a control from a panel? Pin
vektuz7-Dec-03 23:19
vektuz7-Dec-03 23:19 
AnswerRe: What is the proper way to remove a control from a panel? Pin
vektuz8-Dec-03 0:03
vektuz8-Dec-03 0:03 
AnswerRe: What is the proper way to remove a control from a panel? Pin
Heath Stewart8-Dec-03 2:50
protectorHeath Stewart8-Dec-03 2:50 
GeneralRe: What is the proper way to remove a control from a panel? Pin
vektuz8-Dec-03 8:35
vektuz8-Dec-03 8:35 
GeneralRe: What is the proper way to remove a control from a panel? Pin
vektuz8-Dec-03 8:48
vektuz8-Dec-03 8:48 
GeneralRe: What is the proper way to remove a control from a panel? Pin
Heath Stewart8-Dec-03 9:22
protectorHeath Stewart8-Dec-03 9:22 
GeneralLoading a class at runtime from an assembly Pin
AJ1237-Dec-03 22:53
AJ1237-Dec-03 22:53 
GeneralRe: Loading a class at runtime from an assembly Pin
Tim Friesen8-Dec-03 1:29
Tim Friesen8-Dec-03 1:29 
GeneralRe: Loading a class at runtime from an assembly Pin
Heath Stewart8-Dec-03 2:46
protectorHeath Stewart8-Dec-03 2:46 
QuestionVS.NET rebuilds solution constantly? Pin
phimix7-Dec-03 22:16
phimix7-Dec-03 22:16 
AnswerRe: VS.NET rebuilds solution constantly? Pin
Colin Angus Mackay8-Dec-03 1:37
Colin Angus Mackay8-Dec-03 1:37 
AnswerRe: VS.NET rebuilds solution constantly? Pin
Heath Stewart8-Dec-03 2:41
protectorHeath Stewart8-Dec-03 2:41 
GeneralRe: VS.NET rebuilds solution constantly? Pin
phimix8-Dec-03 21:59
phimix8-Dec-03 21:59 
AnswerRe: VS.NET rebuilds solution constantly? Pin
Mauricio Ritter8-Dec-03 4:02
Mauricio Ritter8-Dec-03 4:02 
GeneralRe: VS.NET rebuilds solution constantly? Pin
phimix8-Dec-03 4:43
phimix8-Dec-03 4:43 
QuestionWhy C# instead of C++ and MFC? Pin
d00_ape7-Dec-03 22:08
sussd00_ape7-Dec-03 22:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.