I'm trying to create a Gecko 2.0-compatible DLL in Delphi.
Previously (pre-Gecko 2.0) the DLL needed to export a NSGetModule() function. This worked flawlessly.
Starting with Firefox 4, my DLL is getting loaded (I have verified this though a breakpoint in my initialization section), but my NSGetModule() function does not get called any...
I'm new to Windows concepts. I'm trying to develop a DLL that also dynamically links against other DLL's. I'm using Visual Studio 2010. At linking time Visual studio tells me it's trying to link against a bunch of .lib files. I don't think Visual Studio should attempt to read any .LIB files if I want my code to perform dynamic linkin...
The reason I ask this is widows do not support a good method to communicate between processes. So I want to create a DLL for a communications point between windows processes. A thread is owned by a process and cannot be given to another process.
Each thread has a stack of its own.
If a DLL is loaded (loadlibray) and a DLL function is ca...
Hello.
I have written an application in VS C++ 2010 Express Edition which consists of some DLLs and also depends on some third party DLLs.
The application itself is a DLL.
As it turned out, to make it work on another machine, user has to install VS 2010 redistributable runtime.
I tried to build my DLL with flag /MT instead of /MD - ...
I am working on an assembly that handles various color transformations. When I load the assembly into a new project to test, if there happens to be an bug in the assembly, Visual Studio opens the offending code from the DLL. I can step through all of the code in the assembly.
I definitely don't want the code to be so easily visible/av...
(SOLVED: See self-reply. Thanks to those that answered).
I'm having a weird problem with a C++ DLL I am loading dynamically into my Delphi 6 Pro program. One of the function calls in the DLL is:
__declspec(dllexport) int foo(unsigned int A, unsigned long bitsetVector);
I have the function pointer cast in my Delphi function as:
foo ...
I have a problem with different sound libaries...
I use Visual Studio.NET and C#
I have programmed a small simulator with ebedded sound and want to have a audio libary which also has pause and volume control. So I tried SDL.NET and IrrKlang. Both are working, but I want to habe the simulator as a "standalone" simulator so I have to embe...
hi guys, I really need help...
I have implemented a COM component (i.e A.dll) with IDL, also coded a wrapper DLL (B.dll) for that component. I have implemented required export functions for DLL "A" and registered it with "regsvr32.exe".
Problem is that I have 3 EXE files that uses B.dll to access methods of A.dll. But, I could not mana...
I have a project that generates a dynamic library "my_library". It depends on an other dynamic library : foo.dll (the library itself) and foo.lib (for compilation).
I would like to rename foo into foo2 (you guessed right : it's just an example :) ).
I know i can rename foo.lib and foo.dll into foo2.lib and foo2.dll and simply recompile...
Hi,
I have written a COM visible dll, which will be called from a native Win32 program. For debugging purposes I added a simple WinForms client to the solution containing the dll.
Now when I set a breakpoint in the dll, that breakpoint is hit, but I can't step through the code: the debugger always jumps to the next breakpoint in the dl...
Does this command just soft links to x.dll,say if I delete x.dll things won't work?
...
I watched a ASLRed dll images's based address for 32bit Process.
It's not a fully randomization. It just randomizated 1/2 probability.
For example, once I load a dll then the image is loaded on 0x12345678.
And I load the image again, the image is loaded on 0x23456789.(Base address is chagned!)
But I load the image again
0x12345678
0x234...
I'm having exactly the same problem as the poster in this question. I have a visual studio C# projects from which I'm trying to call a function in another DLL (which is also part of the solution).
The DLL is a C++ one and the exported function I'm trying to call is declared like this in C#:
[DllImport("SomeDLL.dll")]
private extern sta...
Hello All,
This question is related to my previous question - http://stackoverflow.com/questions/3632473/dynamically-running-a-dll-at-a-remote-windows-box
First of all, thanks for all your helpful insights.
I have found a way to run a DLL at a remote machine.
Now what I am trying to do is as follows.
(1) send a DLL to the remote m...
What is the command line to see the contents of a Shared Object module (lib*.so)?
Like how we use:
ar -t lib*.a
for archives(lib*.a) and it displays all the object files in the library.
EDIT1
Example
ar -t lib*.a
gives me a display:
asset.o
sldep.o
...
I would like to test (and validate) an application that analyses executable files obfuscated with UPX, ASProtect, PECompact, etc... Does someone knows a place where I can find (dummy) samples apps obfuscated with different algorithms?
...
I am able to load a DLL created from C source from within Lua. So what I want to be able to do is pass the current Lua state FROM Lua to the loaded DLL.
Basically I'm using a game engine that uses Lua. The scene editor of said game engine creates the Lua state and calls Lua scripts and I know for a fact that it uses 1 lua state for all...
I'm trying to debug a C/C++ native DLL project from Visual Studio 2010. I'm attempting to follow these instructions:
http://msdn.microsoft.com/en-us/library/c91k1xcf(v=VS.100).aspx
I want to use the built-in debugger and be able to step code, examine structures, etc. as I would do with a regular .exe project. The instructions on the pag...
Hi there!
I've built and installed my service from vs2010 onto a 64bit machine.
My problem comes in when my service references 32 bit dlls (spssio32.dll to be precise) - I get the error in my event viewer : "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x800700...
how to use RIOT dll in C# application? is there a way that i can use it in my program.
...