Page 2 of 2

Re: Possible Anti-DLL

Posted: Sun Dec 02, 2012 9:35 pm
by Unc3nZureD
When I'm trying to compile the source I get the following error messages:

Code: Select all

[Error] Project2.dpr(27): Undeclared identifier: 'LoadLibrary'
[Error] Project2.dpr(30): Undeclared identifier: 'GetProcAddress'
[Error] Project2.dpr(36): Undeclared identifier: 'WriteProcessMemory'
[Error] Project2.dpr(45): Undeclared identifier: 'FreeLibrary'
[Error] Project2.dpr(53): Undeclared identifier: 'GetCurrentProcess'
[Error] Project2.dpr(64): Undeclared identifier: 'THnadle'
[Error] Project2.dpr(66): Undeclared identifier: 'FindWindow'
I tried your (enigma's) code to compile.

---------------------------------------------------------------

I was surfing on the web and I found that my delphi version (7) doesn't support theese commands. Is it right? Currently I'm trying to install a trial version of Delphi XE3. I hope it will work :)

Re: Possible Anti-DLL

Posted: Mon Dec 03, 2012 8:36 am
by Enigma
D7 should be working well there.

In this module, at the top, find "uses" part. Include the unit Windows there, it will fix problems.

Re: Possible Anti-DLL

Posted: Mon Dec 03, 2012 8:13 pm
by Unc3nZureD
I compiled the DLL, placed to the plugins folder. The only problem is that the protector doesn't detect it as a plugin. I mean the dll doesn't show up. Any idea why?