PC Review


Reply
Thread Tools Rate Thread

debug native dll called from C# compact framework application on pocket pc 2003 emulator

 
 
Ike Starnes
Guest
Posts: n/a
 
      17th Nov 2004
I have created a WinCE native DLL using EVC4. I call that dll from a C#
compact framework
application written using VS.Net 2003. How can I debug the dll.
If I run the emulator from inside the EVC4 IDE, then I can't "connect" to it
from
the VS.Net 2003 IDE, and vice versa. Has anyone else tried to do this?

Ike Starnes


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyayBBcnRlYWdhIDxNVlA+?=
Guest
Posts: n/a
 
      17th Nov 2004
You cannot debug the DLL when it's called from C#. You can use MessageBoxes
in the C++ dll or output some debug statements to a textfile. I think there
is also a way to have EVC to run your application if it's on the device but
I'm not 100% sure.

---
Mark Arteaga
..NET Compact Framework MVP
www.neotericsdc.com

"Ike Starnes" wrote:

> I have created a WinCE native DLL using EVC4. I call that dll from a C#
> compact framework
> application written using VS.Net 2003. How can I debug the dll.
> If I run the emulator from inside the EVC4 IDE, then I can't "connect" to it
> from
> the VS.Net 2003 IDE, and vice versa. Has anyone else tried to do this?
>
> Ike Starnes
>
>
>

 
Reply With Quote
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      17th Nov 2004
Take a look at this article by Alex Feinman:

http://www.opennetcf.org/Articles/pi...ng/pidebug.asp

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

"Ike Starnes" wrote:

> I have created a WinCE native DLL using EVC4. I call that dll from a C#
> compact framework
> application written using VS.Net 2003. How can I debug the dll.
> If I run the emulator from inside the EVC4 IDE, then I can't "connect" to it
> from
> the VS.Net 2003 IDE, and vice versa. Has anyone else tried to do this?
>
> Ike Starnes
>
>
>

 
Reply With Quote
 
Ike Starnes
Guest
Posts: n/a
 
      17th Nov 2004
Yes, that helps. Thanks.

And, in case anyone else reads this, you can install the .Net CF Framework
onto the
emulator by downloading the x86 .CAB file from here:
http://www.microsoft.com/downloads/d...displaylang=en

copy it to the PocketPC, and then run the .CAB file (click on it).

Again, thanks for your help.

Ike

"Alex Yakhnin [MVP]" <(E-Mail Removed)> wrote in message
news:F2619D77-FEE7-4729-99A9-(E-Mail Removed)...
> Take a look at this article by Alex Feinman:
>
> http://www.opennetcf.org/Articles/pi...ng/pidebug.asp
>
> --
> Alex Yakhnin, .NET CF MVP
> www.intelliprog.com
> www.opennetcf.org
>
> "Ike Starnes" wrote:
>
>> I have created a WinCE native DLL using EVC4. I call that dll from a C#
>> compact framework
>> application written using VS.Net 2003. How can I debug the dll.
>> If I run the emulator from inside the EVC4 IDE, then I can't "connect" to
>> it
>> from
>> the VS.Net 2003 IDE, and vice versa. Has anyone else tried to do this?
>>
>> Ike Starnes
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 2005 Pocket PC 2003 SE Emulator and .NET Compact Framework v2 R. J. Dunnill Microsoft Dot NET Compact Framework 1 4th Jun 2006 09:59 AM
updating the vs.net 2003 emulator with compact framework sp3 (yes,the emulator) Tim Wilson Microsoft Dot NET Compact Framework 1 10th Sep 2005 05:41 PM
Debug Mode with Pocket PC 2003 emulator.. Pico Microsoft Dot NET Compact Framework 1 21st Dec 2004 04:18 AM
How To Copy File using compact framework from Desktop to Pocket PC device when application is running on Pocket PC msnews.microsoft.com Microsoft Dot NET Compact Framework 2 10th May 2004 06:11 AM
How To Copy File using compact framework from Desktop to Pocket PC device when application is running on Pocket PC msnews.microsoft.com Microsoft Dot NET Compact Framework 0 8th May 2004 09:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.