C# adding a resource error and calling function
Hey all i am new at C# and i am trying to add a resource to a .dll file.
It gives me the error of:
Error 1 Source file 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Temporary Projects\bluRemoteProg\Resources\HIDLibrary.dll' could not be opened ('Unspecified error ') bluRemoteProg
What am i forgetting to do?
David
UPDATE
Got it working but how do i call a function from the form menu? I've tried:
PS3_BluMote.PS3RemoteDevice.Connect();
and
PS3_BluMote.PS3RemoteDevice.Connect();
but that does not see开发者_如何学运维m to work...
You can add a new project to your solution: e.g. YourApp.Engine
as a C# Class Libraray project, then add your resources to that project (Double-click properties of YourApp.Engine project, and click Resources tab).
you can now use your DLL named YourApp.Engine everywhere in your app:
using YourApp.Engine;
精彩评论