Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 23-Nov-20 23:41pm

1 solution

Maybe you can use:
Process Monitor - Windows Sysinternals | Microsoft Docs[^]
Quote:
Process Monitor includes powerful monitoring and filtering capabilities, including:

More data captured for operation input and output parameters
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900