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

Mobile

 
QuestionRemote Desktop?? Pin
colonyworker17-Jun-03 10:46
colonyworker17-Jun-03 10:46 
GeneralLB_INITSTORAGE Pin
IceBerG7115-Jun-03 23:23
IceBerG7115-Jun-03 23:23 
Questionhow to set bypass listt for the proxy for IE 5.5 on Windows CE .NET Pin
subramjobmail15-Jun-03 18:30
subramjobmail15-Jun-03 18:30 
GeneralResizing Images in Palm OS Pin
minus14-Jun-03 8:17
minus14-Jun-03 8:17 
GeneralThread synchronization in .NET CF Pin
Grommens12-Jun-03 23:48
Grommens12-Jun-03 23:48 
GeneralHiding Start Menu alone in Win CE 2.11 Pin
AKSIVAKUMAR12-Jun-03 20:23
AKSIVAKUMAR12-Jun-03 20:23 
Generaldatabase problems on CF card Pin
majoob12-Jun-03 10:11
majoob12-Jun-03 10:11 
GeneralRe: database problems on CF card Pin
Jonas Larsson12-Jun-03 21:42
Jonas Larsson12-Jun-03 21:42 
majoob wrote:
Right now the only work-around I can think of is to detect when the device is being suspended, and clean up/close the database, then re-initialize everything when the device is resumed. However, I can't find how to detect either suspend or resume.

I've had the similar problem with power off/on wrt the COM port. I used the following to fix the problem:

In my main exe I register a notification handler tied to NOTIFICATION_EVENT_WAKEUP that will be executed every time power is turned on:
<br />
    CE_NOTIFICATION_TRIGGER nt;<br />
    TCHAR szExeName[] = TEXT("\\windows\\XXXEventManager.exe");<br />
    TCHAR szArgs[] = TEXT("-P");<br />
 <br />
    memset (&nt, 0, sizeof (CE_NOTIFICATION_TRIGGER));<br />
    nt.dwSize = sizeof (CE_NOTIFICATION_TRIGGER);<br />
    nt.dwType = CNT_EVENT;<br />
    nt.dwEvent = NOTIFICATION_EVENT_WAKEUP;<br />
    nt.lpszApplication = szExeName;<br />
    nt.lpszArguments = szArgs;<br />
<br />
    hNotificationHandle  = CeSetUserNotificationEx (0, &nt, NULL);<br />


Then in XXXEventManager.exe I notify my com-port handler that it needs to reinit itself.

In my case, that was housed in a DLL that I could load and reinit, but I guess it could be handled in many ways, even w/o an extra exe-file.


Just remember to call CeRunAppAtEvent(PathToYourExe, NOTIFICATION_EVENT_NONE) somewhere when you dont need the notification anymore, otherwise you will never get rid of the notification w/o a hard reset.

majoob wrote:
Anyone know what's going on with the CF card?

I know too little about how the CF port get mapped/mounted to even try to answer that. =)

“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
GeneralRe: database problems on CF card Pin
majoob23-Jun-03 10:22
majoob23-Jun-03 10:22 
Generalabout base64 and pictureBox Pin
ghmay11-Jun-03 16:08
ghmay11-Jun-03 16:08 
GeneralWS and SCA wont connect in vs emulator Pin
gadgetfbi11-Jun-03 13:56
gadgetfbi11-Jun-03 13:56 
GeneralCan't disable level 2 menu item Pin
Travis10111-Jun-03 9:57
Travis10111-Jun-03 9:57 
GeneralRe: Can't disable level 2 menu item Pin
Travis10112-Aug-03 11:37
Travis10112-Aug-03 11:37 
GeneralCOMMUNICATING WITH A GSM MODEM Pin
Jonavis11-Jun-03 5:19
Jonavis11-Jun-03 5:19 
GeneralRe: COMMUNICATING WITH A GSM MODEM Pin
Daniel Strigl11-Jun-03 19:58
Daniel Strigl11-Jun-03 19:58 
GeneralRe: COMMUNICATING WITH A GSM MODEM Pin
Jonavis12-Jun-03 5:06
Jonavis12-Jun-03 5:06 
GeneralBarcode scanners Pin
jan larsen11-Jun-03 3:49
jan larsen11-Jun-03 3:49 
QuestionHow to Xmodem ,YModem,ZModem protocol using eVC++ in Windows CE Pin
AKSIVAKUMAR10-Jun-03 23:07
AKSIVAKUMAR10-Jun-03 23:07 
GeneralWorking with BlueTooth Pin
Cedric Moonen10-Jun-03 2:27
Cedric Moonen10-Jun-03 2:27 
GeneralRe: Working with BlueTooth Pin
Daniel Strigl10-Jun-03 19:14
Daniel Strigl10-Jun-03 19:14 
GeneralRe: Working with BlueTooth Pin
João Paulo Figueira11-Jun-03 12:36
professionalJoão Paulo Figueira11-Jun-03 12:36 
GeneralUNICODE convention Pin
Cedric Moonen9-Jun-03 23:27
Cedric Moonen9-Jun-03 23:27 
GeneralRe: UNICODE convention Pin
João Paulo Figueira9-Jun-03 23:37
professionalJoão Paulo Figueira9-Jun-03 23:37 
GeneralRe: UNICODE convention Pin
Cedric Moonen10-Jun-03 1:29
Cedric Moonen10-Jun-03 1:29 
GeneralRe: UNICODE convention Pin
João Paulo Figueira10-Jun-03 1:35
professionalJoão Paulo Figueira10-Jun-03 1:35 

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.