How do i snapshot or view the parameters passed to a dll at runtime? Using process explorer i know the name of the executable that calls the dll, i can replicate the action in the software that loads the target dll and in .net i can load the same dll and view the method used to invoke it, but when i try to invoke it myself i get an error on one of the parameters passed that is not useful to me. I need to be able to read the parameters last sent to this dll so i can see what range of values it is expecting from the calling exe
The backstory is i have a program that i use that has a useful export function in it that i need to automate for the purpose of linking this into another tool i am currently developing. I'm sure this has been asked/done many times before but i obviously lack the requisite google search prowess to find the answer.
What I have tried:
Dotnet peek on the dll - not supported
Imported the dll into a vb.net project and viewed the exported functions along with expected datatypes
Process Explorer - confirmed the target dll loaded after the target action