Stack runtime error

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
 
R

red floyd

Al said:
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.
 
K

Kai-Uwe Bux

Al said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top