문제

I had created a dll file(using C++) which captures password changes. Now I need to send it to a Windows service(created by me using C#) which uses WCF service. How to communicate with the service?

(the dll is primitive,without classes,and uses _stdcall as it needs to called by Windows OS)

Or are there any other ways to do it? Can the dll itself can be written in C#?(unmanaged)

도움이 되었습니까?

해결책

I was in a similar situation as you and I found a much easier solution. The sourceforge project passwdhk gives you a pre-made native DLL that implements the password filter interface. That DLL then will launch a external program (which you can write entirely in C#) and passing the username and password information in as arguments.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top