![]() |
|
|
|
#1 |
|
Hi
I have a question when debugging dotnet code when attaching vb6.exe code to this process. i get an error like : unable to attach the process. there is no managed code running in the process. INorder to attach a process with the .NET Debugger, managed code must be running in the process before attaching. what i did is : went to Process-->attach--added vb6.exe process. when i click on the native check box i dod not get the error. but when i dont click on the native or scripts check box i get the above error. why is this so ? Thanks Senthil SenthilVel |
|
|
|
|
#2 |
|
Posts: n/a
|
Hello, SenthilVel!
[skipped] S> when i click on the native check box i dod not get the error. S> but when i dont click on the native or scripts check box i get the above S> error. S> why is this so ? That is because vb6 executable is a native executable, there is no CLR there to run managed code. That is why debugger is saying that it cannot attach to the exe. You can set Mixed mode in the debugger attach parameters. -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com |
|