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


Vadym Stetsyak
  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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Asynchronous process from asp.net page button click event? Ritha Software 0 09-29-2009 03:20 PM
Unable to open the jpeg image SHELLY Case Gallery 7 07-30-2009 06:28 PM
Recycle Worker Process Not Working JAB Software 0 09-04-2008 05:22 PM
A+ Exam Revision Update Process Starting John P. Dearing A+ Certification 6 02-10-2006 01:44 AM
Burn process failed - help! Log file posted for help troubleshooting Michael Mason DVD Video 1 08-16-2004 09:24 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46