Visio ComAddIn Problem

K

kippi

Hi everybody,

I developed a Visio ComAddIn ("flashvisio") for flashing shapes and to
continue them rotate. This dll (in-proc-server) has an interface to
the control program (to say what shapes have to flash and to rotate)
and an another interface to Visio 2003 / 2007 to accomplish the shapes
operations. After dll registration by "regsvr32 path\flshvisio.dll"
everything is running as I wish.
BUT:
After dll deregistration by "regsvr32 -u path\flashvisio.dll" and a
new registration the dll is not loaded by Visio. When I copy the same
file "flashvisio.dll" from the developer directory to the goal
directory (where it was registered) or I boot the machine it works
again.

Is there any explication for this behavior?

Many thanks,
Kippi
 
P

Paul Herber

Hi everybody,

I developed a Visio ComAddIn ("flashvisio") for flashing shapes and to
continue them rotate. This dll (in-proc-server) has an interface to
the control program (to say what shapes have to flash and to rotate)
and an another interface to Visio 2003 / 2007 to accomplish the shapes
operations. After dll registration by "regsvr32 path\flshvisio.dll"
everything is running as I wish.
BUT:
After dll deregistration by "regsvr32 -u path\flashvisio.dll" and a
new registration the dll is not loaded by Visio. When I copy the same
file "flashvisio.dll" from the developer directory to the goal
directory (where it was registered) or I boot the machine it works
again.

Is there any explication for this behavior?

I think it's likely that that is correct and normal behaviour. If you
are using an msi installer then you can specify that you want to
reboot during/after the install process. You might get a better answer
in the installer newsgroup "microsoft.public.platformsdk.msi"
 
C

Chris Roth [Visio MVP]

Hi Kippi,

I don't understand 100% what you're doing, but it sounds to me like it
might be a security issue.

Although...

I do remember developing COM Add-ins and having them stop loading all of
a sudden, but I don't remember the fix - clearing out ALL the registry
settings that I had created, or building a new copy of the project with
a different add-in name just to see if it works...

Sorry I'm not much help...

--
Hope this helps,

Chris Roth
Visio MVP


Visio Guy: Smart Graphics for Visual People

Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top