mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Removed hard coded .dll filepaths
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#ifndef __DYNAMICLIB_DARWIN_H_
|
#ifndef __DYNAMICLIB_DARWIN_H_
|
||||||
#define __DYNAMICLIB_DARWIN_H_
|
#define __DYNAMICLIB_DARWIN_H_
|
||||||
|
|
||||||
#define icsneo_dynamicLibraryLoad() dlopen("/Users/paulywog/Code/icsneonext/build/libicsneoc.dylib", RTLD_LAZY)
|
#define icsneo_dynamicLibraryLoad() dlopen("libicsneoc.dylib", RTLD_LAZY)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
// MSVC does not have the ability to specify a destructor
|
// MSVC does not have the ability to specify a destructor
|
||||||
#define ICSNEO_DESTRUCTOR
|
#define ICSNEO_DESTRUCTOR
|
||||||
|
|
||||||
#define icsneo_dynamicLibraryLoad() LoadLibrary(L"C:\\Users\\Phollinsky\\Code\\icsneonext\\build\\icsneoc.dll")
|
#define icsneo_dynamicLibraryLoad() LoadLibrary("icsneoc.dll")
|
||||||
#define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func)
|
#define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func)
|
||||||
#define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)
|
#define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user