git-svn-id: svn://db.shs.com.ru/pip@242 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-08-26 14:42:22 +00:00
parent 06c93d433c
commit f52fec4e78
10 changed files with 505 additions and 16 deletions

View File

@@ -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);