As many of you know for over a year (maybe pressing on 2) I have been attempting to track down "Bugs" (Or more likely "Mistakes in my programming")
Now this is a VERY Hard thing to ask seeing how I know what I want to do, but not sure how to phrase it, but basically its a more in depth "CallStk$" replacement
Lets say I call 3 different API functions
in each of these, I know the parameters in their own functions and how many parameters (aka GetLastError has none, GetWindow has 2, AddAtom has 1)
But what I am wondering is if there is a way to macro or function to determine how many parameters? or if I am stuck with many lines of code within the function to sort it out?
Like I said, unsure how to ask it, but maybe the example shows what I am after????
Now this is a VERY Hard thing to ask seeing how I know what I want to do, but not sure how to phrase it, but basically its a more in depth "CallStk$" replacement
Lets say I call 3 different API functions
Code:
DECLARE FUNCTION GetLastError ALIAS "GetLastError" () AS LONG DECLARE FUNCTION GetWindow ALIAS "GetWindow" (BYVAL hWnd AS DWORD, BYVAL wCmd AS DWORD) AS LONG DECLARE FUNCTION AddAtom ALIAS "AddAtomA" (lpString AS ASCIIZ) AS WORD
But what I am wondering is if there is a way to macro or function to determine how many parameters? or if I am stuck with many lines of code within the function to sort it out?
Like I said, unsure how to ask it, but maybe the example shows what I am after????
Comment