Skip to content

Instantly share code, notes, and snippets.

//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
int x0,y0,x1,y1,midx,midy;
#include "olya.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
@romasvrd
romasvrd / wait for process finished
Last active August 29, 2015 14:14
Ожидание завершения процесса
void asdf(void)
{
HANDLE hSnap;
HANDLE hViewer;
uint16_t pid;
hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
if (hSnap == NULL)
{
//return 0;
/* Kernel includes. */
#include "FreeRTOS.h"
#include "task.h"
/* UDP demo includes. */
#include "UDPCommandInterpreter.h"
#include "TwoEchoClients.h"
/* FreeRTOS+UDP sockets include */
#include "FreeRTOS_sockets.h"
#include "timers.h"
#include "twi.h"