Link to home
Start Free TrialLog in
Avatar of didifool213
didifool213

asked on

the "if" function and using with extensions

My main motive for my application is to determine the file extension and then move onto that peice of code.I am still prety new to MFC C++ so give me a break if im doing it the hard way!

if(m_ext=="AFS")
{
  AfxBeginThread(ReadAFS, this);
  return;
};

now when i have that function under one of my buttons it is supposd to pass onto another peice of code.but it does work, but if the extension was lower case then it totally screw's up.i have tried to go to my edit box and set the casing to upper and tried lower as well. and still same issue.
my main goal is to not worry bout extension casing.
ASKER CERTIFIED SOLUTION
Avatar of DanRollins
DanRollins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of didifool213
didifool213

ASKER

Thanks!! it works!