开发者

I want to use an exe file programatically

I am using a software named Daisy 2.02 Validator and it is with GUI but i want to access it programatically so that i can control all the validation process through my C# project. I am unable to find any help about it's li开发者_JAVA技巧braries, any .net Api or any DOS command for controlling it. Please provide me help.

Thanks, Regard, Muhammad Waqas


If it's a .NET executable, try and use ILDASM.exe or better still - use Reflector to find out whether it has a public API. You may then be able to add it as a reference (all you need to do is simply rename the .exe to .dll) to your project or alternatively load it as an assembly and use reflection to use its API.

Obviously the first option is much preferred.

If it isn't a .NET executable, you could use scraping, but you would have to profile your app for that first and work out what low level windows messages and controls it responds to. Bit of a nightmare.


from what I see Daisy 2.02 Validator is an open source project. if the API is not implemented you can just add it yourself


Worst case maybe send keystrokes to it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜