|
Jonas Larsson wrote:
Do you have any kind of personal firewall running on your box? I know that there's problems with ZoneAlarm, you'll have to allow AS to act as a server (and maybe client too, I dont really remember).
Yes.. But few times ZoneAlarm popped up questioning that eVC++ (some EXE trying to connect the Internet). I allowed it to go further.
Here are PlatMan Settings:
POCKET PC 2003:
POCKET PC 2003 Device
Transport : MS AS (other options KITL Transport and TCP/IP Transport for Windows CE)
Startup Server : MS AS (other option Manual Server)
POCKET PC 2003 Emulator
Transport : TCP/IP Transport for Windows CE (other options are KITL Transport and MS AS)
Startup Server : Manual Server (other option MS AS) If I hit 'Test' button, I get the dialog like this:
Please make sure the following files are on the device:
\WINDOWS\tcpipc.dll
\WINDOWS\cemgrc.exe
\WINDOWS\cetlstub.dll
And Launch CEMGRC.EXE with the following cmd line
CEMGRC.EXE /T:TCPIPC.DLL /Q /D:169.254.65.168:4955
But I don't see those files on my machine.
WINDOWS CE .NET Default Platform:
Default Device
Transport : TCP/IP (other options KITL Transport and MS AS)
Startup Server : MS AS (other option Manual Server)
"Whidbey"..."Orcas"...Roadmap This signature was created by "Code Project Quoter".
|
|
|
|
|
Hmm, weird that you dont have the Emulator Startup Server option for the emulator config. On my other box with evc4.0, the PlatMan settingings for 2003 are identical to the ones for 2002 on my evc3.0 box.
Kant wrote:
But I don't see those files on my machine.
These files should be in ..\Windows CE Tools\Common\Platman\target\[devicetype]
But I dont think its possible to use the manual server, since we need to use Remote File Viewer to upload files to the emulator, and that uses the PlatMan settings to connect to the emulator...
My suggestion is that you try and reinstall everything in this order:
MS ActiveSync 3.7
evc4
evc4sp2
eVC40SP2QFE-5308-ArmCompiler
Microsoft Pocket PC 2003 SDK
Or
Check if you can repair the evc4.0 installation and reinstall emulator support
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
Are you still having problems with this?
I ran across this[^] page today.
Check out the paragraph "Appendix: Recommended Installation Order for Development Tools for Mobile Applications", it might help.
Jonas
---
“Our solar system is Jupiter and a bunch of junk” - Charley Lineweaver 2002
|
|
|
|
|
|
I am getting the following asserting when I attempt to open a document in my application.
"Wincore.cpp, line 571"
Now here is the code snippet that the error is occuring at:
void AFXAPI AfxHookWindowCreate(CWnd* pWnd)<br />
{<br />
_AFX_THREAD_STATE* pThreadState = _afxThreadState.GetData();<br />
if (pThreadState->m_pWndInit == pWnd)<br />
return;<br />
<br />
ASSERT(pWnd != NULL);<br />
ASSERT(pWnd->m_hWnd == NULL); <br />
<br />
ASSERT(pThreadState->m_pWndInit == NULL);
pThreadState->m_pWndInit = pWnd;<br />
}<br />
The assertion error is occuring at the line that is in bold italics. This is an application being developed in eVC++ 3.0 under a PPC2002 SDK. I can not figure out when this function is being called. My CDocument::Seralize() is being completed just fine, but sometime between its completion and the begining of my CView::OnDraw() the assertion is occuring. My CView::OnDraw() is completing and the view is being drawn, but the application halts at that point.
How can I debug this and what is this function attempting to do?
When my application first starts up it starts witha blank view if you will with a bmp image drawn in the view. Then the user can either open a previously created document or start a new one. If the user either opens a previous document or starts a new one, everything runs as expected. However, if the user trys to start a new document then cancels part way thru the process, then decides to open a previous document, that is when the assertion occurs. If it would help to give more detailed explanation of what occurs in the starting of a new document I can provide it, I just don't want to be to long if it isn't needed.
Thanks,
-Eric
|
|
|
|
|
Is there a possibility that you are calling the CWnd::Create method on an already-created CWnd -derived object?
VanHlebar wrote:
How can I debug this and what is this function attempting to do?
You can set a breakpoint on that line and inspect the call stack to see where in your code that method was called. Beware that call stack information is not always intiutive.
Regards,
João Paulo
|
|
|
|
|
João Paulo Figueira wrote:
You can set a breakpoint on that line and inspect the call stack to see where in your code that method was called. Beware that call stack information is not always intiutive.
Joao,
Thanks for the help and the tip. After doing the above I was able to figure out that one of my views was calling this too many times and I was able to fix it in less than five minutes. This bug had been following me around since I started the app a few months ago! Thanks again!
-Eric
|
|
|
|
|
If you check wincore.cpp, you will see that AfxHookWindowCreate is called by CWnd::CreateEx , MFC's workhorse method for creating windows. The function is called just before the API CreateWindowEx function is called. Your assertion happens because the application is asking an already created CWnd -derived object to create its window again. Look for places where this might be happening.
Regards,
João Paulo
|
|
|
|
|
I am looking for a long time for code for programmaticaly turn on my PPC from the standby position. I have almmost concluded that it is impossible, because i haven't received any solution.
I want to turn on my device when i need my medicins on a certain time on the day. I have tried to use CeRunAppAtTime but this didn't work.
Is there anyone who can give me information if this is possible??????
|
|
|
|
|
Dear developers,
One never knows to what edge freelance development can take you, like it did to me now all desperate to find a database implementation for embedded systems that are not .NET or 0x86 compatible. I have a pure C/C++ portable platform for some sort of programmable terminals, and I need a more or less generic implementation of a simple database, preferably with indexes or some sort of optimization. Any table is deemed to never have more than 1000 records. And the entire database is best residing in a single file. It’s killing me to think that these progressing days I would have to marvel it all on my own like in old times.
One last detail: It would be the nicest implementation with file-access level implemented clearly, like a driver so that I could just insert my own file-access operations that will work for me.
Anyone who has whatever relevant please, throw at me, be endlessly grateful for that.
Regards,
Just one of you.
|
|
|
|
|
I must miss something... but I have not managed to send files on the emulator shipped with evc4.
When I launch the Remote File Viewer, I get the following message :"Cannot load device specific files associated with this tool."
And I never found how to map a directory or a drive to my PC from the CE Explorer.
I must be thick... if anybody is enlightened, please help!
Thanks
|
|
|
|
|
maybe this helps.
it's a solution for visual studio.NET. but it will probably work for all emulators:
http://www.sybase.com/detail/1,6904,1026106,00.html
thx, Daniel
|
|
|
|
|
Cheers, that did the trick (and I also found that you could download a better Emulator than the one shipped with evc4++). Thanks!
|
|
|
|
|
Hello,
I am trying to install SQL Server CE 2.0 on the emulator. It requires me to copy adocedb30.dll. When I copy the same, it asks my permission to overwrite it as the file already exists in the emulator. The problem is, it is not able to replace it saying the file is in the ROM. Any ideas how this could be resolved ? Also, if I just continue by using the existing adocedb30.dll and continue with registering the dlls using DllRegister.exe, it pops up a message saying all the components of DllRegister.exe could not be found. Could anyone please help me out ?
Thanks and regards,
Amit
|
|
|
|
|
Hi,
I am looking to develop .NET enabled handhelds and I'm wondering what I need to start this. I have a PC with .NET Visual Studio installed, a .NET ARM processor device.
Do I need something other than .NET Visual Studio installed? Is there something called the Compact Framework that works with embedded systems?
I've used EVC++ 3.0(Extensively) and 4.0 (once) to develop for HH. Is there an IDE similar to those two where I can choose which processor to compile for or is all I need is .NET Visual Studio.
Thanks for you help. If my question is a little vague I appologize. I'm not sure where to begin with .NET devices.
|
|
|
|
|
Not sure you have seen this article but just in case:
Pocket PC
|
|
|
|
|
Wow! This is fantastic. Truth be told. I spoke with the company that deployed my handheld PC and they told me to use EVC++ 4.0 using the STANDARDSDK_420 platform to develop Windows CE devices (Particularyly...theirs!).
Since I already develop PPC apps with EVC++ 3.0, after installing EVC++ 4.0 on a seperate PC I had already installed the PocketPC_2003 SDK and had selected it under my platform manager thus rendering all compilations invalid even though they were written for the ARM processor. (I know..run on sentence and all.)
I have a saying for moments like this: "Slap Self!"
{{Like2Byte slaps self}}
Again, thanks.
|
|
|
|
|
PocketPC2002 doesn't appear to support the ini file api. Is there a class floating around that handles this?
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
Use the registry perhaps?
VORegistry[^]
The kindest thing you can do for a stupid person, and for the gene pool, is to let him expire of his own dumb choices.
[Roger Wright on stupid people]
We're like private member functions
[John Theal on R&D]
|
|
|
|
|
Read my message again.
I said I need to be able to read/write INI files. Nowhere in that message did I say that using the registry was either acceptable or the desired solution. I don't ask just questions out of the fuckin' blue, so don't treat me like a brain-dead noob.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
John Simmons / outlaw programmer wrote:
Nowhere in that message did I say that using the registry was either acceptable or the desired solution
Neither did you say that it wasn't.
I am certainly aware that you are not a brain-dead noob.
I suggested the registry because PocketPCs don't seem to use ini files.
Can I safely assume that since you have tried WritePrivateProfileString that you have also tried WriteProfileString ?
If this isn't possible, then I'll just go away and waste someone else's time.
The kindest thing you can do for a stupid person, and for the gene pool, is to let him expire of his own dumb choices.
[Roger Wright on stupid people]
We're like private member functions
[John Theal on R&D]
|
|
|
|
|
Atlantys wrote:
I suggested the registry because PocketPCs don't seem to use ini files.
Hence my question.
Atlantys wrote:
Can I safely assume that since you have tried WritePrivateProfileString that you have also tried WriteProfileString?
WriteProfileString *only* writes to the registry in CE. I need to write to INI files on a storage card.
------- signature starts
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
"You won't like me when I'm angry..." - Dr. Bruce Banner
Please review the Legal Disclaimer in my bio.
------- signature ends
|
|
|
|
|
When using eVC 3.0, whenever I ask for a new project, the IDE crashes out with a page fault. Is there a workaround for this?
|
|
|
|
|
Hi!
I am trying to use the STL with eVC4... and I have the following linking error:
error LNK2001: unresolved external symbol "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ)
Any idea anyone? Thanks!
|
|
|
|
|
If you put objects derived from CObject into a map, there is a mechanism to make sure they do not get damaged by multi-threading...
Good idea but it does not seem to work and I have not found anything anywhere...
So I tried to put this in my code :
<br />
_Lockit::_Lockit()<br />
{}<br />
_Lockit::~_Lockit()<br />
{}<br />
and it did link... not sure the whole thing is thread-safe but I'll worry about this later!
|
|
|
|