cancel
Showing results for 
Search instead for 
Did you mean: 

Shdocvw: "DLL in incorrect format"

JasonDaly
Level 2
I'm trying to create a C# code step which uses the Windows shdocvw component, yet when attempting to reference this assembly I receive an "incorrect DLL format" error message. Research indicates that since this is a COM component that it cannot be referenced within the list of .NET assemblies within a code stage. Is there any way to leverage this DLL within a Blue Prism code stage?
3 REPLIES 3

Denis__Dennehy
Level 15
I'm no coder but it should be possible, Blue Prism use a COM interface for their Excel and Word VBO's. I think more internet research may be required, I don't know if this helps: https://msdn.microsoft.com/en-gb/library/ms973800.aspx

AnastasiyaIlgov
Level 4
Yes, you should go to Initialize page of your object where you want to use this DLL and double click on rectangle with stage description. Go to Code Options and click on Add button and add dll there with full path to the library.

RobertLatherow
Level 3
Look up ""Interop dlls - they are basically a .net wrapper for COM objects.The following links will help: https://docs.microsoft.com/en-us/dotnet/framework/interop/how-to-genera… https://docs.microsoft.com/en-us/dotnet/framework/interop/exposing-com-… I'm wondering this particular wasteland myself, wish I could help more- -rj