M
Mike H
I am using the Visio Drawing Control to present a diagram to an end user in
an application which I am developing. The user will be able to choose from a
number of diagrams, so the DC.Src property is set to '' when my application
is launched. I have found that if I have loaded a diagram that requires the
modeleng.dll, I get an access violation when the exiting. I have tried
loading a simple diagram with just a couple of square shapes and noticed that
the modeleng.dll did not get loaded and exiting succeeded without an
exception.
As I looked into this problem, I noticed that as the user selected different
diagrams (being loaded into the same DC), the number of
DC.application.window.windows continues to increase, even though the
documentation leads me to believe that the changing the Src property will
unload the previous diagram and load the new one.
My application has been coded in Delphi by extrapolating from the SDK
examples in VB.
Any thoughts?
Thanks,
Mike
an application which I am developing. The user will be able to choose from a
number of diagrams, so the DC.Src property is set to '' when my application
is launched. I have found that if I have loaded a diagram that requires the
modeleng.dll, I get an access violation when the exiting. I have tried
loading a simple diagram with just a couple of square shapes and noticed that
the modeleng.dll did not get loaded and exiting succeeded without an
exception.
As I looked into this problem, I noticed that as the user selected different
diagrams (being loaded into the same DC), the number of
DC.application.window.windows continues to increase, even though the
documentation leads me to believe that the changing the Src property will
unload the previous diagram and load the new one.
My application has been coded in Delphi by extrapolating from the SDK
examples in VB.
Any thoughts?
Thanks,
Mike