Click here to Skip to main content
15,923,689 members
Home / Discussions / Mobile
   

Mobile

 
GeneralTimers when device wakes up Pin
GDavy6-Oct-04 23:50
GDavy6-Oct-04 23:50 
GeneralRe: Timers when device wakes up Pin
Cedric Moonen11-Oct-04 3:22
Cedric Moonen11-Oct-04 3:22 
QuestionHow to know Internet connection exist in PocketPC without using InternetOpenURL() function Pin
Member 5710216-Oct-04 5:29
Member 5710216-Oct-04 5:29 
GeneralPocket PC, Application and Database Pin
sybux20006-Oct-04 3:25
sybux20006-Oct-04 3:25 
GeneralRe: Pocket PC, Application and Database Pin
João Paulo Figueira6-Oct-04 22:28
professionalJoão Paulo Figueira6-Oct-04 22:28 
GeneralRe: Pocket PC, Application and Database Pin
sybux20006-Oct-04 22:38
sybux20006-Oct-04 22:38 
GeneralRe: Pocket PC, Application and Database Pin
João Paulo Figueira7-Oct-04 0:04
professionalJoão Paulo Figueira7-Oct-04 0:04 
GeneralProblems with the pitch in wince! Pin
Dani1000015-Oct-04 7:28
Dani1000015-Oct-04 7:28 
I´m working on some directx functions and I need to have full control over the pixeldata pointer to a directdraw surface, It worked in Visual c++ but I get some funny stripe kind of pattern in wince, it´s supposed that the function should fill the surface with red color.

Here is the function:

<code>
<small>

void SetPixelDataPointer(win* p,IDirectDrawSurface* lpddsurf){
DDSURFACEDESC desc;
DWORD x,y;

ZeroMemory(&desc,sizeof(desc));
desc.dwSize=sizeof(desc);

if(!IDirectDrawSurface_Lock(lpddsurf,NULL,&desc,DDLOCK_SURFACEMEMORYPTR|
DDLOCK_WAIT|DDLOCK_WRITEONLY,0)){
// upload data
p->data = (DWORD*)desc.lpSurface;
p->pitch=desc.lPitch;
//detta ger endast en pekare till pixelarrayen du kan sätta
//hela arrayen mha:
desc.dwHeight=desc.dwHeight;
desc.dwWidth=desc.dwWidth;
for(y=0;y<desc.dwHeight;y++){
for(x=0;x<desc.dwWidth;x++)
#if defined(_WIN32_WCE)
p->data[x]=0xffff;
p->data+=desc.lPitch/2;
#else
p->data[x]=0x00ff0000; //fill whole array with red color
p->data+=desc.lPitch/sizeof(DWORD); //sizeof(DWORD) = 4
#endif

}
}

IDirectDrawSurface_Unlock(lpddsurf,desc.lpSurface);
}
</small>
</code>


I dont know why it is not working in wince, any ideas?

I hope someone knows something about this, thanks Dani
Generalsimple msgBox question - eVB Pin
fizzer6665-Oct-04 6:08
fizzer6665-Oct-04 6:08 
QuestionHow to switch the device off... Pin
GDavy4-Oct-04 23:41
GDavy4-Oct-04 23:41 
QuestionWhere to specify files to be loaded to PDA? Pin
MikeBeard4-Oct-04 10:16
MikeBeard4-Oct-04 10:16 
AnswerRe: Where to specify files to be loaded to PDA? Pin
Chad Cheng4-Oct-04 11:41
Chad Cheng4-Oct-04 11:41 
GeneralRe: Where to specify files to be loaded to PDA? Pin
MikeBeard4-Oct-04 15:22
MikeBeard4-Oct-04 15:22 
QuestionHow to do right-click (click and hold) in emulator? Pin
MikeBeard4-Oct-04 10:10
MikeBeard4-Oct-04 10:10 
AnswerRe: How to do right-click (click and hold) in emulator? Pin
Chad Cheng4-Oct-04 11:39
Chad Cheng4-Oct-04 11:39 
GeneralRe: How to do right-click (click and hold) in emulator? Pin
MikeBeard4-Oct-04 15:20
MikeBeard4-Oct-04 15:20 
GeneralRe: How to do right-click (click and hold) in emulator? Pin
MikeBeard5-Oct-04 4:15
MikeBeard5-Oct-04 4:15 
QuestionDid XP-SP2 change something? Pin
MikeBeard4-Oct-04 10:07
MikeBeard4-Oct-04 10:07 
AnswerRe: Did XP-SP2 change something? Pin
thbi19-Oct-04 11:32
thbi19-Oct-04 11:32 
QuestionHow to use the StretchBlt to display bmp file as a size as I want? Pin
Chad Cheng4-Oct-04 5:40
Chad Cheng4-Oct-04 5:40 
QuestionHow many lines in a text file Pin
fizzer6661-Oct-04 4:03
fizzer6661-Oct-04 4:03 
GeneralKeyboard is ON ?! Pin
Hadi Rezaee1-Oct-04 2:08
Hadi Rezaee1-Oct-04 2:08 
GeneralXML Parsing in CE Pin
Rassul Yunussov30-Sep-04 23:51
Rassul Yunussov30-Sep-04 23:51 
Generalpath environment variable Pin
ajaybrar28-Sep-04 17:10
ajaybrar28-Sep-04 17:10 
Generalfunctions in the Windows COM Interface that\n&quot;); Pin
ajaybrar26-Sep-04 17:53
ajaybrar26-Sep-04 17: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.