When you define a model into a delphi package all
controls in the model explorer are disabled. They're
enabled only when any application is open before than
the package.
In some situasions the $R directive which includes the
model is changed from {$R .mdr} {XXXModel} to {$R
'.mdr'} and io doesn´t find the model.
Logged In: YES
user_id=1297303
there are two bugs to fix:
Bug: The model is missing when reside in package and changes
the package content
This bug is reproduce in D6 and D7 with the last subversion
source.
Steps to reproduce:
the model's resource:
{$R *.mdr} {Model}
the package code is changed to:
{$R '*.mdr'}
When try to compile the package the follow message is showed
[Error] RLINK32: Error opening file
"C:\Projects\PackageTest*.mdr"
Bug: The InstantObject Model Explorer doesn´t work on
packages without an opened project
This bug is reproduce in D6 and D7 with the last subversion
source.
Steps to reproduce:
All buttons are disable, is no way to add a model unit.