DLL file is located in the project root directory, the following structure
~/DLL, the DLL home folder
- the dir1-name -- DLL folder 1
- dir2 -- DLL folder 1
- dir3 -- DLL folder 1
. - the DLL files and other files, main entrance DLL file here
.
.
/INCLUDE - head folder
/LIB, LIB folder
A link between the DLL, now need to use vc6 calls, require the use of relative paths, you know how great god? Just contact the JNI soon, thank you
CodePudding user response:
Can get first program the absolute path and folder name form the invocation path
CodePudding user response:
VC 6 can be added inside the LIb and h file
Then compiled into the relevant DLL
CodePudding user response:
Relative path is displayed links LoadLibrary GetProcAddress call FreeLibrary
CodePudding user response:
Procurement procedures of absolute path, combined with the corresponding DLL folder name form the invocation path, using LoadLibrary way
CodePudding user response: