RE: Debugging native C DLLs with Managed C# code?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,

WinCE related programming issues are not covered in this newgroup yet.
Actually, MSDN managed newsgroup does not cover WinCE issues. The following
newsgroups are better for this question:
microsoft.public.dotnet.framework.compactframework
microsoft.public.windowsce.app.development
microsoft.public.pocketpc.developer

Anyway, as I know, the VS debugger will only perform managed debugging for
..Net assembly, so it will not load symbols for the native DLLs. To load
symbols for the native DLLs, we should enable the unmanaged debugging. In
VS C# IDE, you may right click your project in the "Solution Explorer" and
choose "Properties" -> "Debug" tabpage -> Check the "Enable unmanaged code
debugging" checkbox.

Also, you should remember to set the symbol path correctly(In Tools
menu->Options ->Debugging->Symbols), so that the debugger knows where to
download the symbols for system native DLLs. I normally use the symbol path
syntax like this:
SRV*c:\localsymbols*http://msdl.microsoft.com/download/symbols

Note: above comes from my PC VS debugging experience, if the WinCE
debugging is similar to it, you may give it a try.

Hope this helps and thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • RE: URGENT: DataSet.GetChanges() returns an old version of the row
    ... Welcome to MSDN Managed Newsgroup. ... if GetChanges() is called after the user has modified the ... Microsoft Online Community Support ... initial response from the community or a Microsoft Support Engineer within ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: read Unicode data from IPropertyStorage - continued
    ... Thanks for your response, I did get some suggestion from the other thread, ... Microsoft Online Community Support ... The MSDN Managed Newsgroup support offering is for non-urgent issues ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.ole)
  • RE: automating running a stored procedure
    ... Thank you for using Microsoft MSDN Managed Newsgroup. ... If you use SQL Server express edition, since the SQL Agent Service is not ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.dts)
  • Re: OWC 11.0 - Subtotals return incorrect values
    ... Basically the totals don't match. ... Welcome to the Microsoft MSDN Managed Newsgroup Services. ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.olap)
  • RE: Exceptions within MSHTML using IWebBrowser2 control
    ... didn't reproduce this on Vista. ... Microsoft Online Community Support ... The MSDN Managed Newsgroup support offering is for non-urgent issues ...
    (microsoft.public.win32.programmer.networks)