Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 485
  • Last Modified:

*really* WinCE, non-mfc string replacement?

Can someone point me to a (possibly free) non-mfc *eVC++* (not VC++) string replacement for *WinCE*. Hopefully one that emulate cstring, cause I like how it work. I tried to use a wince version of STL but I didnt like it much. And dont tell me to include afxwin.h to my project ;) thats MFC and sooner or later the linker will complain.

(I asked that in the only WinCe section I could find, in the wireless section but... no one seems to know :()
0
GutterPunk
Asked:
GutterPunk
1 Solution
 
DiplomatCommented:
Don't understand exactly your question.

Anyway if you want to write a Non-MFC application with eVC++ all you have to do is to create a non-MFC WCE project. Non-MFC samples for Windows CE-based devices are also available in HPC, PC2002 SDK.

The only thing you need to be aware when using string in Windows CE is that Windows CE only works with Unicode. So the string declarations are a little different.

The best is to look at samples that handle strings.
0
 
GutterPunkAuthor Commented:
Diplomat: I just want to use the functionnality of CString without usinf MFC... I come from the Delphi crowd you see, having to deal with null terminated string is not what I like about programming...
0
 
cupCommented:
What didn't you like about std::string?  It does most of the things that CString does except for the formatting.  
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
GutterPunkAuthor Commented:
Because with every function (like _wfopen() and such) I had to use __get_c_string() (or something of the like)
0
 
cupCommented:
If you are working in Unicode (I assume you are because you are using _wfopen), use std::wstring instead of std::string.
0
 
tinchosCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: cup

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now