Thread: Dll encryption
View Single Post
  #1 (permalink)  
Old 05-12-2009, 08:03 AM
aamp aamp is offline
Junior Member
 
Join Date: Feb 2009
Posts: 3
Default Dll encryption

Hello,

I have such FFish code:

Code:
var ret = Dll.registerFunction(getAdditionalFile("swfkit_dll.dll"), "?fnSwfkit_dll@@YAHXZ", "dllFn", "cdecl", "long");
Dialogs.msgBox(dllFn());

swfkit_dll.dll is a DLL file written with C++. dllFn() returns correct answer if I do not encrypt swfkit_dll.dll file. If I do so (I check the checkbox in resources tab for this dll), dllFn() returns "undefined".

Why cannot DLL files be encrypted?
Reply With Quote