|
Hello guys,
Need to make an application on an international level. Problem is not all devices have the necessary codepages- regional settings available. If I would have a wince.nls file with the Greek regional settings / codepages is it sufficient just copying that file on the device and changing ACP LCID registry settings or is there more to it then just that. (want to make sure I don^t destroy my device before I start doing that stuff...)
For any help you can give me I am thankfull,
Regards,
Davy
|
|
|
|
|
Dear all,
I am writting an application for PocketPC 2002 using eVC 3.0
Now I have a problem that need to change font size of the CListCtrl.
Anybody know how? Please let me know.
Thanks in advance.
-BHKien
|
|
|
|
|
Create a font with the properties you want then call yourlistctrl.SetFont(yourfont).
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Thank you very much!
-BHKien
|
|
|
|
|
Does it have this function??? Or I'll have to write my own???
|
|
|
|
|
Rassul Yunussov wrote:
Does it have this function???
Not that I know of.
Rassul Yunussov wrote:
Or I'll have to write my own???
If you want to print the screen to a printer attached to the device, yes. If you just want to grab the screen's contents, use the Remote Zoomin tool.
Regards,
João Paulo
|
|
|
|
|
Does methods clear() and insert() work properly in vector???
|
|
|
|
|
I think yes! I diddn't make any other experience. You?
Regards,
Daniel.
--
FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE.
|
|
|
|
|
I guess that depends on your stl implementation and your definition of properly.
On my implementation, they work as I expect.
std::vector<wchar_t> v;
v.push_back(L'a');
v.push_back(L'b');
v.push_back(L'c');
assert(v.size() == 3);
v.clear();
assert(v.size() == 0);
assert(v.capacity() >= 3);
v.push_back(L'a');
std::wstring s(L" test");
v.insert(v.end(), s.begin(), s.end());
v.push_back(0);
::MessageBox(0, &v[0], _T("test"), 0);
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
You mean:
std::vector<wchar_t> v;
right?
Regards,
João Paulo
|
|
|
|
|
Yes
I should post more often so I learn to use < or add spaces around the < .
Thanks for the correction.
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
I think different mobile phones have different phone book formats. If I use another device, like a PC, it is possible to use AT commands to read the phone book. But I try to make a java application that can read phone book of the mobile phone itself. What should I do? Thank you.
|
|
|
|
|
ON my windows desktop app, I would start model dialogs in a separate thread, as hidden using
WM_WINDOWPOSCHANGING
as ShowWindow, does not hide the dialog.
On windows CE WM_WINDOWPOSCHANGING does not seem to be supported, so when I start the dialog, it appears right on the screen..
How can I hide it.
Annum
|
|
|
|
|
I am trying to get some code to build. It supposedly works. I have finally got the compiler working and now I am getting a linking error
Linking...
LINK : fatal error LNK1104: cannot open file "JpgLib.lib"
Error executing link.exe.
Creating browse info file...
PCS.exe - 1 error(s), 0 warning(s)
Where can I find JpgLib.lib file. I looked in the tools folder but it isn't there. Can anyone help me?
Thanks
Rodneyk!!
|
|
|
|
|
Does the VC++.net package on market contains the compact framework
so I don't need to buy the whole VS studio .net for programming CE
device ? The two packages are different a lot in price.
Thanks
|
|
|
|
|
Hello,
I have an algorithm which fills a BITMAPINFO structure's RGBQUAD with
values. It's supposed to contain a frame of a video. I would now like to
output this to the screen. Currently, I'm only able to display a black
square. Here's what I'm trying to do:
HDC hdc, hdcMem;
HDC pBmp;
BITMAPINFO bmpInfo; // i set this accordingly
HBITMAP defaultObject, currentFrame;
// create a device context
hdc = GetDC(hWnd);
// create a memory device context
hdcMem = CreateCompatibleDC(hdc);
// now i am trying to create the DIB section
currentFrame = CreateDIBSection(hdc,
(BITMAPINFO*) &bmpInfo,
DIB_RGB_COLORS,
&pBmp,
NULL, 0);
// i am selecting the current frame that i got from createdibsection and
placing it in the memory device context
defaultObject = SelectObject(hdcMem, currentFrame);
// here I am attempting to display the frame to the screen
BitBlt(hdc, 30, 60, 176, 144, hdcMem, 0, 0, SRCCOPY);
// now i'm cleaning up ...
SelectObject(hdcMem, defaultObject);
DeleteObject(currentFrame);
DeleteDC(hdcMem);
does anyone see the error in this code? i have no prior experience coding in
windows whatsoever, let alone CE... This has been a crash course for me; i
have scoured most of the web for related material, tutorials, examples, and
i've gotten to this point.
thanks much for your time
Mike
|
|
|
|
|
hammock wrote:
HDC pBmp;
...
// now i am trying to create the DIB section
currentFrame = CreateDIBSection(hdc,
(BITMAPINFO*) &bmpInfo,
DIB_RGB_COLORS,
&pBmp,
NULL, 0);
The only thing I can see is that you use an
uninitialized HDC in place of the pointer that
should receive the location of the bitmap bits.
You should check currentFrame against NULL to see
if your DIBSection was created sucessfully.
From MSDN
ppvBits
[in] Pointer to a variable that receives a pointer to the location of the device-independent bitmap’s bit values.
....
Return Values
A handle to the newly created device-independent bitmap indicates
success, and *ppvBits points to the bitmap’s bit values.
NULL indicates failure, and *ppvBits is NULL.
To get extended error information, call GetLastError.
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Hi,
this is a real problem that I am seeing. My application (eVC++, SQL CE 2.0) locks up frequently when the wireless radio is on the device. When the radio is off, it doesn't lock up. I am wondering what does radio have to do with the app performance? My application uses Connection manager to get connected to the VPN etc.
Any clues?
|
|
|
|
|
I downloaded the JpegLibTest from here
it is the sample aplication. when I try to build it I recieve this error JpegLibTest\JpegLibTest.rc(171): Could not find the file wceres.rc. . I have looked for this file and can't find it anywhere in the project or the tools for embedded visual c++ 3.0.
can anyone help me,
Thanks,
Rodneyk1
|
|
|
|
|
Mine is in C:\Windows CE Tools\wce300\Pocket PC 2002\mfc\Include . There are also a number of copies on the 2003 SDK.
Regards,
João Paulo
|
|
|
|
|
I am new to the embedded visual c++ world. I have a large chunk of code that is supposed to work!!. But when trying to compile it I recieve Build : warning : could not create output directory 'D:\Visual\PCS\ARMDbg' . I can't see anything in the code that wants to write to the D drive. Is this something in the compiler. I am using Embedded Visual C++ 3.0. Can someone at lease point me in the right direction.
Thank alot,
Rodneyk1
|
|
|
|
|
rodneyk1 wrote:
But when trying to compile it I recieve Build : warning : could not create output directory 'D:\Visual\PCS\ARMDbg'.
I don't have eVC installed here, but you might want to try in Project Settings, and look for the output folder field and change it to something more suitable. If you've downloaded the project from somewhere, you've probably got the original programmers settings.
I might also suggest learning eVC a little so you know where things are - this will save you lots of stress later on
Ian Darling
"One of the few systems...which has had “no deaths” in the reliability requirements." - Michael Platt
|
|
|
|
|
Ian Darling wrote:
you might want to try in Project Settings
That did it Ian!!! Thanks alot for the help. I am down to 2 errors now I just have to get them figured out and I think I will have it.
Again Thank alot,
Rodneyk1
|
|
|
|
|
I'm seeking a good data storage idea for storing data that is of a form similar to the task list. Doing this project in .NET, I, at first, thought about creating a DataSet and then exporting that to an XML doc. Aside from the fact that I can't get that to work perfectly, i don't think it will do what I want it to do.
What I think i would like to do is access the Windows CE Store, if possible, and add a table to the database to store my information in. I have no idea how to go about doing such a thing.
My end goal is to get a data storage solution that stores the data between executions. Furthermore, at some point I might be able to use ActiveSync to sync the data with a desktop version of the software.
Please, i'm open to any and all suggestions because I am merely in the early development and planning stages of this project.
Thanks
-- Adam
"If you can't beat your computer in chess, try kickboxing"
|
|
|
|
|
I have to ensure that my application does not start its job if a certain different application is still running.
So, is there a way to retrieve information about currently running programs programmatically?
I'm using C# and the Compact Framework. If the CF does not provide a solution to this, maybe there is an API call helping me out?
Any suggestion is welcome.
|
|
|
|