H
hilz
Hi all
i have this situation where i call a dll "a.dll" from java using JNI.
this "a.dll" calls another "b.dll"
now when i build "a.dll", i specify that b.dll is to have
delayloading. which means b.dll should not be loaded untill a function
in a.dll that needs b.dll is called.
now in my java code, when the dll is loaded as follows:
static{
System.loadLibrary("a.dll")
}
it also loads b.dll. WHY?
how would i make b.dll not to be loaded until it is really needed?
thanks
hilz
i have this situation where i call a dll "a.dll" from java using JNI.
this "a.dll" calls another "b.dll"
now when i build "a.dll", i specify that b.dll is to have
delayloading. which means b.dll should not be loaded untill a function
in a.dll that needs b.dll is called.
now in my java code, when the dll is loaded as follows:
static{
System.loadLibrary("a.dll")
}
it also loads b.dll. WHY?
how would i make b.dll not to be loaded until it is really needed?
thanks
hilz