|
Ok, I did some more reading and I'm guessing the function (SetScrollRange())is not available for the Pocket PC, but an overloaded one is, but I need to pass the handle of the scroll bar into the function call.
How can I get the handle of a scrollbar from a class that is derived form the CScrollView class so that I might be able to pass it into it?
Thanks again,
ar
|
|
|
|
|
Dear All..
I am going to work on build an SMSC (Short Message Service Centers) application (SMS Connector to GSM Server) and i am new with dealing this subject in vc++, i make my own research on this field but i had good idea about the hole process of SMSC but i still need technical information so if there is any one had been worked on something like that to help me with this application or if anyone know web site i can use to guide me in that i will be grateful..
Best Regards,
Rasha
|
|
|
|
|
Is there any way, programmatically, for preventing lost data whenever I
hard-reset PocketPC2002 and PocketPC2003?
In the other word, I need to run a specific .exe file after my PocketPC2002 and PocketPC2003 boot-up
(power-up) .
Any Answer is most welcome.
Regards
Patra
|
|
|
|
|
Storage:
Internal flash rom (such as the iPAQ file store) or external storage devices (CF, SD, etc) if your device offers such capabilities.
Running an exe after a cold boot:
If you use an external storage device, the os will look for \[storage device]\[processor type]\autorun.exe when it boots (or when a card is reinserted). As for internal flash rom, I dont know.
[Edit: removed < and >]
/Jonas
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
Thanks for your reply.
How can i know storage device folder name programmatically for different device like IPAQ,TOSHIBA,Imate,Dell etc .
Regards
Patra
|
|
|
|
|
Im not sure you can do this with 100% certainty on all possible pda + external devices combinations. SHGetSpecialFolderLocation/Path might help you.
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
I have already done this on the past with an iPAQ 5450 and 3850. The iPAQ File Store folder operates as a flash card when the device is cold booted, so placing an autorun.exe under a \iPAQ File Store\2577 folder will achieve the effect you desire. Beware of removable cards because if any of these is inserted upon cold boot, it will receive higher priority: the autorun.exe on the \iPAQ File Store\2577 folder will not be run.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
What are my options if I want to use SOAP for an application developed using eVC++ 4?
|
|
|
|
|
|
Thank you.
One more question:
Are there any issues in serializing a class in Pocket PC and desrializing it in Windows XP and vice-versa, or is this possible at all?
|
|
|
|
|
If you mean data binary compatibility with ARM, the answer is yes. You can serialize a structure to a file using WriteFile on the desktop and read it on the Pocket PC with ReadFile .
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
I'm only scratching the surface here. The application that I'm writing needs to transfer commands (text) and binary data (pictures) to and from Pocket PC. So, I'm trying to decide what is the best way to transfer the binary part.
I'm not sure if using WriteFile would apply in my case, since I need to write to the disk first and read back again.
A sort of in-memory solution would be more elegant, with no performance penalty. (I'm coming from C#, where you can serialize a class in memory and send it down the socket to be read by the other party)
Any ideas?
Your comments are valuable.
|
|
|
|
|
no_reg_name wrote:
I'm not sure if using WriteFile would apply in my case, since I need to write to the disk first and read back again.
What I meant is that data is read and written in the exact same way on the PPC and the Desktop.
no_reg_name wrote:
So, I'm trying to decide what is the best way to transfer the binary part.
Don't change it: send it as it is. The Pocket PC will read it using the same code you use on the desktop. This will happen irrespective of the medium - I've already ported images on database blobs to and from the Pocket PC without any format changes.
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Hi All,
I am using HP, TOSHIBA & DELL AXIM PocketPC's.
How to prevent lose of data when I hard-reset my PocketPC device ?
For example, if i lost registry keys and other third party dll's which are necessary to run my application.
In the other word, I need to auto run my application after hard reset the device.
Suggestions or idea are most welcome.
Regards,
AKS
|
|
|
|
|
Put your desired cab files into the file store. This is a permanent memory which isn't lossed after a hardreset.
The cab files are automatically reinstalled after a hardreset.
|
|
|
|
|
I am using C# and developed a program. When I load it into my PC2003 iPAQ, it says the company is "My Company." How can this be changed to meaningful data?
Thank you
camasmartin
hobby programmer
|
|
|
|
|
Hello everybody,
What application should I use to debug application directly PocketPc?
thanks
|
|
|
|
|
You can download Microsoft eMbedded Visual C++ either version 3 or 4. They both debug Pocket PC.
Hope that helps, or have I missed the point?
Ant.
|
|
|
|
|
Hi,
I'm writting an application in embedded visual c++ 3.0, and I need to
encrypt and decrypt some buffers, using the Rijndael encryption. Does
anybody have any code, components or links related to that?
Thanks!
Arnau
|
|
|
|
|
Hello all!
I'm just starting out with the PPC and was stepping through a super simple sample (ie. create a project and compile it - deploy to emulator and run). Nothing at all exciting or hard.
I'm able to get the simple wizard generated project to compile and run on the emulator. What I'm having a problem with is that when I try to go to the form (the project is a Windows Application), it displays the following error message:
"An error occurred while loading the document. Fix the error, ...
File or assembly name EnvDTE, or one of its dependencies, was not found."
I can't find a reference to it anywhere and when I actually try to add the DLL as a reference (envdte.dll), it doesn't help. Neither can I add it as "envdte" or "Microsoft Development Environment" (or whatever it was called in a article I found to try and solve the problem).
So, what do I need to do so that I can actually add things to the form?
Any help will be appreciated!
Thanks,
Mike
|
|
|
|
|
Please state what development environment you are using: VS.Net, eVC3, eVB, eVC4?
Regards,
João Paulo Figueira
Embedded MVP
|
|
|
|
|
Sorry. Forgot to put that. I'm using VS.Net 2003. Do I need to install anything else?
Thanks,
Mike
|
|
|
|
|
|
Thanks. I'm sure that would be it since I haven't installed anything for the Pocket PC.
Thanks for the article reference. It's next on my list when I get some spare time.
Thanks again,
Mike
|
|
|
|
|
Hi,
How can I remove the default menu on the command bar to the right hand side which is for the keyboard etc. I've tried such things as
CMenu* KBmen = m_wndCommandBar.GetMenuBar(m_wndCommandBar.GetNumButtons()-1);
KBmen->DestroyMenu(); // Detach();
m_wndCommandBar.ResetCommandBar();
But I'm very new to CE (palm top) development am having a few problems.
Thanks,
ar
|
|
|
|