Threading problem in PocketPC app

  • Thread starter Pascal Schmidt-Volkmar
  • Start date
P

Pascal Schmidt-Volkmar

Hi there,

the code line
fixed (char* pChar = s)

throws the error

C:\Dokumente und Einstellungen\Pascal\Eigene Dateien\Visual Studio
Projects\PascalsMailer\QuotedPrintable.cs(310): Missing compiler required
member 'System.Runtime.CompilerServices.RuntimeHelpers.OffsetToStringData'

although I already included
using System.Runtime.CompilerServices;

What am I missing?

Thanks,

Pascal
 
I

Ilya Tumanov [MS]

This worker method is unavailable on NETCF V1, so you can't get a pointer to
the string.

A workaround would be to get character array and get a pointer to it.

If you trying to pass this pointer to the native code, you could just pass
the string instead.


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
C

Chris Tacke, eMVP

Could you maybe show a bit more code so we can see it in context?

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top