Plugin arguments question
In a plugin procedure, how can I know or detect the many of arguments inputed by the user?
9 posts
(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
Originally posted by Lobo Lunaryes, i think you could parse the variables string
I though that I will be something in:
(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
Originally posted by Afrow UKyes The Banner plugin and alot of other plugins use popstring, but not like this:
The Banner plugin uses popstring I think...
-Stu
while( popstring(buf)==0 )DoSomething(but); //<--bad, dont do thisBecause buf will be null if you use the function and all the strings poped are destroyed in this case.
int nCounter;
char* buf;
while(popstring(buf)) {
nCounter += 1;
// Do something with the string or you'll lose it...
}