Click here to Skip to main content
15,891,529 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: programming win32 Vs MFC in CE Pin
#realJSOP28-Dec-03 23:59
mve#realJSOP28-Dec-03 23:59 
GeneralRe: programming win32 Vs MFC in CE Pin
ppp00129-Dec-03 6:58
ppp00129-Dec-03 6:58 
GeneralRe: programming win32 Vs MFC in CE Pin
#realJSOP29-Dec-03 7:14
mve#realJSOP29-Dec-03 7:14 
GeneralRe: programming win32 Vs MFC in CE Pin
ppp00130-Dec-03 3:28
ppp00130-Dec-03 3:28 
GeneralRe: programming win32 Vs MFC in CE Pin
Ian Darling30-Dec-03 4:09
Ian Darling30-Dec-03 4:09 
GeneralRe: programming win32 Vs MFC in CE Pin
#realJSOP30-Dec-03 5:05
mve#realJSOP30-Dec-03 5:05 
GeneralGetActiveWindow Pin
misha_grewal26-Dec-03 23:10
misha_grewal26-Dec-03 23:10 
Generalfile reading problem - pcoket pc Pin
bryce26-Dec-03 13:43
bryce26-Dec-03 13:43 
Hi I'm writing my file successfulling to my pocket pc, with all the data,
but when i try and read the file with something simple

<br />
<br />
FILE *stream;<br />
BYTE list[25];<br />
if( (stream = fopen( "encrypt.txt", "r+t" )) != NULL )<br />
{<br />
     /* Attempt to read in 25 characters */<br />
	int numread = fread( list, sizeof( char ), 25, stream );<br />
	fclose( stream );<br />
}<br />
	<br />


or even

<br />
CFile f;<br />
if( !f.Open( "encrypt.txt", CFile::modeRead ) ) <br />
{<br />
	AfxMessageBox(_T("Unable to open the database"));<br />
	EndDialog(0);<br />
	return FALSE;<br />
}<br />
int nSize = f.GetLength();<br />
char * pBuf = new char[nSize];<br />
int nRead = f.Read(pBuf,nSize);<br />
	<br />



I only get 1 character (the very first) read from the file.
What am i missing?
regards
Bryce

---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
GeneralRe: file reading problem - pcoket pc Pin
Ian Darling26-Dec-03 14:17
Ian Darling26-Dec-03 14:17 
GeneralRe: file reading problem - pcoket pc Pin
bryce26-Dec-03 21:49
bryce26-Dec-03 21:49 
GeneralRe: file reading problem - pcoket pc Pin
IceBerG7129-Dec-03 20:17
IceBerG7129-Dec-03 20:17 
Generalqsort() problem on pocketpc Pin
Amit Dey26-Dec-03 11:39
Amit Dey26-Dec-03 11:39 
GeneralCCriticalSection and Locking Pin
Anonymous25-Dec-03 17:15
Anonymous25-Dec-03 17:15 
GeneralNot deleting particular file after unistallation of Cab Pin
shubhs24-Dec-03 21:19
shubhs24-Dec-03 21:19 
GeneralScrolling dialog III - The Re-Awakening Pin
#realJSOP23-Dec-03 7:03
mve#realJSOP23-Dec-03 7:03 
GeneralRe: Scrolling dialog III - The Re-Awakening Pin
Daniel Strigl23-Dec-03 7:10
Daniel Strigl23-Dec-03 7:10 
GeneralADOCE3.1 DLL registration programmatically Pin
shubhs19-Dec-03 19:25
shubhs19-Dec-03 19:25 
GeneralRe: ADOCE3.1 DLL registration programmatically Pin
João Paulo Figueira20-Dec-03 13:15
professionalJoão Paulo Figueira20-Dec-03 13:15 
GeneralScrolling Dialog in CE II - Son Of Scrolling Dialog Pin
#realJSOP18-Dec-03 6:05
mve#realJSOP18-Dec-03 6:05 
GeneralRe: Scrolling Dialog in CE II - Son Of Scrolling Dialog Pin
João Paulo Figueira18-Dec-03 7:46
professionalJoão Paulo Figueira18-Dec-03 7:46 
GeneralRe: Scrolling Dialog in CE II - Son Of Scrolling Dialog Pin
#realJSOP18-Dec-03 8:06
mve#realJSOP18-Dec-03 8:06 
GeneralRe: Scrolling Dialog in CE II - Son Of Scrolling Dialog Pin
Daniel Strigl18-Dec-03 20:05
Daniel Strigl18-Dec-03 20:05 
GeneralCompact Framework graphics Pin
RichLee16-Dec-03 23:18
RichLee16-Dec-03 23:18 
GeneralRe: Compact Framework graphics Pin
Daniel Strigl17-Dec-03 0:44
Daniel Strigl17-Dec-03 0:44 
GeneralRe: Compact Framework graphics Pin
RichLee17-Dec-03 1:40
RichLee17-Dec-03 1:40 

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.