18 lines
357 B
C++
18 lines
357 B
C++
#include "MainWindow.h"
|
|
#include <QApplication>
|
|
#include <windows.h>
|
|
#include "PCANBasic.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
CMainWindow w;
|
|
w.show();
|
|
|
|
TPCANStatus stsResult;
|
|
// Initialization of the selected channel
|
|
stsResult = CAN_Initialize(PCAN_USBBUS1, PCAN_BAUD_500K);
|
|
|
|
return a.exec();
|
|
}
|