How to Distribute Interop.ADOX.dll?

  • Thread starter Thread starter ScottWPNY
  • Start date Start date
S

ScottWPNY

I am including a reference to ADOX in a C# project by doing the
following:

In Solution Explorer, right-click the References node and select Add
Reference.
On the COM tab, select Microsoft ADO Ext. 2.7 for DDL and Security,
click Select to add it to the Selected Components, and then click OK.

This creates a dll in my debug and release directory named
Interop.ADOX.dll.

However if the executable is placed in a different path it requires
this dll.

If I copy the Interop.ADOX.dll to the same path where the executable
resides all is fine.

The question is what must be done during an installation?
Can the file Interop.ADOX.dll just be copied to a directory or is there
some type of registration that must take place?

Thanks in advance for any help,
Scott
 
The question is what must be done during an installation?
Can the file Interop.ADOX.dll just be copied to a directory or is there
some type of registration that must take place?

No registration needed, just copy it to the app directory.



Mattias
 
The Interop DLL is only the .NET wrapper around the COM object itself, so
you'll also have to make sure the COM object is on the target computer and
registered properly in order for the interop DLL to work properly...
 
Back
Top