I created a Office Add-In in VS 2008, C#, .NET 3.5, and VSTO. It is deployed via ClickOnce. A run-time configuration form executes regsvr32 to register "fooapi.dll" included with the project that can not be registered during instal due to ClickOnce limitations. Is there any prefered way to check and see if "fooapi.dll" is registered duri...
I used cpython api to load py from C/C++.
But, if i want not setup cpython in client, can I take package dll of cpython in my program?
How to do that?
...
I have never used dll's before(absolutely no experience) and I wanted to replace a dll in an app with one that can somehow debug(show me in some way) what function was called.
So if dll one had this type of code(again, i have no experience)
function test(var1, var2, num3){
//dosomething
}
I would replace with
dll.onfunccall = ale...
I wrote my program in C++ and exported it as a DLL. I have a C# WPF GUI and I want to import the DLL to do the processing.
I am very new to C#. How can I use the C++ class in C#? I know I can't just use the .h file.
Because I used pointers in C++, in C# I couldn't use pointers. That's why I got confused. Like in C++ i used char* instea...
Hello everyone,
I am trying to create a FF extension which implements XPCOM component. I built my component as a DLL following this nice guide: http://www.iosart.com/firefox/xpcom/
My component uses two external DLLs: lib1.dll and lib2.dll. Known issue here is that FF does not load external DLLs automatically. If I put these libs into W...
I am wrote a visual c++ win32 console app, and i wrote it and tested it in
win32 console project
. then i switch to
win32 project
and imported all the source files and created a dll for it. by mark the class i want to export as
#define DllExport __declspec( dllexport )
class DllExport theClass {
}
it works and the d...
Hello . I need to create dll for this module
module MarketNews where
import Foreign
import Foreign.C.Types
import Foreign.C.String
import HighAPI(getNextNewsInfo)
getNextNewsInfoM :: IO CString
getNextNewsInfoM = getNextNewsInfo >>= \x -> newCString x
foreign export stdcall getNextNewsInfoM :: IO CString
I compiled :
C:\Users\tes...
Ok, so I can use dumpbin.exe /exports library.dll to find all methods in the dll.
...but how do I find out which arguments to pass into them? Without a header file of course.
...
Hi,
I want Flash to communicate directly with
dll files. How can I do this?
If Flash works, great! I just need an honest and descriptive answer
Thanks,
REQUIREMENT:
• Work without a server
• Understand what protocol I can use
DESCRIPTION:
• Flash GUI interface
• Stand alone unit
• It has a change acceptor and other hardware
There's ...
I'm automating some outlook functionality in a .NET app. It works great. I am compiling it and using v 12.0.0.0 of the Outlook Interop assembly.
My code should work on any version of Outlook so it seems silly to have to bind it to a specific version.
Is it possible to use reflection to do this instead of compiling a reference?
A...
Hi,
I am trying to build a .dll in order to link it to one of my projects. But the build always fails : I got these messages in the output and I don't know what it means. It seems that something is missing, but I couldn't find what.
I am trying to link a Mesher called Netgen
http://www.hpfem.jku.at/netgen/
1>adfront2.obj : warning LN...
I am using MinGW which does not have full functionality. eg. It has no wchar_t stream support.
I've managed to get around that by writing a mini-set of manipulators (the wcusT() in the code below).. but I find I'm getting stymied again with GetModuleFileNameEx.
I have not been able to natively run GetModuleFileNameEx()
This function is ...
Hello,
I can readily dump the entire memory space of a process using various tools.
But is it possible to dump just the memory space used by a DLL loaded by some process? What tools should I use?
Thanks,
Jim
...
I am writing a program in windows in C++ for which users will be able to compile extensions in the form of dynamic-link libraries (windows) or shared object files (linux). On windows, you use the LoadLibrary function to load a dll. Is it possible to do the same for .so files on windows? And vice versa, load .dlls on linux?
...
Hi,
I have some dll files(not custom and not written by me) and I need to use the functions, that are c/c++ written, in these files in my java project. I googled and read many examples about JNI but they were all about writing your own program and dll and then reaching them. Also I don't think dllexport exists in these dlls, so dllimport...
Hi,
I have a project A linked to a project B. B is compiled into a .dll while A is the main program and compiled into a .exe
The compiling of the projects is done without any issues, but when I run the program, I get a pop-up window saying "This application has failed to start because B.dll was not found. Re-installing the application...
I'm getting a really weird FileNotFoundException thrown the first time I try to use a class defined in an assembly I have referenced. The assembly hasn't changed, and the location in the project file corresponds correctly to the physical path on disk.
This suddenly started failing in a solution that consists of two library projects, a w...
Suppose there is a c++ method int NativeMethod(double, double *) in a Native.dll. My first attempt at calling this method from managed code was (assuming I don't need to specify the entry point)
[DllImport("Native.dll")]
private static extern int NativeMethod(double inD, IntPtr outD);
Then to use the DLL I did
IntPtr x = Marshal.All...
Does anyone know of a tool, or any solution (preferably free), to automatically generate editable assembly dependency graphs (such as Visio diagrams)?
I have found similar threads online, but the several tools recommended (.Net Reflector Graph add-in, Dependency Visualizer, GraphViz, etc) generate only image files (PNG, JPG, SVG, etc).
...
When linking an executable, if it does not make reference to any of the symbols in one of the DLLs on the link line, will it still depend on that DLL at runtime?
To make the question concrete, suppose I am building an application from Visual Studio project foo.
Under Project Properties > Linker > Input > Additional Dependencies I have ...