| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
VC++ Mid function/Exception
|
Original Message
|
Name: saiprabhur
Date: September 30, 2003 at 00:02:21 Pacific
Subject: VC++ Mid function/Exception OS: Windows 98 CPU/Ram: PII/64
|
Comment: hi, i am getting error in CString Mid function when extracting message more that that given value, i want to catch the error instead of illegal operation. Error: CString str; str="abcd"; str=str.Mid(0,8); I want to catch the error instead of illegal operation. i tried with all exception ,but none of them works. Help me
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: sai
Date: October 2, 2003 at 19:56:18 Pacific
|
Reply: (edit)hi, i am getting error in CString Mid function when extracting message more that that given value, i want to catch the error instead of illegal operation. Error: CString str; str="abcd"; str=str.Mid(0,8); I want to catch the error instead of illegal operation. i tried with all exception ,but none of them works. Help me
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home