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

File Not Found #11

Closed
CorrM opened this issue Jun 30, 2019 · 8 comments
Closed

File Not Found #11

CorrM opened this issue Jun 30, 2019 · 8 comments
Labels

Comments

@CorrM
Copy link

CorrM commented Jun 30, 2019

2019-06-30_9-40-28

my code is just

MessageBox.Show(typeof(ConariL).FullName);

.Net Target: 4.5

@3F
Copy link
Owner

3F commented Jun 30, 2019

Can you illustrate Conari use? We don't know what's inside your PrintHelper.GetStruct. Also, Conari 1.3 will never throw FileNotFoundException itself.

@CorrM
Copy link
Author

CorrM commented Jun 30, 2019

PrintHelper.GetStruct contains

MessageBox.Show(typeof(ConariL).FullName);

@CorrM
Copy link
Author

CorrM commented Jun 30, 2019

there is any file must be next to the dll .?
EDIT:
i copied Conari.dll in x86 and x64 the same problem !!
i use DllExport in the same project.

@CorrM
Copy link
Author

CorrM commented Jun 30, 2019

SOLVED:
Conari.dll must be in the same dir of your exe that's load the dll that's use DllExport

@3F
Copy link
Owner

3F commented Jun 30, 2019

@CorrM, I'm not sure what are you trying. But you also need to read this: https://msdn.microsoft.com/en-us/library/windows/desktop/ms684179.aspx

And if you're using Conari together with DllExport when unmanaged side is a host side of your application, you can easily specify the any way of searching/loading of all required modules as above.

@3F 3F added the question label Jun 30, 2019
@3F 3F closed this as completed Jun 30, 2019
@3F
Copy link
Owner

3F commented Jun 30, 2019

closed due to SOLVED: status.

@3F
Copy link
Owner

3F commented May 7, 2020

.NET DllExport 1.7.1 now provides integration with Conari in "one click".
There are no more any possible problems with loading the assembly and resolving its types.

https://github.com/3F/DllExport/releases/tag/v1.7.1

Quick integration with Conari for most easy access to unmanaged features;
https://github.com/3F/Conari

@CorrM
Copy link
Author

CorrM commented May 7, 2020

@3F Good work <3.

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

No branches or pull requests

2 participants