Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how we can compare the dialog length to screen length /*modified*/ Pin
Hamid_RT5-Jul-06 21:28
Hamid_RT5-Jul-06 21:28 
GeneralRe: how we can compare the dialog length to screen length Pin
vasusree5-Jul-06 21:32
vasusree5-Jul-06 21:32 
GeneralRe: how we can compare the dialog length to screen length Pin
Hamid_RT5-Jul-06 21:45
Hamid_RT5-Jul-06 21:45 
GeneralRe: how we can compare the dialog length to screen length Pin
vasusree5-Jul-06 23:33
vasusree5-Jul-06 23:33 
GeneralRe: how we can compare the dialog length to screen length Pin
Hamid_RT6-Jul-06 1:01
Hamid_RT6-Jul-06 1:01 
AnswerRe: how we can compare the dialog length to screen length Pin
Weiye Chen5-Jul-06 21:47
Weiye Chen5-Jul-06 21:47 
QuestionLPINT causes Exception Pin
Checker20035-Jul-06 21:12
Checker20035-Jul-06 21:12 
AnswerRe: LPINT causes Exception Pin
Sarath C5-Jul-06 21:25
Sarath C5-Jul-06 21:25 
One thing. the exception is not occured by LPINT

Checker2003 wrote:
strRegPos = strColOrder[p];

what is the value of p? I clearly doubt this. on each iteration you are incrementing p by 2 it will cause array bound exception. you are not checking it whether it is in array size or not

suppose you have 10 elements.

if the index reach 5th (or 6th) element, I think you program will crash unless there are more elements ni steColOrder.

One more thing, in your loop, make sure that the i is initialize properly.



SaRath.

"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"

<blink>My Blog | Understanding State Patte

GeneralRe: LPINT causes Exception Pin
Checker20035-Jul-06 21:30
Checker20035-Jul-06 21:30 
GeneralRe: LPINT causes Exception Pin
Justin Tay5-Jul-06 22:27
Justin Tay5-Jul-06 22:27 
QuestionUpdateWindow is required? Pin
Sarath C5-Jul-06 20:35
Sarath C5-Jul-06 20:35 
AnswerRe: UpdateWindow is required? Pin
Hamid_RT5-Jul-06 20:41
Hamid_RT5-Jul-06 20:41 
GeneralRe: UpdateWindow is required? Pin
Sarath C5-Jul-06 20:50
Sarath C5-Jul-06 20:50 
GeneralRe: UpdateWindow is required? Pin
Sarath C5-Jul-06 20:55
Sarath C5-Jul-06 20:55 
GeneralRe: UpdateWindow is required? Pin
Hamid_RT5-Jul-06 21:25
Hamid_RT5-Jul-06 21:25 
QuestionMAXDWORD Pin
thathvamsi5-Jul-06 20:34
thathvamsi5-Jul-06 20:34 
AnswerRe: MAXDWORD Pin
Hamid_RT5-Jul-06 20:38
Hamid_RT5-Jul-06 20:38 
GeneralRe: MAXDWORD [modified] Pin
thathvamsi5-Jul-06 20:48
thathvamsi5-Jul-06 20:48 
QuestionHow to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 20:30
vc++_fragrance5-Jul-06 20:30 
AnswerRe: How to get data from database into a propertypage [modified] Pin
Sarath C5-Jul-06 20:59
Sarath C5-Jul-06 20:59 
GeneralRe: How to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 21:38
vc++_fragrance5-Jul-06 21:38 
GeneralRe: How to get data from database into a propertypage Pin
Sarath C5-Jul-06 21:42
Sarath C5-Jul-06 21:42 
GeneralRe: How to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 22:12
vc++_fragrance5-Jul-06 22:12 
QuestionFont of text on button with color Pin
ashish dogra5-Jul-06 20:27
ashish dogra5-Jul-06 20:27 
AnswerRe: Font of text on button with color Pin
Abhi Lahare5-Jul-06 20:32
Abhi Lahare5-Jul-06 20:32 

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.