Questions tagged [loadlibrary]
558 questions
0
votes
0 answers
How to call face detection in opencv from within matlab?/failure with the loadlibrary
I am using matlab 2011b (32bit), VS 2008, OpenCV 242.
I would like to load the libraries and then call them by "calllib" in matlab. My problem is
when I load the libraries:
opencvPath = 'C:\opencv';
includePath =…

user1599339
- 1
- 1
0
votes
1 answer
warning in using loadlibrary function
I’m trying to use loadlibrary function but it shows me a warning:
loadlibrary('test1.dll', 'testheader.h')
Warning: Warnings messages were produced while parsing. Check the
functions you intend to use for correctness. Warning text can be
…

mahnaz0098
- 19
- 4
0
votes
2 answers
JNI UnsatisfiedLinkError- how do I load libraries correctly?
I'm trying to work with the Java sample Database program from the CardScan SDK.
I am working with files located in Java/JNI and Java/Database. The program must be run with a 32 bit JRE. I was able to do so on a 64 bit machine by uninstalling Java…

blastb
- 1
- 1
- 3
0
votes
3 answers
using visual C++ compiler in matlab
i installed two compilers in Matlab : LCC and Visual C++ 2008
i want to load a C++ header file in matlab but when i want to do this matlab uses LCC instead of
Visual C++ and gives me some warnings .
i used:
mex -setup
mbuild -setup
but Matlab…

mahnaz0098
- 19
- 4
0
votes
1 answer
LoadLibrary("MSVCR90D.dll") Fail
Oh, I don't know what's the matter with this loadlibrary("MSVCR90d.dll").
It always return 0x00000000.
Here is code.
HModule hMod = LoadLibrary("MSVCR90D.dll");
Please tell me the reason.
< I simply made MFC Application Program. >

bTagTiger
- 1,261
- 5
- 23
- 38
0
votes
2 answers
Unhandled exception when call vc++ dll in vc++ code
I want to call my vc++ dll in my vc++ code.
but the error occur that Unhandled exception at 0x00000000 in .exe: 0xC0000005: Access violation reading location 0x00000000.
after last line.I have call vc++ dll by ordinal no.
In .h file
typedef int…

jiten
- 5,128
- 4
- 44
- 73
0
votes
1 answer
vc++ dll call by vc++ application by ordinal no
How to call vc++ dll in vc++.
in .h file
typedef int (*LPVAR)(char * ptr_f, char *CC);
HINSTANCE hDLL;
in .cpp file
hDLL = NULL;
LPVAR var;
hDLL = LoadLibrary("Pro.dll");
if( hDLL == NULL )
AfxMessageBox("Could not load the DLL");
else
{
…

jiten
- 5,128
- 4
- 44
- 73
0
votes
1 answer
Memory exception when trying to load a dll from a mvc web app
I am using a third party .net library, which loads a dll using
Kernel.LoadLibrary(DllFileName)
Everything works fine when this code executed in a c# console application, but when im trying to use the library from a web app (an mvc app), im getting…

Joe
- 255
- 2
- 6
- 21
0
votes
2 answers
GetProcAddress weird return address
Someone explain why the next code returns a pointer inside ntdll.dll?
GetProcAddress(LoadLibraryA("kernel32.dll"), "EncodePointer");
GetProcAddress(LoadLibraryA("kernel32.dll"), "DecodePointer");
PS: If call the function pointed by kernel32's…

greenboxal
- 469
- 3
- 16
0
votes
1 answer
LoadLibrary() fails with error 1114: "A DLL initialization routine failed" for Users
I have a situation where LoadLibrary() fails with error 1114, but only fails when user that is logged in is part of the "User" group. Works just fine for "Administrators" and "Power Users". I can also run it just fine if I start application as…

concentriq
- 359
- 2
- 6
- 16
0
votes
1 answer
SDT Kernel mode hooking
I am doing an experiment to successfully hook an API call globally, and I read somewhere about the SDT (Service Descriptor Table) and kernel mode drivers.
Does this sort of hook work for calls that reside within user32.dll and the like?

Qix - MONICA WAS MISTREATED
- 14,451
- 16
- 82
- 145
0
votes
2 answers
loadlibrary issues in Java
so I have this project in java that uses a jni .dll i wrote (which i've aptly named jniusb) that gives access to usb-hid devices. i've been using it for several months now without any notable issues until yesterday when i tried to launch my program…

Ben
- 1,132
- 1
- 15
- 35
0
votes
1 answer
Why does Visual Studio not link correctly as a matlab mex file against the rundll?
I have the following problem: I have a 64 bit version of matlab 2011b. I need to call some functions from a DLL. This has been working some time ago with the prof version of visual studio 2010.
Now I want to get it running with the express version.…

Christian Wolf
- 1,187
- 1
- 12
- 33
0
votes
1 answer
python: unable to specify relative path for dll import
I am trying to load a dll in python, and can only do so if I enter the absolute path. I would like to use a relative path, or environment variables. The only thing that works is if I specify the exact path (C:...) I even tried to get the dll to…

Thalia
- 13,637
- 22
- 96
- 190
-1
votes
2 answers
How to avoid loading wrong libraries when using a subprocess.Popen() from a python script to run a venv?
I want to run a script using a venv python~3.9 from a subprocess call of another application that uses python3.6. However the imported libraries are wrong and from the site-packages of 3.6 version. How can I modify the subprocess call to load the…

Srijeet
- 9
- 4