See this bug report for sample code illustrating the problems using an LCL form in a DLL:
http://www.freepascal.org/mantis/view.php?id=7181
I tried to fix the bug by myself an and soon got a clue about what might went wrong here. I need to make some changes to the customforms.inc to be sure, but unfortunately no change will compile. What do I need to include? To compile this file together with the test program.
I already tried to add the whole LCL directory to the compile path, but I got lots of errors, so there must be another way.
Christian
You are looking too deep... It is just a matter of alignment which should be 16 in both application and vst.
There is a simple repaint problem that can be solved by, Ahum, Application.ProcessMessages. And make sure the correct handle is in place (The client handle, not the VST), but you know that.
(As an aside: you still did not give me the credits for the reverb -freeverb - translation
You claim that's your code. It isn't. I released it as do what you want, but to claim you wrote it it gross. You may have improved on it but I can not see where?
Even my original comments are still in...
The true story is that I wrote the initial VST host code and TobyBear and you improved on it. Fair enough, good job.
. And the VST basics were layed down by Frederic VanMol )
I am not grumpy, but some original credits should be in place. They aren't.
[edit]
I missed the date, which is 12 years ago. Remark still stands.... (As I remarked 12 years ago....)