GCLIB_DLL_EXPORTED GReturn GCALL GProgramUploadFile | ( | GCon | g, |
GCStringIn | file_path | ||
) |
Program upload to file.
g | Connection's handle. |
file_path | Null-terminated string containing the path to the program file, file will be overwritten if it exists. |
See x_programs.cpp for an example.
Definition at line 287 of file gclibo.c.
References G_BAD_FILE, G_BAD_FULL_MEMORY, G_NO_ERROR, GProgramUpload(), and MAXPROG.