15 questions
1
vote
0
answers
78
views
Creating a C chrome.dll forward-only wrapper give STATUS_STACK_BUFFER_OVERRUN
I was experimenting with writing a forward only wrapper that expose the function of the original dll, I decided to play with chromium "chrome.dll", my code seem to work, chromes open but ...
0
votes
1
answer
100
views
Python CDLL: Problem with calling libc-Routines in dll
I'm having trouble with calling libc routines from a self compiled dll loaded with ctypes.CDLL.
Here is a minimal example:
DLL is generated in Visual Studio 2022 (OS: Windows 11, everything in 64 bit) ...
0
votes
0
answers
116
views
Using C++ SQLDriverConnect Connection Handle in C# as SqlConnection
Below code is used for SQL Connection in C++:
SQLDriverConnect(hdbc, /* Connection handle */
0, /* Window handle */
connectString, /* Connection string */
...
1
vote
2
answers
485
views
C# cannot use params object[] instead of __arglist
I am trying to call an unmanaged dll.
While looking for information about this and trying it, I thought I could use params object[] instead of __arglist , so I changed it like the following code, but ...
0
votes
0
answers
22
views
Return type of the C function is always an integer while calling it using so file from python [duplicate]
I am trying to catch the return value of the function which written in .c file from .py file
Here is my C code snippet and it runs perfectly with main function for itself,
float checkRet(){
...
0
votes
0
answers
48
views
Loading dynamcally a DLL inside another DLL
I'm trying to convert the functionality of our old code to a DLL.
One of the function wants to export from our old code use a dynamically linked DLL (that I'm gonna call other)
std::wstring ...
1
vote
1
answer
111
views
Wrong ctypes assignation
I made a CPP DLL and I'm trying to call function inside it from python.
I've achieved this multiple times for other functions, but this one, I just can't find my mistake.
dll_name = "..\\src\\x64\\...
3
votes
2
answers
12k
views
C# - Loading DLL Dynamic - System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types
In C#, while loading DLL from folder using the below code getting these below stack trace, when tried to get the types.
var assembly = Assembly.LoadFile(assemblyInfo.FullName); // assembly loads ...