DLLImport with relative Folder

G

Guest

Hi Guys,

I want to import some function implemented by C++;
I have built my those function under VC++ IDE,
I have created a DLL Folder on my DOTNET project,and added my DLL file
into this folder.

When I do deploy my Project on Simulator,I have found that
My main Entry file is deployed with different loction with my DLL location,

let's say:

Program Files --mysolution--Main Entry File
|
---DLL---mydll.dll File
So when Main Entry call some function implemented by dll files, it can not
find dll file.
Since my DLLImport["mydll.dll",EntryPoint="EntryPoint"],I know the reason
that is is
because I dont write the correct path.

Question:
Can I write relative path on DLLImport or is it to be absolute file path?
I prefer to relative path than absolute path, since it will make me feel
flexible!

If I can write relative path, how to write,I have googled it, I only find
some absolute path writing.:(

Sorry, I am totally new dotnet user.

Thanks
 
G

Guest

CE doesn't support relative paths, so what you're trying to do,
unfortunately, isn't possible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top