PDA Street

Home | News | Reviews | Features | FREE Downloads | Forums | Compare PDA Prices | Compare SmartPhone Prices
 WindowsMobileToday: Message Boards: Developers: File Access (Archived)

File Access
(Archived Message)

Read Replies | Start New Thread | Developers Board Index

Developers Board (Del Msg)
Title: File Access
Posted By: Steve
E-mail: ratansp@hotmail.com
Date: 11/24/2001 at 17:14:16

Recent Posts
Secure Digital Card Modem
eBooks not being found on
Bluetooth phones
Ipaq screen iput problem
Wireless To Wireless
Outlook calendar plugin?
Options for new iPaq buye
Pocket Inbox
Help with Buying a PDA
Ipaq 1945 or 2215 with Na
More ...  
 
Message:

Hi,
I am trying to migrate the code below using MFC for reading a file using vc++ to embeddeded vc++ and
am having a problem. The code is as follows
====
BOOL LookItUp( LPCSTR szKeyToFind, CString& sRetURL )
{
CString strLine;
CStdioFile f;
f.Open( "IDS.txt",CFile::modeRead );
sRetURL="";
while(f.ReadString(strLine) != NULL)
{
if( strLine.Find(szKeyToFind) == 0 )
{
char* p= LPCSTR) strLine;
while (*p!='' && *p<'A' ) {
p++;
}
sRetURL= p;
return( TRUE );
}
}
return( FALSE );
}
======
But, ReadString and Find methods are not supported in wince environment. Can anyone help me in changing
this so it works in wince environment.

Thanks





Is this message offensive or in violation of this board's policies? If so report it by clicking here.

Message Thread

For Additional Information:

Latest Articles:

  • Review: WMWiFiRouter -Turns Smartphones into Hotspots
  • 2009: The Year of the Smartphone?
  • Texting & Price Hiking: Does It Matter?
  • Motorola's Year of Job Cuts
  • Smaller Gadgets a Big Theme at CES
  • iPhone & Social Networks:Tech's Survivors in '09
  • RIM Takes Motorola to Court Over Hiring
  • Security Vendor Seeks to Fight Off RIM Overtures
  • iPhone, BlackBerry Storm to Square Off in 2009
  • 4G: Here It Comes, Ready or Not -- Part II
  • Latest Downloads:

  • Power Budget 1.0.5 (Pocket PC)
  • PocketPRP - Personal Resource Planner software for Windows Mobile Pocket PC 12.08 (Pocket PC)
  • PocketPRP - Personal Resource Planner software for Windows Mobile Pocket PC 12.08 (Pocket PC)
  • Lemur Searcher 1.10 (Pocket PC)
  • MyMotion 1.12 (Pocket PC)
  • Pocket 12C SE Financial Calculator 1.70 (Pocket PC)
  • MoneyCalc 1.1.0 (Pocket PC)
  • SelectRadioŽ Internet and Satellite Radio Software 4.5 (Pocket PC)
  • Measure Unit Converter and Calculator for Pocket PC 1.0 (Pocket PC)
  • Pocket 10B SE Business Calculator 2.10 (Pocket PC)




  • internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info

    Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
    Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers