By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,118 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,118 IT Pros & Developers. It's quick & easy.

Stack runtime error

P: n/a
Al
Hi Folks,

I am getting :

RunTime Check Failure #2 - Stack around the variable nPortNumber was
corrupted

on line :

pMT->MT_SetCOMPort(nPortNumber);

anyone know how to go about solving thir error?

Cheers

-Al

Apr 18 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Al wrote:
Hi Folks,

I am getting :

RunTime Check Failure #2 - Stack around the variable nPortNumber was
corrupted

on line :

pMT->MT_SetCOMPort(nPortNumber);

anyone know how to go about solving thir error?

Cheers

-Al


You have an error on line 42 of your code.
Apr 18 '06 #2

P: n/a
Al
How do you know its line 42?

Apr 18 '06 #3

P: n/a
Al wrote:
How do you know its line 42?


a) Please quote context.

b) Since your original post did not contain enough information,
red floyd probably consulted his crystal ball.
Best

Kai-Uwe Bux
Apr 18 '06 #4

P: n/a
Al
Ahh yes - I feel the sarcasm now :-)

Apr 18 '06 #5

P: n/a
Al wrote:
Ahh yes - I feel the sarcasm now :-)


The part about quoting wasn't sarcasm. See below for valuable
information.

Brian

--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Apr 18 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.