Google Answers Logo
View Question
 
Q: Calling C# dll from Embedded Visual C++ ( No Answer,   0 Comments )
Question  
Subject: Calling C# dll from Embedded Visual C++
Category: Computers > Programming
Asked by: alitech-ga
List Price: $50.00
Posted: 15 Jul 2006 09:52 PDT
Expires: 24 Jul 2006 09:20 PDT
Question ID: 746593
I need to call methods of a C# dll on a "Pocket PC 2003 Device". We
are using Embedded Visual C++ 4 and the wxWidgets framework. The
challenge is calling the C# dll from Embedded Visual C++. Since the
methods accept C# arguments such as System.String, System.Int32, or
user defined C# types like MY.SDK.AlarmFilters . I need to know how to
convert C++ type to does C# types. Also to convert them back.

To get started go here:
http://www.wxwidgets.org/wiki/index.php/Developers_Notebook-WxWinCECompiling
and follow instructions "Compiling wxWinCE for Windows CE 4.x". You
need to compile for the "Pocket PC 2003 Emulator".

After compiling wxWidgets over-write the file
\wxWidgets-2.6.3\samples\minimal\minimal.cpp with the this minimal.cpp
( http://fwhome.gotdns.com/~arezafar/minimal.cpp ) and follow the TODO
notes in the code.

Our goal is to use the methods of C# dll so if there are better means
of doing this we are open to that. We have already  considered and
dismissed wx.NET since it has not been tested on the embedded
platform.

Here are couple of more resources:
http://wxforum.shadonet.com/viewtopic.php?t=6497&highlight=system+string
http://p2p.wrox.com/topic.asp?TOPIC_ID=16672
http://www.pcreview.co.uk/forums/thread-1428079.php
http://groups.google.com/group/microsoft.public.dotnet.general/browse_thread/thread/bb1310255cabab30/3a98bcfc17fee9d2?lnk=st&q=c%2B%2B+%22System.string%22&rnum=20&hl=en
http://msdn2.microsoft.com/en-us/library/system.string.aspx

Please provide step-by-step instructions on how to do this. I would
test the proposed answer before accepting it.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy