How to Distribute Interop.ADOX.dll?

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
 
M

Mattias Sjögren

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
 
J

JSheble

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...
 

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