I created a .net (c++) dll which I'm using with a com application. In order to use the dll with com, I ran the sn,gacutil, and regasm/tlb utilities.

Now, I added a dll from Microsoft Enterprise Library to my dll.

When running the app, I get an error that the microsoft...dll cannot be found.

What do I need to do with the Microsoft dll to make it visible/usable with my com application?

Recommended Answers

All 2 Replies

Sounds like the M$ DLL is not located in one of the directories in your PATH environment variable. Most likely it should be in c:\windows directory or one of its sub-directories (system32?).

Your post is confusing me. Do you have the actual dll or did you simply download and #include the header for it? I'm sure you know it, but you need both...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.