Question regarding FiSH.dll and pinvoke

Announcements and discussion for PInvoke

Question regarding FiSH.dll and pinvoke

Postby ravedome » Thu Jan 21, 2010 11:48 am


I got FiSH.dll to encrypt/decrypt blowfish messages but I can't call it from C#.

The signature is as follows:

Code: Select all
FiSH_encrypt_msg(HWND mWnd, HWND aWnd, char *theData, char *params, BOOL show, BOOL nopause)

I tried the following:
Code: Select all
        public static extern String FiSH_encrypt_msg(
            System.IntPtr mWnd,
            System.IntPtr aWnd,
            StringBuilder data,
            StringBuilder param,
            Boolean show,
            Boolean nopause);

I keep getting the read/write memory error.

Anyone got any ideas on how to call this dll method?

Posts: 1
Joined: Thu Jan 21, 2010 11:42 am

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests