See, I have an application that consist of a dialog with a DBGrid control and a button - that's all. I managed to build it and run it on my pc, however when I copied the .exe file to another pc, I can't run it. I did not get any error message and nothing happened.
What I suspected here is that...
Thanks Ion Filipski. But how do I clear the original copy of the variant? I don't have the source code for MSComm.
Anyway, I have gave up MSComm and switched to CSerialPort, a freeware MFC class to wrap access to the Win32 APIs dealing with serial ports, written by PJ Naughter. You can have a...
Please help!!!
Has anyone noticed that there is a memory leak in GetInput() function of MSComm? Consider the following code (assume that connection already existed and is working fine):
COleVariant ovData;
for (int i=0; i<500000; i++)
{
ovData = m_mcComm1.GetInput();
}
I noticed that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.