Click here to Skip to main content
15,900,973 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Any free compilers that support this? Pin
CSharpDavid1-Dec-05 5:12
CSharpDavid1-Dec-05 5:12 
Questionhey.. im still waitin for sum1 to help me :-( Pin
annp22-Nov-05 20:17
annp22-Nov-05 20:17 
Questionembedding database on cd Pin
karanba21-Nov-05 13:50
karanba21-Nov-05 13:50 
QuestionHow to check the driver in Embedded windows xp Pin
LaHaHa17-Nov-05 15:35
LaHaHa17-Nov-05 15:35 
QuestionHow to Launch Program on Reset? Pin
RCush16-Nov-05 0:38
RCush16-Nov-05 0:38 
AnswerRe: How to Launch Program on Reset? Pin
DasdaDAS21-Nov-05 2:04
DasdaDAS21-Nov-05 2:04 
QuestionNew to mobile development Pin
tonyyeb15-Nov-05 4:52
tonyyeb15-Nov-05 4:52 
QuestionCurious problem with CryptAcquireContext Pin
Colin Angus Mackay15-Nov-05 0:50
Colin Angus Mackay15-Nov-05 0:50 
I'm having a problem with CryptAcquireContext in a .NET Compact Framework application running on the Pocket PC Emulator 2002. On a Pocket PC 2003 Second Edition (a real device) it seems to work fine.

The line of code I'm having a problem with is:
WinApi.CryptAcquireContext(ref hProv, null,
   "Microsoft Enhanced Cryptographic Provider v1.0",
   1, // PROV_RSA_FULL
   0xf0000000); // CRYPT_VERIFYCONTEXT


WinApi is a class that contains the definition of all the PInvoked
methods.
[DllImport("coredll.dll")]
public static extern bool CryptAcquireContext(
   ref IntPtr phProv, string pszContainer, string pszProvider,
   uint dwProvType, uint dwFlags);


The problem is that on my machine, running the code produces an error 0x80000005

When I tried the code on a collegues machine, her Pocket PC 2002 Emulator produced a differernt error message. She got 0x80090019 on the same function call. I don't understand why there is a difference - both should be set up identically, but I guess there is something different that neither of us is aware of.

Finally, we tried to deploy it to a real Pocket PC device (PPC 2003 Second Edition) and it worked fine.

I need the code to work on PPC 2002 onwards. Does anyone have any idea why I am seeing different results? Or have any idea of how to fix this?



My: Blog | Photos

"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucious


AnswerRe: Curious problem with CryptAcquireContext Pin
cmk25-Nov-05 3:26
cmk25-Nov-05 3:26 
Questionudp failure in WindowsCE 4.2 Pin
DasdaDAS14-Nov-05 23:42
DasdaDAS14-Nov-05 23:42 
AnswerRe: udp failure in WindowsCE 4.2 Pin
vikas amin15-Nov-05 22:48
vikas amin15-Nov-05 22:48 
QuestionMultilingual Support for PPC2003? Pin
ahmadzafar11-Nov-05 23:28
ahmadzafar11-Nov-05 23:28 
QuestionHelp..., How to start programming database application for Win CE.Net using VB.Net correctly? Pin
Zakiah10-Nov-05 23:37
Zakiah10-Nov-05 23:37 
AnswerRe: Help..., How to start programming database application for Win CE.Net using VB.Net correctly? Pin
SpeBeeTo5-Dec-05 5:11
SpeBeeTo5-Dec-05 5:11 
Questionrecvfrom() - blocked in Win CE 4.2 Pin
DasdaDAS10-Nov-05 22:29
DasdaDAS10-Nov-05 22:29 
QuestionVS2005 native code for WinCE.NET 4.2 Pin
besmel9-Nov-05 21:45
besmel9-Nov-05 21:45 
Questionremote login Pin
eero_p9-Nov-05 20:16
eero_p9-Nov-05 20:16 
Question.NET With Bluetooth Pin
Newbie_Toy9-Nov-05 17:46
Newbie_Toy9-Nov-05 17:46 
QuestionNeed help getting a screenshot from a ce device Pin
RBlyth7-Nov-05 22:37
RBlyth7-Nov-05 22:37 
Questionwindows pocket pc 2003 Pin
hytechpro_gaurav6-Nov-05 18:26
hytechpro_gaurav6-Nov-05 18:26 
QuestionPrinting in .net Compact Framework Pin
tkaub16-Nov-05 1:09
tkaub16-Nov-05 1:09 
AnswerRe: Printing in .net Compact Framework Pin
Jumba66663-Feb-06 10:44
Jumba66663-Feb-06 10:44 
QuestionFinding/Setting CPU speed XSCALE Pin
2hdass5-Nov-05 3:51
2hdass5-Nov-05 3:51 
Question.NET Compact Framework and Diaog Form Pin
smoitry3-Nov-05 12:26
smoitry3-Nov-05 12:26 
QuestionWM_DEVICECHANGE? Detecting new hardware under WinCE? Pin
Roland E.3-Nov-05 2:53
Roland E.3-Nov-05 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.