Commit ddf24c11 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

add source netpd.c for netpd.exe

parent f18e5a83
#include <stdio.h>
#include <stdlib.h>
#include <direct.h>
#include <string.h>
#include <windows.h>
#include <libgen.h>
int main(int argc, char *argv[])
char exec_path[FILENAME_MAX];
GetModuleFileName(NULL, exec_path, FILENAME_MAX);
strcpy(exec_path, "\"");
strcat(exec_path, dirname(exec_path));
strcat(exec_path, "\\pd-netpd\\bin\\pd.exe\" -open pd-netpd\\netpd\\main.pd");
printf("%s\n", exec_path);
WinExec(exec_path, SW_HIDE);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment