Problem description:
I want it to return "2000" (don't ask me why) however, in DS only "Returns:" message appers, and nothing after it. Any tips why it happens like that?
I noticed this only after a week or so of frustrating my self. For some reason I glazed over each time I read the reference and came to that part, even though I read it (or thought I read it) about a dozen times.
extern "C" __declspec(dllexport) char * function(int argc, char ** argv)
argc will tell you how many elements are in argv, just like with the main function.