@Planck: It seems he is trying to include the dialogs & their classes in an addon.
@Loki72:
I have not attempted to put the dialog framework into an addon yet, so am not personally familiar with those issues. I use it primarily inside missions.
The problems are likely due to the class definitions in DialogControlClasses.hpp
Sickboy has already successfully added it to the
6thSense.eu Mod (see v1.03 update), so you may want to check what changes he made to achieve that.
Sickboy also posted in the BIS thread below of a similar problem that you describe.
He says because some of the base classes have their attributes changed, it affects the game when used inside a mod.
He worked around it by resetting the base classes to their original definitions, then deriving new sub-classes using the changed ones.
See Sickboy's post (Oct 18 2007, 16:56) in BIS forum:
Dialog Template, plus Standard Dialogs(This is a duplicate message of the PM I already sent Loki)
I'll check your posted file in the meantime, but the solution is likely to require a few days work, time which I don't have right now. 6thSense.eu mod is probably the way to go for a solution.
Edit: The posted file is just the original demo - it doesn't help diagnose the problem.
P.S. Once you get it working, there is an improved version of the framework contained in the
Devastation mission. See the relevant images.