Go Back   Velocity Reviews > Newsgroups > DotNet
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

DotNet - unable to attach the process

 
Thread Tools Search this Thread
Old 06-26-2006, 01:31 PM   #1
Default unable to attach the process


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
  Reply With Quote
Old 08-23-2006, 11:20 AM   #2
Vadym Stetsyak
 
Posts: n/a
Default Re: unable to attach the process

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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump