I might have some answers to your problem, but first I need to know a few 
things:

1. Is Photoshop handling you a HWND of a window in which you have to build your 
plugin´s GUI? (Actually, I´m sure the answer to this question doesn´t really 
matter, but you never know...)

2. If you make a copy of your dll file with a different name (say, you end up 
with plugin1.dll and plugin2.dll), can you have both plugins working at the 
same time with their GUIs showing? (This is the question that matters)

I have to say I have no experience with Photoshop plugins BUT I have experience 
making audio plugins, which are also built as dll files. Some time ago I tried 
to use FLTK as GUI library for audio plugins, and found the same behaviour you 
are describing. After some time exploring both FLTK code and the WIN32 API I 
managed to get it working and the solution is not that complicated, although I 
must say I haven´t torture-tested it enough. Right now I´m not at my dev PC 
so I don´t have my code at hand, but as soon as you post an answer to the 
questions above I should be able to post    something more useful.

Best regards,

Carlos
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to