i can call (DLLImport) Win32 .DLL file from a constant specified path in C#.NET.
but if i want to load it from my aplications folder (executavle file path) , what shoud i do?
the DLLImport Attribute doesn’t allow to specify a variable path.
plz help me. tnx
i can call (DLLImport) Win32 .DLL file from a constant specified path in C#.NET.
Share
Just specify dll name without path. As below:
And it would be searched in app folder.