DWORD WINAPI thread_function(LPVOID lpParam)
{
TCHAR *t;
int command_line_out = 100;
tests_line *test = (tests_line*)lpParam;
char command_line[MAX_LINE_LEN];
TCHAR...
Type: Posts; User: sagi
DWORD WINAPI thread_function(LPVOID lpParam)
{
TCHAR *t;
int command_line_out = 100;
tests_line *test = (tests_line*)lpParam;
char command_line[MAX_LINE_LEN];
TCHAR...
so im trying for a couple of days to run a simple .exe file (that creating a simple text file) using the function createprocess. i put the path that i want to run, in the cmd, as the second input for...
thank you guys very more for explanations!
im new here, how can i thumbs up for you guys?
i really try to understand and figure it out. i thought i did but still when i print ppp from the main it stays null and when i print my pTotype inside the function it points to the string i wanted...
sorry for the mess.
i want a function that gets a pointer to char (or a pointer to pointer) and i want the pointer that sent to the function to point on a new thing, and use its new value on the...
can u tell me which adjustment are to make please? if im sending *ppp to the function.
insert
const airplane airplaneTypes[3] = {
{.type = "737" ,.destinations = "Larnaca,Athens,Budapest,Zurich,London,Paris,Rome"},
{.type = "747" ,.destinations = "London,New...
the function returns 0 which means it did get into the "if" , also it prints the right type but outside the function, the pointer i send stays NULL.
15531
so i have a function with a pointer input, and im able to change the pointer value but whenever i get out of the function, the pointer doesnt hold the value i changed it to and keeps the old value. i...