Couldn't the correct function signatures be generated from the COM type library? Using an LLM for this is clearly not a good fit, as the article demonstrates.
They would need to know what a COM type library is in the first place.
They would need to know what a COM type library is in the first place.