|
|
Hi guys
I have been trying to write a code that gets and sets the size of the virtual memory paging file in Windows CE 6.0 ( for smart devices ).
Is it even possible? if so then how is it done? any API functions? or ...? please help me out
|
|
|
|
|
There isn't one. Windows CE does not page to storage. It is still demand-paged, pages are only fetched from storage or allocated when touched, and pages that haven't been written to can be discarded, plus memory-mapped file pages can be discarded once written back. But private pages that have been written to are not written out to a page file, they stay in main memory.
This is because the traditional primary storage for a Windows CE device is RAM. Writing a copy to a page file simply uses twice as much RAM. It's faster and simpler to keep the data in program memory in the first place.
The division between RAM used for running programs, and RAM used for storage, can be changed at runtime. The API is named SetSystemMemoryDivision. The default division is up to the OEM but is typically 50/50 - half given to programs, half to storage.
Windows Mobile 5.0 and later support Persistent Storage, and I believe it's an option for custom CE platforms. Here, the root file system is actually implemented on Flash, but there's still no support for paging.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
hi
i need sample program that connect, add new, edit, erase, save and load xml
in PocketPC
i work in Visual studio 2005 + c#
thanks
|
|
|
|
|
|
I'm new for mobile application development.So i wanna know to develop a smart phone application What are the software to install other than MS.Net???
CheeN
|
|
|
|
|
how can i start to make a window mobile applications.
what are software reqired to install.
and how can call namespace to develop any small and big windows mobile application.
|
|
|
|
|
hi
if u want to develop windows mobile application.
first u have to choose version of the windows mobile
then u download the particular version from microsoft website
2.after u install automatically it came to ur visual studio.net and then u choose a particular device
like smart phone or pocket pc
if u want url for any SDk .reply me
|
|
|
|
|
Mobile device development is not difficult at all to get started at. VS2005 will work great, but I highly recommend you check out Visual Studio 2008 which just hit RTM not that long ago. VS 2008 supports .Net 2.0, 3.0 and 3.5 on the desktop and 2.0 or 3.5 on the mobile device right out of the box. You do File -> New Project -> Smart Device -> Smart Device Project. The wizzard will then ask you what your target platform is (Pocket PC 2003, WM5, WM6, etc) and what type of project. You can test your project with the built-in emulator, or if you have your device conneted throug ActiveSync (XP) or Sync Center (Vista) you can run your program and debug it right on the device. You can even set breakpoints and do variable evaluation just like you would a local desktop .Net app.
The only additional things you might need to download are device-specific skins for the emulator. But that's only if you want the emulator to look like your device and be able to simulate hardware button presses, etc. If you're debugging on the actual device that's not required.
There are a lot of great 'getting started' videos available here:
http://msdn2.microsoft.com/en-us/netframework/bb495180.aspx[^]
Some great tutorials here:
http://netcf2.blogspot.com/[^]
And finally, a great starting reference here:
http://samples.gotdotnet.com/quickstart/compactframework/[^]
Good luck!
My posts may include factual data, educated guesses, personal opinion and dry humor. They should not be treated as an official Microsoft statement. Sites of Interest: MSDN Events | US ISV Team Blog
|
|
|
|
|
Hi friends,
I'm new to mobile application development.So i need your help.I have some of problems.
1. What are the softwares that i have to install before developing my smart phone application?
2)How to connect DB to my Application?
CheeN
|
|
|
|
|
Hey gays
Can you tell me that what are the softwares to intall before developing my pda smart phone application?
CheeN
|
|
|
|
|
you have required MS Visual Studio.NET 2005.
Cheer
Pavan Pareta
|
|
|
|
|
Hi
currently i am working in windows mobile 6.0 (Mobile Web Application).
In Windows Mobile 6.0 The default View of IE is (One Column),but i want to change in to (Default view) thro c#.Net coding .is it possible?
so the row and column are not rendering proberly,so please tell me ur suggestions.
In older version like Windows mobile 4.0 the default view is (Default column)
so there is no problem.
please help me.
regards
Meenakshi sundaram
|
|
|
|
|
I have a basic requirement to detect PSW files received on a laptop from PPC's, and merge them into a single DOC file on the laptop. What are the logistics involved in this, and where can I start looking?
Calling all South African developers! Your participation in this local dev community will be mutually beneficial, to you and us.
|
|
|
|
|
As far as I know Microsoft have never documented either PSW or DOC file formats, so you're out of luck there.
If I had to do this, I'd look at setting up ActiveSync to sync the My Documents folder (check 'Files' in the Sync Options tab of the Options dialog), which should (I think) automatically convert the PSWs to DOCs. You'd then need to detect changes to files in this folder (perhaps a FileSystemWatcher?) and probably automate Word to actually merge the documents.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
Hi,
I have requirement to get the name of the calling class. I have a logger class which is accessed by number of classes. Each time a call is made to a method in Logger class it needs to find out the calling class.
The following code works fine but StackTrace class cannot be used in mobile applications. Is there any alternative approach?
<br />
public static string GetClassName()<br />
{<br />
string name = String.Empty;<br />
int nStackCnt = 0;<br />
StackTrace oStack = new StackTrace(true);<br />
try<br />
{<br />
nStackCnt = oStack.FrameCount;<br />
int i = -1;<br />
if (nStackCnt > 2)<br />
{<br />
name = oStack.GetFrame(2).GetMethod().ReflectedType.FullName;<br />
}<br />
return name;<br />
}<br />
catch (Exception ee)<br />
{<br />
throw ee;<br />
}<br />
}<br />
Thanks,
Venkatesh
|
|
|
|
|
How to read a file in symbian C++
|
|
|
|
|
Hi all
i have an Embedded Visual C++ aplication, in this aplication
exist a class where have declare the const CLSID_SQLSERVERCE_2_0
for create instance OLE DB for SQL CE 2.0
CLSID_SQLSERVERCE_2_0 = {0x76A85B2E,0x9DE0,0x4ded,{0x8E,0x69,0x4D,0xEF,0xDB,0x9C,0x09,0x17}};
i found CLSID for SQL CE 3.0
CLSID_SQLSERVERCE_3_0 = {0x32ce2952, 0x2585, 0x49a6, {0xae, 0xff, 0x17, 0x32, 0x7, 0x6c, 0x29, 0x45}};
But i need CLSID for SQL CE 3.5
CLSID_SQLSERVERCE_3_5 = ??????
sorry my bad english
thanks
|
|
|
|
|
Please any one help me to hide the smooth keyboard in the toolbar,the key board icon do not display in the toolbar,is there any function or method or any SIP enable function present due to that we are disable the key preview icon from toolbar,please help me...it's urgent.
Ram Krishna Pattnayak
Software Developer(SDS)
Sun-Dew Solutions Pvt.Ltd
www.sundewsolutions.com
kolkata
|
|
|
|
|
Hi,
I have an orientation issue,
in my mobile application, in my ListView Whenever I shift from portait to lanscape depending upon the size(height) Its desplaying Horizatal scroll bar,
coz, while calcuating I am unable to catch whether the vertical scroll bar is there are not..
I WANT TO KNOW HOW TO FIND OUT WETHER VERTICAL SCROLLBAR IS DESPLAYYING OR NOT.
Thanks,
Prashanth
|
|
|
|
|
Then how do you know the horizontal scroll bar is displaying?
|
|
|
|
|
hi
how can i transfer files between pc to ppc and ppc to pc
in c# code ?
thank's
|
|
|
|
|
my english is not good.
so my problem is ;
* ten questıon(a b c d e) a exam on paper
* and I send a answer examle(3 a) with my mobile phone to my desktop pc.
* my software's database take my answers later from exam and give my point.
how can ı do this?
bluetooh,wireless,infrared..
Please help for starting do this..I so want to do this project!
|
|
|
|
|
Hi all,
OK, desperate now - I've been on this for days...
I have a large native C++ mobile project I have just migrated from eVC++ to Visual Studio 2005.
I need to integrate Intermec's RFID library into the project but they only have a managed .NET assembly available.
Is there some way I can 'talk' to this code? Can I create a C# project, incorporate the Intermec stuff, create some entry points and access them, dll style?
I was thinking of migrating my project to managed C++ but it seems this is not available in the Compact Framework.
Any suggestions would be much appreciated.
Regards
Jason
|
|
|
|
|
Hi Jason,
Orange Squishy wrote: Is there some way I can 'talk' to this code? Can I create a C# project, incorporate the Intermec stuff, create some entry points and access them, dll style?
This isn't possible. It's not possible for native code to host and then execute managed code since the .NET CF doesn't have any hosting APIs to enable this kind of functionality.
What you could do is create two executables. One managed and one native. Then you could use something like point to point message queues to communicate between the two processes (i.e. a form of IPC). The managed executable using the RFID library could continually be waiting for commands from the native process.
There's a great article on MSDN written by Daniel Moth that covers how to access point to point message queues within the .NET CF environment - http://msdn2.microsoft.com/en-us/library/aa446556.aspx[^]
Hope this helps,
Christopher Fairbairn
|
|
|
|