Hi Simon,
Based on my understanding, now the problem is: You are developing a ATL
component in VC 6.0 and a VB.NET client in .NET. Now you want to debug this
ATL component from VB.NET, right?
In VS.NET, you can debug managed and native code by going to your project's
properties page (right click on your project in solution explorer). From
there, select configuration in the left pane, and then debugging. In the
right pane set "Enbable Unmanaged Debugging" to True. (You probably already
have ASP.NET debugging enabled unless you're manually attaching to
inetinfo.exe). With this enabled, you can step from your VB.NET code to
your ATL DLL and back again. You need to make sure you have full remote
components installed on the machine you're debugging (if it's a remote
machine).
Please note that the call to ATL from VB.NET client is done on same
thread. if the call is invoked between two different thread, "step into"
does work like "step over". it is currently by design.
For details on it, you can also refer to this newsgroup thread:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=uyVB4Xwv
BHA.1652%40tkmsftngp03&rnum=9&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26
oe%3DUTF-8%26q%3Ddebug%2Bunmanaged%2Bcode%2BATL%26sa%3DN%26tab%3Dwg
Does that answer your question?
Best regards,
Yanhong Huang
Microsoft Community Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.