git-svn-id: svn://db.shs.com.ru/pip@242 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
12
main.cpp
12
main.cpp
@@ -6,7 +6,7 @@
|
||||
#include "piethernet.h"
|
||||
#include "piintrospection.h"
|
||||
#include "pifile.h"
|
||||
#include "piprocess.h"
|
||||
#include "pisingleapplication.h"
|
||||
|
||||
//struct MS {
|
||||
// //MS() {i = 0; f = 0.;}
|
||||
@@ -33,9 +33,13 @@ public:
|
||||
|
||||
|
||||
int main (int argc, char * argv[]) {
|
||||
//PIProcess proc;
|
||||
PIProcess::execIndependent("D:/orders/libs_build_win/pip/utils/system_daemon/pisd.exe", PIStringList() << "-d" << "-n" << "peer");
|
||||
piMSleep(1000);
|
||||
PISingleApplication sa("app");
|
||||
if (!sa.isFirst())
|
||||
sa.sendMessage(PIString("message to first").toByteArray());
|
||||
else
|
||||
piMSleep(5000);
|
||||
//piCout << PIString(argv[1]).toInt();
|
||||
//sh.destroy();
|
||||
//proc.terminate();
|
||||
/*PIByteArray v = PIString("Mandfg;kjngel").toByteArray();
|
||||
PIByteArray b64 = convertToBase64(v);
|
||||
|
||||
Reference in New Issue
Block a user