Questions tagged [loadlibrary]
558 questions
0
votes
1 answer
Search for pathway starting at directory of .m in Matlab
I'm trying to make a .m file that uses a .dll file and I want to be able to pass my script to other people without error. The only problem is that matlab always searches starting at the matlabroot or some drive if you specify. The location of the…

Absent Lung
- 11
- 3
0
votes
1 answer
How to know what dependencies where loaded by LoadLibrary?
Calling LoadLibrary will try to load the specified library and any dependencies (MSDN: "The specified module may cause other modules to be loaded.").
How can I get a list of the names (or even better, the module handles) of any dependencies that…

user2048466
- 185
- 3
- 13
0
votes
1 answer
Error when using a macro expansion for function declarations
I'm trying to create a proxy class for delayed load of a shared library.
One of the API function of the library is:
int AttachCWnd(CWnd* pControl);
So, I created a macro to easily declare and route calls from the proxy class to the library:
class…

liorda
- 1,552
- 2
- 15
- 38
0
votes
2 answers
loadlibrary in 64-bit Matlab?
I am trying to load a C++ API (for the BB60C radio at SignalHound.com) into Matlab using loadlibrary() but it is only working in 32-bit Matlab (R2014a). The zip file here contains the bb_api.h header file and has both a 32-bit and 64-bit bb_api.dll…

MikeImhof
- 1
- 2
0
votes
1 answer
Read Text file content from External DLL Resource file VB6
I'm trying to load external text from my custom DLL resource file, but it's not working.
Resource file content (Test.dll, Test.rc and Test.res containing Eula.txt), the Eula.txt file is about 6Kb:
900 CUSTOM "Eula.txt"
I'm using the code like…

beic
- 127
- 1
- 2
- 16
0
votes
1 answer
Delphi XE5 : SymGetSymFromAddrw error
I am convert component from delphi 5 to delphi xe5`.
I build it completely but still while installation
following error come
The procedure entry point SymGetSymFromAddrW could not be located in
the dynamic link library IMAGEHLP.DLL

Abhishek Mestri
- 93
- 1
- 1
- 7
0
votes
1 answer
System.loadLibrary stuck while reading .so file
I need to include native library into my applet. Everything works on Windows with .dll, but does not work on Linux with .so. I signed the applet, all its resources and created appropriate jnlp file:
…

rgolovakha
- 518
- 2
- 5
- 17
0
votes
1 answer
load_library(linker.cpp:759): library "libmaliinstr.so" not found simple http GET on device
i was trying to make simple app that takes html code from website and it was making me crazy that it wasn't working...
i was testing it on my smartphone Zopo zp780 and when i accidently turned on an emulator it worked so can anyone please check this…

user3632055
- 236
- 5
- 13
0
votes
0 answers
Trouble deploying web application with native library
I'm creating a simple web application in java servlet which need to call some C code through jni. The application have already run properly on localhost, but I have some troubles deploy it on the server. After I made the war file and deploy it on…
0
votes
0 answers
Error in LoadLibrary: _ZNSbIwSt11char_traitsIwESaIwEE6resizeEjw
Overview
Trying to compile a lib.so with Android NDK r9d for using native code in my Android app. Since the lib.so is a big thirdparty with lot of dependences, I have not done the typical NDK project (with Android.mk and so on); Instead, I have used…

Juanma Lozano
- 57
- 1
- 6
0
votes
2 answers
list of file names sort to a specific order
My java code lists all code files under a directory of file system, and load each file one by one:
File[] files = mDir.listFiles();
for(File f: files) {
System.out.println(f.getPath());
//load code file
System.load(f);
}
The above code…

user842225
- 5,445
- 15
- 69
- 119
0
votes
2 answers
UnsatisfiedLinkError no jogl in java.library.path
I'm trying to build a jogl app. I downloaded the jars and the native dll files. I have included them in my buildpath but when I run my code I get a the error from the title
Here is my vm…

Bula
- 2,398
- 5
- 28
- 54
0
votes
1 answer
C# - cc3260mt.dll throws ArithmeticException whenever I load it
I have a WPF Application, and I must load the DLL cc3260mt.dll
I call it by using LoadLibrary(), but for whatever reason I am getting an ArithmeticException.
Here is what my code looks like :
public partial class MainWindow : Window
{
…

Hyarantar
- 217
- 1
- 12
0
votes
1 answer
LoadLibrary fails sometimes when starting as service
We have a 64bit application running as service on Windows 7 64bit. When we start a service manually, it works fine everytime. When the service is started automatically with system startup, sometimes (like 1 in 10) it fails. Problem is with…

Martin
- 165
- 1
- 15
0
votes
0 answers
LoadLibrary and GetProcAddress on C++/CLI DLL - loaded twice
I have a .vcxproj with a C file that does the following:
extern long __stdcall CallCreateTube(long **Data)
{
char DllPath[256];
FARPROC pfn;
long rtn;
long *pData;
pData = *Data;
lstrcpy(DllName, progPath);
…

ryrich
- 2,164
- 16
- 24