|
I see that you've got a jump on this PPC programming once the Axim arrived. I was exactly like that.. I think within 30mins of the box being opened and ActiveSync being installed, i had the eVT3 exe being downloaded.
Are you writing your code for use in .NET or just plain ole WinCE? My Toshiba doesn't come with .NET CF pre-installed and I'm scared to whether I should install it or not; I don't want to mess with 'my preciousssss'
Happy coding!
Paul van der Walt wrote:
It's a pity a person can't run compiled apps
The emulator can only run x86 (or x86em) compiled WinCE code.
I prefer to wear gloves when using it, but that's merely a matter of personal hygiene
[Roger Wright on VB]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
[Rich Cook]
|
|
|
|
|
|
Dear Friends,
Does anybody know how to access ActiveX Control file path(ocx file path) dynamically inside ActiveX Control. Is there any API or any method is present please suggest me.
Thanks in advance,
Salini
|
|
|
|
|
using .net compact framework
***************************************************************
My form must load and the first field must be focused upon. I can do this just fine.
However, I'm working on a project where the user has a bar-code reader sleeve on his iPaq. This simply acts like a SIP and saves him time entering data, it reads it in for him.
This scanner software shows a quick popup message upon the first scan, all subsequent scans are normal with no popups.
When this popup occurs it takes the focus off of my form and the form field I want focused.
How do I force the form to stay on top regardless of any other programs that decide to run/popup?
I've tried the LostFocus event, can't seem to get it to do anything (calling this.Focus() or formField.Focus())
Thanks!
****************************
V. Jenks
www.scientifik.com
|
|
|
|
|
I have a database made up of records that contain two properties, an unsigned int and a string. I want to search the database by the int, without knowing the word. Therefore, I cannot seek by CEOID.
However, I am having problems seeking my database by a PROPID. If I specify in CESeekDatabase that I am seeking for the first equal value, then specify that I am searching by the sorted property CEVT_UI2, the unsigned int value, then there is no parameter left to specify the value I am searching for. How should I search this database for just one property of the records?
I'm developing for Windows CE 3.0, using Embedded Visual C++. Any help would be greatly appreciated. Thanks a lot.
|
|
|
|
|
How can I set font to menu ? Or just need to type an Unicode string in resources editor for a menu
|
|
|
|
|
I have a string. Now I want to send this string as an email to Outbox of Outlook, so that when user connect to Internet, he can send this mail. What API ?
|
|
|
|
|
Hi,
I just Tried with the FTP session for my project using Embeddded VisualC++ 3.0.
After using InternetOpen, InternetConnect Api's, I just procedded with the FtpSetCurrentDirectory, FtpFindFirstFile. But when compiled I get the error 'FtpSetCurrentDirectory' : undeclared identifier.
I have used those as below
FtpSetCurrentDirectory(ftpsession, directory );
FtpFindFirstFile(ftpsession, TEXT("*.*"),&file_data,NULL,NULL);
I have also included the Wininet.h, wininet.lib for the x86 Processor & using the HandHeldPC Emulator.Can any one tell me how to solve this problem.
Its very urgent.
Thanks in advance
Soma
somu@softcrylic.com
J.Somasundaram
|
|
|
|
|
Hello,
Which API function can get the version of CE?
Thanks.
Tsung-Yu
|
|
|
|
|
Have you tried GetVersionEx ?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Hello,All;
I have a project that upgrade from CE3.0(using eVC3.0) to
CE.NET 4.1/4.2(unsing evc4.0sp2).
How to upgrade those c++ source code?
I only have a method that creating new project and copy orginal code,and then recompile it.
Does anyone have more easy method?
Joye
|
|
|
|
|
Hi all!
Let me explain my problem: I need my application to be closed 'completely'. I achieve this by removing the 'smart minimize' button and replace it by the OK button (I tried to remove all two but it doesn't work).
So, that works fine but now I want to know when the user clicked on this button (so I can ask him if he wants to leave without saving or stay in the program). How can I do this?
Another solution would be also to remove completely the 'smart minimize' and the Ok button (I've another exit button on my toolbar).
Any idea?
Thanks
|
|
|
|
|
Have you tried the following code to remove both buttons (the OK and the minimize button)?
SHDoneButton(m_hWnd, SHDB_HIDE);
ModifyStyle(0, WS_NONAVDONEBUTTON, SWP_NOSIZE);
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I tried but WS_NONAVDONEBUTTON is undeclared !!
I have this error at compilation:
C:\MEC\Sources Pocket\CVVisual\MainFrm.cpp(107) : error C2065: 'WS_NONAVDONEBUTTON' : undeclared identifier
In wich header file is it declared ?
Thanks for your response !
|
|
|
|
|
WS_NONAVDONEBUTTON is defined as:
#define WS_NONAVDONEBUTTON WS_MINIMIZEBOX
while WS_MINIMIZEBOX is defined as:
#define WS_MINIMIZEBOX 0x00010000L
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/programming_pocket_pc_2002_iguu.asp
|
|
|
|
|
Hi !
I replaced WS_NONAVDONEBUTTON by WS_MINIMIZEBOX and that works fine!
Thanks
|
|
|
|
|
I wrote an MFC-based application in eVC 3.0 (Single Document Style). But when I run my program, there's always a New button in the left-bottom of my screen. I want to hide it !
|
|
|
|
|
|
What is the disadvantages of PocketPC and Windows CE 3.0 about memory storage ? Can you give me some informations or give me a link about it? I want to know the maximum RAM of HP Jornada (PPC 2002),...
|
|
|
|
|
I'm not sure exactly what it is you want to know.
The working RAM of a CE device is divided into 'program' and 'object store' areas. The division is adjusted on demand on all Windows CE devices; Pocket PC has a background thread that adjusts when the device is idle.
The 'object store' is your semi-permanent storage mechanism. It contains the registry, the in-memory file system (typically, but not necessarily, the root file system) and the property databases used by some applications (e.g. Contacts, Inbox, Tasks, Calendar on the Pocket PC). The contents of the object store are lost when the device power runs out or the device is fully reset. Check the device manual for how to do this.
The system ROM is also part of the file system, but it's aliased. The parts that are binaries are in Execute-In-Place format, i.e. the system functions run directly from ROM. Some OEMs shadow this area in RAM, which isn't then available to the system as RAM. You can never delete something from ROM, but you can copy a file to RAM with the same name which will be used instead.
The object store is transactional, but only with respect to file system structures and registry data. If the device is reset before a write completes, you may lose some of your data, but the file system will still be readable.
Finally, the object store is compressed, using one of two algorithms. They're both Lempel-Ziv compression (similar to the ZIP file format), however, one treats all the bytes in sequence, whereas the other compresses the odd and even bytes separately. For a Unicode UTF-16 file, this can often reduce the even byte stream to a simple run of zeros. Files opened with the FILE_FLAG_RANDOM_ACCESS flag are allegedly not compressed.
Any storage cards are currently formatted with the FAT file system - non-transactional, but write-through rather than write-back cached. Storage cards cannot be accessed as working program memory.
Windows CE is a demand-paged operating system: it will only load pages of executable images as they are required. Read-only pages can be discarded and reloaded; writeable pages cannot be discarded once they're written. CE is quite aggressive at removing pages that haven't been used recently.
Finding out how much physical memory is available is a bit tricky. I think you need to use GetSystemMemoryDivision to find out how many physical pages are allocated to working program memory and how many to the object store. Adding the two together gives the memory size.
|
|
|
|
|
How do I send data through the parallel port in C#... in other words... can i?
/\ |_ E X E GG
|
|
|
|
|
Hello All
I am developing in eVC++ an application that reads from the serial port the binary data sent by a GPS receiver (Sirf protocol)
The way of reading is the typical one, with a thread as shown in the tty example (Pocket PC 2002). Every time a character arrives, I do more or less the following:
BOOL bReturn = TRUE;<br />
DWORD dwCodsError, dwNumBytes, dwNumBytesRead; <br />
COMSTAT ComState;<br />
unsigned char BufferRead[5600];<br />
<br />
ClearCommError(m_hPort, &dwCodsError, &ComState);<br />
dwNumBytes=ComState.cbInQue;<br />
if(dwNumBytes>0)<br />
{<br />
bReturn=ReadFile(m_hPort, BufferRead, dwNumBytes, &NumBytesRead, NULL);<br />
}
The problem is that the application does a lot of work, and from time to time, when the application is busiest, I lose some of the messages of the reveiver. In such cases, I have notice that cbInQue value is 2047, and that it never exceeds that number. I guess that is the maximum value of the Port Serial buffer-in. That should be the reason why subsequent messages are not stored in the buffer.
At present I am trying not to overload so much the application, but I would like to know if it is possible to change the buffer-in size. In this way, I would not lose so many messages. I have tried with:
SetupComm(m_hPort,BUFFER_IN_SIZE,BUFFER_OUT_SIZE);
with BUFFER_IN_SIZE = 4095 and BUFFER_OUT_SIZE = 2047, but it doesn't work.
Any Suggestions?
Thanks in Advance
PD: I am using the Emtac PCMCIA GPS receiver (just in case it was a problem with the driver)
Carlos
|
|
|
|
|
Try to increase the priority of the reading thread!
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Does anybody know, how to get the free disk space using RAPI, even in case of storage cards.
CeGlobalMemoryStatus does not provide enough information.
I'm out of ideas.
With best regards
Klaus Langelüddeke
|
|
|
|
|
I think you'll have to write a DLL for the device which calls GetDiskFreeSpaceEx , and invoke it from the desktop with CeRapiInvoke .
The Pocket PC 2002 SDK includes a sample called CeInvoke, typically located at C:\Windows CE Tools\wce300\Pocket PC 2002\samples\win32\Ceinvoke .
|
|
|
|