Click here to Skip to main content
15,923,164 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: display bmp on pocket pc Pin
sasi_ps5-May-05 21:03
sasi_ps5-May-05 21:03 
GeneralRe: display bmp on pocket pc Pin
andrewtory@163.com5-May-05 20:28
andrewtory@163.com5-May-05 20:28 
Questionwhich pocket pc? Pin
hithesh25-Apr-05 19:59
hithesh25-Apr-05 19:59 
AnswerRe: which pocket pc? Pin
sasi_ps29-Apr-05 1:04
sasi_ps29-Apr-05 1:04 
Generalwince device drivers Pin
Iliyas24nie25-Apr-05 5:39
Iliyas24nie25-Apr-05 5:39 
GeneralPlease do... Pin
Sreekanth Muralidharan20-Apr-05 20:18
Sreekanth Muralidharan20-Apr-05 20:18 
GeneralPowerPC based board... Pin
zeki yugnak20-Apr-05 10:24
zeki yugnak20-Apr-05 10:24 
Generalconverting string to float in eVC++. Help asap. Pin
hithesh20-Apr-05 5:27
hithesh20-Apr-05 5:27 
Hi guys,

I am using strtod() function to convert a string "123.4" to float 123.4
It works fine in VC++. But when I enter the same code in evc++, its giving me the following error-

error C2664: 'strtod' : cannot convert parameter 1 from 'class CString' to 'const char *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called


My code:

char *stop;

UpdateData (TRUE);
input=strtod(m_display, &stop);
x=input;

m_display is the CString variable, input is double.

I type casted the m_display -
input=strtod((LPCTSTR)m_display, &stop);

I got this error -

error C2664: 'strtod' : cannot convert parameter 1 from 'const unsigned short *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast



I am having major problems since yesterday night. totally frustrating! The float to string gives me error too.


-hithesh
GeneralRe: converting string to float in eVC++. Help asap. Pin
Mike Dimmick20-Apr-05 6:12
Mike Dimmick20-Apr-05 6:12 
GeneralRe: converting string to float in eVC++. Help asap. Pin
hithesh20-Apr-05 6:15
hithesh20-Apr-05 6:15 
GeneralLoading images as embedded resource: How to optimize Pin
monicapinto19-Apr-05 23:56
monicapinto19-Apr-05 23:56 
GeneralRe: Loading images as embedded resource: How to optimize Pin
CarlosMMartins5-May-05 5:25
CarlosMMartins5-May-05 5:25 
GeneralManage Pocket PC Network Connection Pin
Ariston Darmayuda19-Apr-05 6:48
Ariston Darmayuda19-Apr-05 6:48 
QuestionNetwork shares on CE devices? Pin
Member 126147418-Apr-05 4:49
Member 126147418-Apr-05 4:49 
GeneralGPRS & Phone Compatability Issues Pin
SeanBryant17-Apr-05 19:10
SeanBryant17-Apr-05 19:10 
QuestionHow to compile a .asm to a .sys Pin
imbbe16-Apr-05 3:58
sussimbbe16-Apr-05 3:58 
QuestionIsn't it possible to connect to PC SqlServer from winCE pocket pc? Pin
Csharp Coder14-Apr-05 1:01
Csharp Coder14-Apr-05 1:01 
AnswerRe: Isn't it possible to connect to PC SqlServer from winCE pocket pc? Pin
tawammar22-Apr-05 0:06
tawammar22-Apr-05 0:06 
GeneralRe: Isn't it possible to connect to PC SqlServer from winCE pocket pc? Pin
mojtaba15969-May-11 2:29
mojtaba15969-May-11 2:29 
QuestionHow to using USB to download code to PocketPc? Pin
tsung-yu12-Apr-05 17:13
tsung-yu12-Apr-05 17:13 
AnswerRe: How to using USB to download code to PocketPc? Pin
clenci6-May-05 2:36
clenci6-May-05 2:36 
GeneralPocket PC MFC question Pin
User 58385211-Apr-05 23:31
User 58385211-Apr-05 23:31 
GeneralRe: Pocket PC MFC question Pin
João Paulo Figueira12-Apr-05 10:38
professionalJoão Paulo Figueira12-Apr-05 10:38 
GeneralRe: Pocket PC MFC question Pin
User 58385212-Apr-05 20:41
User 58385212-Apr-05 20:41 
QuestionHow to explicit link a class DLL? Pin
tsung-yu10-Apr-05 21:22
tsung-yu10-Apr-05 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.