Click here to Skip to main content
15,919,434 members
Home / Discussions / Mobile
   

Mobile

 
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 
AnswerRe: Curious problem with CryptAcquireContext Pin
cmk25-Nov-05 3:26
cmk25-Nov-05 3:26 
0x80000005 - Invalid pointer.
0x80090019 - The keyset is not defined.

WinCE uses unicode, shouldn't you have L"Microsoft Enhanced Cryptographic Provider v1.0".
Or better yet, use the #defines in crypt i.e. MS_ENHANCED_PROV (MS_ENHANCED_PROV_W).

[EDIT]
Also, for the keyset error you should just create a new one:
bool  rc = ::CryptAcquireContextW(&hnd, ct, MS_DEF_RSA_SCHANNEL_PROV_W, PROV_RSA_SCHANNEL, F);
if(  !rc ) {
	ulong  err = GetLastError();
	if( err == NTE_BAD_KEYSET ) {
		rc = ::CryptAcquireContextW(&hnd, ct, MS_DEF_RSA_SCHANNEL_PROV_W, PROV_RSA_SCHANNEL, F|CRYPT_NEWKEYSET);
		if( !rc )  err = GetLastError();
	}
}
[/EDIT]

[EDIT2]
Ok, Ignore the first EDIT, it's the same as shown in the MSDN docs (which i assume you've seen).
It's also for error 0x80090016 - Keyset does not exist.

From:
http://support.microsoft.com/default.aspx?scid=kb;en-us;238187[^]
NTE_KEYSET_NOT_DEF (0x80090019):
The Crypto Service Provider (CSP) may not be set up correctly. Use of Regsvr32.exe on CSP DLLs (Rsabase.dll or Rsaenh.dll) may fix the problem, depending on the provider being used.

So i would guess that the coding error is 0x80000005, and that her machine doen't get to that point because it's not setup right.
[/EDIT2]

...cmk

Save the whales - collect the whole set

-- modified at 9:35 Friday 25th November, 2005
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 
AnswerRe: WM_DEVICECHANGE? Detecting new hardware under WinCE? Pin
vikas amin15-Nov-05 21:42
vikas amin15-Nov-05 21:42 

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.