View previous topic :: View next topic |
Author |
Message |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Wed Jun 15, 2011 3:25 am Post subject: How to put a Form into a .dll file with lazarus? |
|
|
How to put a Form into a .dll file with lazarus?
I new a form into a .dll project.
when compile it show that "Unit1.pas(8,22) Fatal: Can't find unit FileUtil used by Unit1"
how to solve?
thank you.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Wed Jun 15, 2011 9:17 pm Post subject: |
|
|
make sure your install of lazarus is correct
and make sure the LCL is part of your project (project->project inspector)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Thu Jun 16, 2011 4:46 am Post subject: |
|
|
i am not sure install is correct.
but compile .exe project is pass
in .dll project i also add LCL package in project->project inspector
it is still have error
Description: |
|
Filesize: |
36.66 KB |
Viewed: |
8636 Time(s) |

|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Thu Jun 16, 2011 8:11 am Post subject: |
|
|
not really sure how you've configure your project.
but if you want an example, the packet editor plugin for cheat engine has a form in a dll
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Fri Jun 17, 2011 3:31 am Post subject: |
|
|
after add interfaces unit to "uses"
it can pass compile
but can not run normally
when call show form. it is paused.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25785 Location: The netherlands
|
Posted: Sat Jun 18, 2011 2:03 am Post subject: |
|
|
check that example in the packet editor plugin.
you have to setup a thread, configure the mainthread variable, and then use the application class application to create and show it
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
|