Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

myo.dll cannot be loaded #7

Open
bibeglimbu opened this issue Aug 12, 2017 · 10 comments
Open

myo.dll cannot be loaded #7

bibeglimbu opened this issue Aug 12, 2017 · 10 comments

Comments

@bibeglimbu
Copy link

While compiling the UWP application it says it cannot load myo.dll. I have referenced the myo.csproj into the work file

@ncosentino
Copy link
Collaborator

We haven't been actively updating this project for about two years now, but this is more than likely an error in the setup on your end and not with the code-base itself. I only say this because it was working and has worked for over two years now and we haven't modified it :)

Can you provide a screenshot or a more detailed error message so we can try to provide some assistance? Unfortunately vague error messages get vague support responses. There's not enough here for us to be able to provide any troubleshooting steps.

Thanks!

@bibeglimbu
Copy link
Author

capture
Thank you for the reply, I understand your response. I have attached an image that might make things clear. IT is a UWP application. The sample provided in the repository does seem to work but when i try to compile this app it just ends up as shown in the image.
Thank you again

@ncosentino
Copy link
Collaborator

Ah this is helpful! ;) Okay, are you able to show me a screenshot of you bin/x86 directory? Your uwp application is looking for the dll here because you're running as 32 bit. The contents of this folder should look the same as the bin/x86 directory of the provided sample application

@bibeglimbu
Copy link
Author

capture
Here it is, In addition i have also copied it to the main root of project where manifest file is located. Myosharp.dll is in the bin folder with x86 folder

@bibeglimbu
Copy link
Author

The link to the repository is
https://github.com/bibeglimbu/penCalligraphy.git

Thank you

@ncosentino
Copy link
Collaborator

ncosentino commented Aug 12, 2017 via email

@bibeglimbu
Copy link
Author

Thank you, I will give it a little try and update if it works

@bibeglimbu
Copy link
Author

I recreated a WPF project and used it DLL there which worked fine. I suppose it has something to do with UWP projects

@modmoto
Copy link

modmoto commented Nov 27, 2017

@bibeglimbu
In UWP projects, you can not access data anywhere on your harddrive, unless the user permitted you to do so. Maybe this is the reason you can not load or find the dll. Just my 2 cents ;)

@omair-khalid
Copy link

It is of course very late but I'd like to share what worked for me, for whatever it is worth.

Disclaimer: I have a Windows Forms app. But the error I was getting was same as that of OP.

What I did:

  1. Add the MyoSharp project to the solution: Right click Solution, Click "Add">"Existing Project..." and select "MyoSharp.csproj". You will now be able to see the MyoSharp project, along with the Windows Forms App project, in the Solution Explorer.
  2. Right click "References" of the Windows Forms App you want to hook MyoSharp with, click "Add Reference...". A window will pop up.
  3. In that window, add the same "MyoSharp.csproj" (the one you added earlier) as the Reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants