Code:if (l->resultGIL != 0){ printf("FILENAME_RESOLVE_ ERROR #:%d -Error occured. ", l->resultGIL); exit(EXIT_FAILURE); }
Code:if (l->resultGIL != 0){ printf("FILENAME_RESOLVE_ ERROR #:%d -Error occured. ", l->resultGIL); exit(EXIT_FAILURE); }
Last edited by KMAN999; 07-04-2011 at 08:44 AM.
You just cant have end paramters list, like putting just ,,,,. This might be allowed other languages but not in C. Dont you get an syntax error? And also printing shorting with format specifier '%d' Should that be %hCode:l->resultGIL = PROCESS_GETINFOLIST_ (/*cpu*/,/*pin*/,/*nodename*/,/*length*/,/*prcoesshandle*/, l->attr_listX, l->ret_attr_count,&l->ret_vals.paid, l->ret_values_maxlen, &l->ret_val_length);
ssharish
Life is like riding a bicycle. To keep your balance you must keep moving - Einstein
So after you edited your post after ssharish gave you some tips, do you still have errors?
Quzah.
Hope is the first step on the road to disappointment.