|
Hello,All,
I write a wave audio player for ppc2002 by using EVC3.0 and it's working fine on ppc2002,
then I new a empty project and add all files into the project,but I got some errors after building project by using EVC4+sp2.
the configuration selection are
1.standardsdk
2.cpu=wince armv4
3.default=pocketpc
the error message are
--------------------Configuration: ceaudio4 - Win32 (WCE ARMV4) Release--------------------
Compiling...
audio.cpp
Linking...
uafxwce.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in coredll.lib(COREDLL.dll)
uafxwce.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in coredll.lib(COREDLL.dll)
uafxwce.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in coredll.lib(COREDLL.dll); 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 ARMV4Rel/ceaudio4.lib and object ARMV4Rel/ceaudio4.exp
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function WinMainCRTStartup
ARMV4Rel/ceaudio4.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
ceaudio4.exe - 4 error(s), 2 warning(s)
Does anyone know how to resolve this problem?
Thanks.
Joye Liu
|
|
|
|
|
|
anyone know how the upgrade/patch process will work for .net cf on wm2003 ppc's? will it require an entire ROM upgrade (most likely through the oem's... or will the upgraded classes reside in RAM similiar to how .net cf is implemented on ppc2002's today?
|
|
|
|
|
Hi,
I am facing a very strange problem. I can't find a way to use dll/activeX with my emulator.
I have searched the whole forum and tried all possible solutions to similar problems but nothing works.
When using control manager I get a message saying 'can't find suitable control manager server' or something.
When trying to use regsvrce, it is nowhere to be found on my emulator.
When trying to load a .dll through my eVB, I run the emulator and get a message saying that pvbdecl.dll can't be found.
What is wrong with my software????
|
|
|
|
|
|
The processor used for the emulator is still the processor from your computer! So, it's normal you cannot run a compiled application for pocket PC on your computer.
The use of the emulator is to test your source code: you have to compile it in a certain way so it can be understood by your computer.
Hope this helps
|
|
|
|
|
Thanks, that does answer my question. It's a pity a person can't run compiled apps! Thanks again
Paul
I don't think anyone should write their autobiography until after they're dead. - Samuel Goldwyn
modified 18-Jul-18 11:59am.
|
|
|
|
|
I see that you've got a jump on this PPC programming once the Axim arrived. I was exactly like that.. I think within 30mins of the box being opened and ActiveSync being installed, i had the eVT3 exe being downloaded.
Are you writing your code for use in .NET or just plain ole WinCE? My Toshiba doesn't come with .NET CF pre-installed and I'm scared to whether I should install it or not; I don't want to mess with 'my preciousssss'
Happy coding!
Paul van der Walt wrote:
It's a pity a person can't run compiled apps
The emulator can only run x86 (or x86em) compiled WinCE code.
I prefer to wear gloves when using it, but that's merely a matter of personal hygiene
[Roger Wright on VB]
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
[Rich Cook]
|
|
|
|
|
|
Dear Friends,
Does anybody know how to access ActiveX Control file path(ocx file path) dynamically inside ActiveX Control. Is there any API or any method is present please suggest me.
Thanks in advance,
Salini
|
|
|
|
|
using .net compact framework
***************************************************************
My form must load and the first field must be focused upon. I can do this just fine.
However, I'm working on a project where the user has a bar-code reader sleeve on his iPaq. This simply acts like a SIP and saves him time entering data, it reads it in for him.
This scanner software shows a quick popup message upon the first scan, all subsequent scans are normal with no popups.
When this popup occurs it takes the focus off of my form and the form field I want focused.
How do I force the form to stay on top regardless of any other programs that decide to run/popup?
I've tried the LostFocus event, can't seem to get it to do anything (calling this.Focus() or formField.Focus())
Thanks!
****************************
V. Jenks
www.scientifik.com
|
|
|
|
|
I have a database made up of records that contain two properties, an unsigned int and a string. I want to search the database by the int, without knowing the word. Therefore, I cannot seek by CEOID.
However, I am having problems seeking my database by a PROPID. If I specify in CESeekDatabase that I am seeking for the first equal value, then specify that I am searching by the sorted property CEVT_UI2, the unsigned int value, then there is no parameter left to specify the value I am searching for. How should I search this database for just one property of the records?
I'm developing for Windows CE 3.0, using Embedded Visual C++. Any help would be greatly appreciated. Thanks a lot.
|
|
|
|
|
How can I set font to menu ? Or just need to type an Unicode string in resources editor for a menu
|
|
|
|
|
I have a string. Now I want to send this string as an email to Outbox of Outlook, so that when user connect to Internet, he can send this mail. What API ?
|
|
|
|
|
Hi,
I just Tried with the FTP session for my project using Embeddded VisualC++ 3.0.
After using InternetOpen, InternetConnect Api's, I just procedded with the FtpSetCurrentDirectory, FtpFindFirstFile. But when compiled I get the error 'FtpSetCurrentDirectory' : undeclared identifier.
I have used those as below
FtpSetCurrentDirectory(ftpsession, directory );
FtpFindFirstFile(ftpsession, TEXT("*.*"),&file_data,NULL,NULL);
I have also included the Wininet.h, wininet.lib for the x86 Processor & using the HandHeldPC Emulator.Can any one tell me how to solve this problem.
Its very urgent.
Thanks in advance
Soma
somu@softcrylic.com
J.Somasundaram
|
|
|
|
|
Hello,
Which API function can get the version of CE?
Thanks.
Tsung-Yu
|
|
|
|
|
Have you tried GetVersionEx ?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
Hello,All;
I have a project that upgrade from CE3.0(using eVC3.0) to
CE.NET 4.1/4.2(unsing evc4.0sp2).
How to upgrade those c++ source code?
I only have a method that creating new project and copy orginal code,and then recompile it.
Does anyone have more easy method?
Joye
|
|
|
|
|
Hi all!
Let me explain my problem: I need my application to be closed 'completely'. I achieve this by removing the 'smart minimize' button and replace it by the OK button (I tried to remove all two but it doesn't work).
So, that works fine but now I want to know when the user clicked on this button (so I can ask him if he wants to leave without saving or stay in the program). How can I do this?
Another solution would be also to remove completely the 'smart minimize' and the Ok button (I've another exit button on my toolbar).
Any idea?
Thanks
|
|
|
|
|
Have you tried the following code to remove both buttons (the OK and the minimize button)?
SHDoneButton(m_hWnd, SHDB_HIDE);
ModifyStyle(0, WS_NONAVDONEBUTTON, SWP_NOSIZE);
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I tried but WS_NONAVDONEBUTTON is undeclared !!
I have this error at compilation:
C:\MEC\Sources Pocket\CVVisual\MainFrm.cpp(107) : error C2065: 'WS_NONAVDONEBUTTON' : undeclared identifier
In wich header file is it declared ?
Thanks for your response !
|
|
|
|
|
WS_NONAVDONEBUTTON is defined as:
#define WS_NONAVDONEBUTTON WS_MINIMIZEBOX
while WS_MINIMIZEBOX is defined as:
#define WS_MINIMIZEBOX 0x00010000L
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/programming_pocket_pc_2002_iguu.asp
|
|
|
|
|
Hi !
I replaced WS_NONAVDONEBUTTON by WS_MINIMIZEBOX and that works fine!
Thanks
|
|
|
|
|
I wrote an MFC-based application in eVC 3.0 (Single Document Style). But when I run my program, there's always a New button in the left-bottom of my screen. I want to hide it !
|
|
|
|
|