|
João Paulo Figueira wrote:
You cannot use eVC4 on PocketPC 2002 (a shame...)
I found this in the readme of the PPC2002SDK,
The Pocket PC 2002 SDK is not compatible with the eMbedded Visual C++ 4.0 product that is released with the Window CE.Net Platform Builder product.
I need a roadmap for CE development
So will there be a Pocket PC.NET, that we can use eVC++4 with ?
Thanks for all your help. (Gracias que me ayudas)
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
Soliant wrote:
So will there be a Pocket PC.NET, that we can use eVC++4 with ?
Yes, apparently there will be a version of CE .NET (CE 4.0). For now, we can only target CE 3.0 with eVC3 or VS.NET with the Smart Device Extensions. It seems that CE .NET is now version 4.1, but still no device... I think this is ridiculous. eVC4 is much better than eVC3 when it comes to language support. Why not make it work with CE 3.0?
|
|
|
|
|
|
It must be the only one... Thanks for writing in portuguese. By the way: the correct spelling is "tudo". Tudo bem por aqui também!
|
|
|
|
|
|
Hi,
does anybody know,
why the virtual OnReceive() function is not working
on WinCe 3.0 (Pocket PC 2002)?
I'm using the CSocket class in a MFC Application.
|
|
|
|
|
Hello,
All of you guys who had developed ActiveX controls for Embedded platforms to please look at the thread Windowless ActiveX Control at the VC++ ATL / WTL / STL discussion board. Thank you guys.
Raphael Amorim Dantas Leite
VC++, VB, Java, .NET and eMbedded Programmer
|
|
|
|
|
Hi,
does anybody now, how to change background color of a treeview?
I'm working on WinCe 3.0, so I cannot use TreeView_SetBkColor Macro....
|
|
|
|
|
Did you try to use the custom draw service? This envolves handling the NM_CUSTOMDRAW message. It will allow you to customize the drawing of the tree in a number of ways.
|
|
|
|
|
Yes, I tried it, but I can just set the TextColor and TextBkColor, not the Background Color of entire window. SetBkColor function and selecting a brush to device context doesn't work. The best result I've archived is to fill entrire window's rectangle using FillRect(). It works fine, but there still remain white areas nearby icons and nodes. I may be able to paint them using SetPixel, but that's
pretty dirty technique, in my opinion. Is there any other chance?
Ortie
|
|
|
|
|
Maybe all you need to do is intercept WM_ERASEBKGND and use your own brush.
|
|
|
|
|
Unfortunately, this doesn't work too.
The white areas are painted after the background paint. And they are always
white, even if you set different color for window background for entire Windows (in Control Panel ->Display Settings)
Anyway, thanks for effort.
Ortie
|
|
|
|
|
Can you use WTL for CE programming? if so, can you point me to some resources?
TIA
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
|
Thanks for the links. A couple more questions if you don't mind,
1. Do you recommend WTL or MFC for CE dev (not work related, just hobby)?
2. Do you have links to good docs on WTL CE development ?
Thanks in Advance
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
|
Hello All,
I'd never thought about that before . I want to distribute an ActiveX control for Pocket PC, nevertheless I will also distribute three versions of that component: Emulator Release, Desktop and Device Release, ok till here?
The developer will use those versions to build his application on my component, but where in the name of Jesus Christ he'll put my Emulator Release to start testing ? Inside the respective Emulation directory under Windows CE Tools folder...I don't think so!!!
Try to test this...start your emulator and create a simple doc file and save it, and seach for it in your computer. File not found, isn't it ? So what?
There's a huge *.bin file in the emulation folder, is everything within?
Raphael Amorim Dantas Leite
VC++, VB, Java, .NET and eMbedded Programmer
|
|
|
|
|
How about eVC>Tools>Remote File Viewer?
That allows you to import and extract files between (emulation) device and desktop. Once there, you can use regsvrce on the device to register the component as normal.
--
Ian Darling
|
|
|
|
|
Can i add an Ocx control or a dll in a EVC++ project?.
These Ocxs and dlls works in a computer(x86) with Winnt/2000, but i have a lot of problems to include them in an EVC++.
Can you help me?
|
|
|
|
|
Hello all,
I'm facing this problem: I got some COM components (not OCX's) that I
want to protect against copying and the whole process is based on three
machine configs. :
a physical, a logical and a random configuration. Basically they're:
Processor ID, HD volume signature and a Cryptographic key pair respectively). There's a *.lic license file that is signed by me, and got all this configs and the serial number. The COM component (Emulation) must check out this file to verify if was signed by be(ownership) and if corresponds to the developing machine. The COM component (device) checks only the ownership. but my problem is: How to get those machine informations from the Emulator component? I also thought about set the Emulation registry with those machine informations from the Desktop machine, but I really don't know how to perform it!!
Thanks for any help,
Raphael Amorim
Security Analist
Media System
Raphael Amorim Dantas Leite
VC++, VB, Java, .NET and eMbedded Programmer
|
|
|
|
|
Hi, Recently I have been working on this server-client side application, using single doc with Doc/View. In fact, I am using the sample eVC++ application called chatter.
I only added this code below->
void CVoiceRecorder::OnVoiceRecorder()
{
// TODO: Add your command handler code here
CM_VOICE_RECORDER cmvr;
memset( &(cmvr), 0, sizeof(cmvr));
cmvr.cb = sizeof (CM_VOICE_RECORDER);
cmvr.dwStyle = VRS_NO_MOVE;
cmvr.xPos = -1; //-1 means control is drawn centered to Parent window hwndMain
cmvr.yPos = -1;
cmvr.hwndParent = m_hWnd;
cmvr.id = NULL;
cmvr.lpszRecordFileName = TEXT("\\My Documents\\TestRec.wav");
DeleteFile(L"\\My Docuemnts\\TestRec.wav");
DeleteFile(L"\\My Documents\\~Rec_0.wav");
HWND hwndVoice = VoiceRecorder_Create (&cmvr);
::ShowWindow(hwndVoice, WS_VISIBLE);
::UpdateWindow(hwndVoice);
}
I am trying to display the voice recorder control, but Embedded VC++ gave me this error->
"CVoiceRecorder.obj : error LNK2019: unresolved external symbol _VoiceRecorder_Create referenced in function "protected: void __thiscall CVoiceRecorder::OnVoiceRecorder(void)" (?OnVoiceRecorder@CVoiceRecorder@@IAEXXZ)"
What might it be? Thanks.
|
|
|
|
|
BUG: LNK2019 When Building For Pocket PC Emulation
SYMPTOMS
When building an application for Pocket PC emulation that uses the Windows CE operating system functions, errors similar to the following may be encountered:
<filename>.obj : error LNK2019: unresolved external symbol _CeDeleteDatabase referenced in function <function>
CAUSE
These operating system functions use the _stdcall calling convention, but the compiler is declaring them as _cdecl. This problem occurs with the Windows CE Platform SDK for Pocket PC because the functions are incorrectly declared in the Windbase.h file without a linkage type.
RESOLUTION
Use one of the following workarounds:
BOOL WINAPI CeDeleteDatabase (CEOID oid);
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Raphael Amorim Dantas Leite
VC++, VB, Java, .NET and eMbedded Programmer
|
|
|
|
|
Hi all,
I got the source code of windows CE version's WINPCAP from http://winpcap.polito.it. But when I try to build it, it gives the following errors:
afxwce.lib(dllmodul.obj) : error LNK2005: DllMain already defined in corelibc.lib(dllmain.obj)
uafxwce.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in coredll.lib(COREDLL.dll)
uafxwce.lib(dllmodul.obj) : warning LNK4006: DllMain already defined in corelibc.lib(dllmain.obj); second definition ignored
uafxwce.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in coredll.lib(COREDLL.dll); second definition ignored
Creating library ..\ARMRel/PktDrv.lib and object ..\ARMRel/PktDrv.exp
..\ARMRel/PktDrv.dll : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
Does anyone know how to debug? Please kindly help!!
Also, if I want to add an option to "linker command line option", where should I add?
Many thanks!!!
William
|
|
|
|
|
IF i want to refresh the page for every 15 seconds
i give
<http meta-equil="" refresh="15"> like that i give in HTML
How to do like this in mobile
|
|
|
|
|
If you are using the PocketPC HTML control, you can set up a timer in the containing window, and have the timer handler send a navigate message to the control. Make sure that 15 seconds is enough to read in the full page.
|
|
|
|