Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,
I am trying to use libzplay.dll in my project but I got an error message when add Reference to this dll file : "A reference to libzplay.dll could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component".
i am use VB 2013 ultimate with windows 8.1 64 bit. it's problem ?


Please tell me why I got that error and how to fix it.
thank you for help
Posted
Comments
Richard MacCutchan 13-Jul-15 4:33am    
The error message is telling you why. Check that the DLL can be used as a .NET reference assembly.
Member 11748490 13-Jul-15 4:39am    
so, any solution with this problem ? or any way to add libzplay.dll to my project ?

how to check it ?
Richard MacCutchan 13-Jul-15 5:02am    
Ask the people who wrote the library.

1 solution

If it is just another project to which you want to add reference, try adding the project to the solution and then add reference to that project in the solution.

If the above is not the case and if it is native dll then you can use DllImport Attribute.

Else, follow these links which may be useful
using regsvr32[^]
using TlbImp.exe[^]
Using DllImport[^]

Hope, it helps :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900