grag38 / qextserialport

Automatically exported from code.google.com/p/qextserialport
0 stars 0 forks source link

immediate stopped working under vista #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
This code:
#define _TTY_WIN_
#include <qextserialport.h>
int main()
{
    int test = 3 + 5;

  QextSerialPort mySP("COM3");

  return 0;
}

causes an immediate crash under vista on my machine. If I comment out the
"QextSerialPort mySP("COM3");" it all works. Interestingly, if I leave the
"QextSerialPort mySP("COM3");" line uncommented but set a breakpoint at the
"int test = 3+5" the debugger never reaches the breakpoint but rather
crashes as before.

What is the expected output? What do you see instead?
I would expect the program to not crash

What version of the product are you using? On what operating system?
latest qextserialportfrom hg on Vista on latest QT4.5.3 Note that problem
also occurs with the 1.1 version from sourceforge

Please provide any additional information below.
new user to qt so don't know how to show a trace or more information

Original issue reported on code.google.com by davidmic...@gmail.com on 4 Nov 2009 at 4:00

GoogleCodeExporter commented 8 years ago
Fixed. The dlls weren't on the path correctly. 

When I run from with Qt Creator the only error message I get is "[app name].exe 
has
stopped working" whereas running the exe outside gets me "unable to find [dll 
name].dll".

Original comment by davidmic...@gmail.com on 4 Nov 2009 at 11:04

GoogleCodeExporter commented 8 years ago

Original comment by lst...@gmail.com on 10 Nov 2009 at 9:49