Home

Action
Log In

Site Contents
Classified Ads
Developer's Corner
Download Software
Links
Mobile Channels
News
Pocket PC Forums
Reviews
Technical Support
Tips and Tricks
Vendors and Products

Administration
Webmaster

Search


Location: HPC.net for PocketPC
Pocket PC Forums
Development - Windows CE
Help plz! Copying registry values.
Search:

Title:

Help plz! Copying registry values.

From:

ACiD

Email (Optional):

acid@itsoft.ru

Added:

4/15/2001 9:03:33 AM

Message:

Hello. I need to get one regisry value one create copy of this value in new param. (PocketPC, Emb. Visual C++ 3.0). I tryed this way:



HKEY MyKey;

RegOpenKeyEx(HKEY_CURRENT_USER,TEXT("\\Path\\to\\key"),0,0,&MyKey);

LPDWORD lpType;

LPBYTE lpData;

LPDWORD lpcbData;

RegQueryValueEx(MyKey, TEXT("Old_key"), NULL, lpType, lpData, lpcbData);

RegSetValueEx(MyKey, TEXT("New_Key"), 0, *lpType, lpData, *lpcbData);

RegCloseKey(MyKey);



Unfortunately, this code doesn't work and I cant catch, what's wrong... :(



Any idea? Maybe any more ways?


All Contents Copyright (c) 2017 Bongiovanni Research & Technology, Inc.