| Author |
Message |
ravedome
Joined: 21 Jan 2010 Posts: 1
|
Posted: Thu Jan 21, 2010 12:48 pm Post subject: Question regarding FiSH.dll and pinvoke |
|
|
Hey,
I got FiSH.dll to encrypt/decrypt blowfish messages but I can't call it from C#.
The signature is as follows:
| Code: |
FiSH_encrypt_msg(HWND mWnd, HWND aWnd, char *theData, char *params, BOOL show, BOOL nopause)
|
I tried the following:
| Code: |
[DllImport("FiSH.DLL")]
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?
Thanks[/code] |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group