Hi,
I am trying to add a DLL reference into a C# project in 2005 Express. But it says not a valid assemble or com component. Any idea where shall I look into
Thanks...
Hi,
I am trying to add a DLL reference into a C# project in 2005 Express. But it says not a valid assemble or com component. Any idea where shall I look into
Thanks...
valid assemble and com component for dll reference
Jobr77
hi,
Is your problem solved If yes, then could you please post the answer and mark it as answered
Thank you,
Bhanu.
CharlestonSW.com
please refer to another thread that I have started earlier "tlbimp.exe and DllImport ".....
Jeffrey D. Baker
Ray
If it’s not a COM or .NET dll then you shouldn’t be adding a reference that way, instead you’ll want to look into P/Invoking it.
Is it a common Windows DLL
If so take a look at Pinvoke.net for a huge collection of signatures that can be used to get it working in your app.
If not, you’ll need to write your own, which in itself is pretty easy. Take a look at this Platform Invoke Tutorial for more info to get you started.