Questions tagged [evc4]
16 questions
3
votes
1 answer
Porting a Windows-CE application to Windows Desktop
I have taken over a Windows-CE 6.0 application that I would like to port to other platforms. It is a relatively straightforward, self-contained GUI application, written in Embedded C++ Version 4.0
The very first target I am interested in would be a…

Daniel Chisholm
- 566
- 5
- 16
2
votes
4 answers
Normal main to WinCE main
I'm porting an existing (mostly) cross-platform application to WinCE 4.2. The current entry point for the function is
int main(int argc, char *argv[]){}
I would like to keep this part as-is, and have the WinCE entry point simply call it. I…

Nate Parsons
- 14,431
- 13
- 51
- 67
2
votes
1 answer
Can StandardSDK 4.0 under EVC++ be used to debug on a remote device?
I'm running Embedded Visual C++ 4 with service pack 4, to develop an application for a device running CE 5.0. I'm using the CE 5.0 SDK for this purpose, which works fine except for the fact that while it will target my device (i.e. an SH4 based…

SmacL
- 22,555
- 12
- 95
- 149
2
votes
1 answer
Building for Win CE 4.2 in Visual Studio 2008/2010?
I have a legacy MFC C++ application for Win CE 4.2 (x86 ONLY) which was originally built using Embedded Visual C++ 4 (eVC4). I need to add some functionality which comes from a C++ library which uses modern C++ features which are not supported by…

Will Chesterfield
- 1,780
- 12
- 15
1
vote
1 answer
Making VS 2008 play nice with eVC 4.0 projects
I would like to contribute to an open-source Windows Mobile project, but it's being developed in eVC 4.0, which flat-out does not work on Vista (feel free to correct me!), and I would prefer to avoid having to dual-boot or remote into my only…

Coderer
- 25,844
- 28
- 99
- 154
1
vote
1 answer
"A duplicate insert block exists for class xx in the source files"
In Embedded Visual Studio 4, I'm attempting to add a class though the class wizard.
Since, the file existed already, the first attempt failed. So I deleted the file and attempted to add the class again.
Now I get the error message
"A duplicate…

baash05
- 4,394
- 11
- 59
- 97
1
vote
1 answer
DeleteFile, C++, WinCE
Whats wrong about this?
if((
::DeleteFile( L"IO.res"))== NULL)
MessageBox(NULL,L"Error",L"OK",MB_OK);
I have the IO.res file in the same directory, but the program cant delete it.
With the integrated File manager I can delete.
I use EVC4.

Luther
- 155
- 1
- 2
- 7
0
votes
2 answers
After hiding dialog based app on windows mobile platform, user cannot activate it anymore
I am struggling with one problem in Windows Mobile programming (dialog based app).
I have dialog based MFC application. App is created like this:
BOOL MyApp::InitInstance()
{
MainDlg dlg;
dlg.DoModal();
m_pMainWnd = &dlg;
return…

Tomas Tomecek
- 6,226
- 3
- 30
- 26
0
votes
3 answers
ferror(file) == 32
Sometimes, when I open the a file like so:
FILE *file = fopen(fname, "wb");
if(!file) printf("Error code: %d\n",ferror(file));
I get a result of 32. What does this mean? Specifically, for eMbedded Visual C++ 4.0
Also, it seems like eVC does not…

Nate Parsons
- 14,431
- 13
- 51
- 67
0
votes
1 answer
How to use WINAPI from newer SDK but still using the old SDK in WindowsMobile
Specifically, I want to use Point-to-point Message Queue but because I am still using legacy codes in eVC++ 4 and it only support until PocketPC 2003SE SDK, I cannot find CreateMsgQueue and friends in the headers (the port to newer VisualStudio is…

Afriza N. Arief
- 7,696
- 5
- 47
- 74
0
votes
0 answers
Clearing file contents only using FILE *
I need to clear the content of a file, but the path of that file is not reachable, unless i do large modifications. I only have the stream pointer (FILE *). I could do reopen() but, it is not available on EVC4.
Is there another way to clear a file's…

Virus721
- 8,061
- 12
- 67
- 123
0
votes
1 answer
Possible to develop "Windows Mobile 6.1" appl. with EVC4 (Embedded Visual C)?
Is it possible to develop "Windows Mobile 6.1" appl. with EVC4 (Embedded Visual C++)?
user220047
0
votes
1 answer
How do I find a source code position from an address given by a crash in Window CE
I have a Windows mobile 4.0 application, written using EVC++ 4.0 SP4 with MFC, that is exhibiting a random occasional crash in the field. e.g. Exception ox800000002 at 00112584. It does not happen under various emulators and simulators, hence is…

SmacL
- 22,555
- 12
- 95
- 149
0
votes
1 answer
How to set the settings to open help of evc 4.0
I am new in evc. I have a problem, whenever I select any keyword and press F1, the help is opened and shows the index page, in which the particular keyword is showed but the details regarding to the keyword is not shown. I have to search that…

Vaibhav
- 69
- 1
- 2
- 4
0
votes
1 answer
Preventing Debug Spam in eVC4
I have an application that I need to debug on a target system.
All the relevant TRACE macros are in place to send messages to the debug window, however, I'm having difficulties in finding a way to prevent the spam there.
You see, this application is…
David Lewis