|
Hi!
I have a problem, query is : "SELECT COLUMN_NAME, DATA_TYPE FROM INFORMATION_SHEMA.COLUMNS", then result DATA_TYPE field is empty, why ?
OS:WIN CE
DEV:eVC++ ADOCE MSSQL
|
|
|
|
|
Do you get a proper value from COLUMN_NAME ? Note that DATA_TYPE is a numeric value.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
I want to know the use of parameter nEscape?
could you give me a sample, or some information about the mening and use of this parameter?
thanks!
int ExtEscape(
HDC hdc,
int nEscape,
int cbInput,
LPCSTR lpszInData,
in cbOutput,
LPSTR lpszOutData
);
free like a bird!
|
|
|
|
|
I'm trying to compile a simple nothing wizard generated app with EVC 4.0 (with EVC4 SP2 applied). This project works just fine in EVC 3, so I'm at a loss as to what the problem is.
Here is the compile error I get:
C:\Tests\Embedded PDA\TryAgain\TryAgain.rc(11) : fatal error RC1015: cannot open include file 'afxres.h'.<br />
Error executing rc.exe.<br />
I've tried changing the include directories to point at the PPC 2003 SDK but it still doesn't compile. I guess it's better (or at least different) because before it was complaining about not finding AYGSHELL.H.
I know it's probably something simple, but it's gotten the best of me. I've tried uninstalling and reinstalling but it doesn't seem to help.
Thanks for any help,
Mike
|
|
|
|
|
Hi,
I'm pretty new to CE and have just started writing an app for a board with has a flash disk. I'm wondering how (if possible) to move the object store so that it resides on the flash disk.
Any ideas would be appreciated.
Henry
|
|
|
|
|
Hello,
A small question:
What happens with timers running in an app when the device goes into suspension and then wakes up?
e.g. A timer that is fired every 2 minutes, the timer has run for 1 minute when device goes into suspension.. When the device wakes up, will that timer fire its event after 1 minute (the remaining time when device got suspended) or 2 minutes (its actual fire interval) or another time-interval (depending on time device was suspended)??? or will the app keep firing the events while the app is suspended?
Thanks for any help...
Greetz,
Davy
|
|
|
|
|
You can check it yourself: make a small application wich fires a timer (every 5 minutes for example) and there, open a file and print the current time. Run your app and test it with suspension mode...
|
|
|
|
|
Hi All,
Here I'm facing a problem in PocketPC2003 that, when I'm going to Ping a URL using InternetOpenURL() API then it is getting success but I'm actually not connected to the Internet. Can anybody tell me how to Ping an URL without using InternetOpenURL()to know internet connectivity in the PocketPC2003.
Any kind of answer is most welcome.
Regards
Gopa
|
|
|
|
|
Hi,
I want to create a little Mobile Application that is connected to a database.
My question : shall I need to use SQL CE or is it possible to use a Microsoft Access Database ?
If yes can someone give me the connection code.
Thx
Sybux
|
|
|
|
|
What language will you be using?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
|
You can use either SQL CE or "Pocket Access". The first is directly supported by .NET CF, so you will find classes to use this engine. For "Pocket Access", you will have to purchase a library from In The Hand[^].
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
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
|
|
|
|
|
Hi,
I'm sure this should be easy. How do you determine what button the user clicks on in a msgBox.
I have a msgBox with an OK and Cancel button and just want to exit the method if the cancel button is clicked.
|
|
|
|
|
Does anyone know how I can shut down the device?
Not suspend or reset but actual shut down.
I once had a link to a page that had the answer to that, but I never needed it up to now, and now the link is dead bummer...
Thanks for any help you might provide,
Greetz,
Davy
|
|
|
|
|
Is there a place that I can specify files in addition to the project output (usually EXE)? This pertains to EVC3 & EVC4.
This is so that I can have one project copy 3rd-party DLLs to the PDA (especially the emulator) so I don't have to keep copying them on a fresh image of the PDA.
I've looked at every setting I could find to no avail. Hopefully someone who has done this longer than me (not a hard feat, since this is only my second week) will know how/where to put them.
Could it be as simple as making them dependencies for the project and just turning off the compile option for them? I'll go try that now.
Thanks in advance,
Mike
|
|
|
|
|
Oops, I don't think there is a way.
|
|
|
|
|
That would be a real bummer.
Ah well, if that's the way it is, I'll just have to find a work-around.
Thanks,
Mike
|
|
|
|
|
How do I do a right click in the emulator (EVC3 & EVC4)?
I've had the need to rename a couple of files after copying them from my dev computer but to no avail on the emulated PDA. Does anyone know how or can point me to keyboard short-cuts for the emulator?
Thanks,
Mike
|
|
|
|
|
I am not sure this is your want. To right click, Press the left mouse key and don't release. The context menu will be shown. Like you use your tap pen tap on a PDA's screen.
|
|
|
|
|
Okay. I'll try that again, but when I did that I seem to remember that it was the same as clicking with the right mouse key. Hopefully, I'm mis-remembering.
Thanks,
Mike
|
|
|
|
|
I tried it again, and you're right. It's just that in this case with the EVC3 emulator, it was, for some reason, taking WAY too long before it registered. If I click and hold it for 5-10 seconds, it then registers and SLOWLY starts drawing the dotted circle and then gives me the context menu.
Whew! Who knew?
Thanks again for your help!
Mike
|
|
|
|
|
Did XP sp2 change something in the EVC4 arena?
I've just inherited a project that needs to compile in both EVC3 and EVC4. I've not had a problem with EVC3 at all. I'm pretty sure that I was able to get it to compile in EVC4 at one point right after I got the project.
Today, I've installed SP2 and now I get compile errors on SHRGINFO and related things. The PDA that I was given to work with this is PPC2002, so I'm not totally sure that SP2 is the problem.
Anyone else experience problems after SP2?
Thanks,
Mike
|
|
|
|
|
yep, i cant install eVC4 on my XP-Prof.SP2-Machine!
I am sure that SP2 is the problem because i have no problems on my non-SP2 Machines.
There is no further Information (so far i know) on the SP2-Readme and the Microsoft-Support Site.
Greetings,
Thomas
http://www.thbi.de
|
|
|
|
|
hi,all
In my EVC4 project, I need to show a 800*600 bmp picture to a window which
size is 80*50,
I do it in the window's paint function:
Paint(CDC& dc)
{
CDC memDC;
memDC.CreateCompatibleDC(&dc);
HBITMAP oldBmp = (HBITMAP)::SelectObject(memDC.m_hDC, m_hBitmap);//m_hBitmap
is the my bmp picture's handle
StretchBlt(dc.m_hDC,0, 0, 80, 50 ,
memDC.m_hDC, 0, 0, 800 , 600, SRCCOPY);
memDC.SelectObject(oldBmp);
//Copy the content from Memory DC to current DC
dc.BitBlt(0, 0, 80 , 50, &m_MemDC, 0, 0, SRCCOPY);
//here, the picture was showed. But the size is not exactly as 80*50, it is
about 80*40
}
Does anyone happend it before?
And also, in msdn, in stretchBlt(), it says "The only raster operations
Windows CE supports in the dwRop parameter are SRCCOPY and SRCINVERT. Windows
CE does not support mirroring.
" What does mirroring means?
Thanks
|
|
|
|