I am way out of my league here so I am hoping someone can give me some advice on how to proceed. The long story is, I started with a jar which i ran an application called ikvm on to produce a .net library of my java classes. This was tested and works
I'm trying to build usrsctp library. With cmake it builds and don't show any errors. Building with nmake shows this: Microsoft (R) Program Maintenance Utility Version 11.00.60610.1 Copyright (C) Microsoft Corporation. All rights reserved. cl -DSCTP_D
I know that I can open a DLL file with an assembly browser, such as ILSpy, to see the classes and methods that it contains. But if a process is currently using a DLL, is it possible to know what method it is currently using? And any other details, su
I want to import a dll in C# which is coded in C language. The following is the formate of the function I want to call. /* *ReadAnswer *@param objectID The answer object ID *@param answerBuf The answer buffer.This buffer is automatically allocated by
(edit to separate paragraphs for readability) I have this problem that really needs help. I have written a tool in C# and Visual Studio. This tool is to read I2C data back from a PCBA through an off-the-shelf programmer. After installing the driver f
I'm trying to load a DLL runtime and invoke a method in one of the classes present in DLL. Here is where I've loaded the DLL and invoking method, Object[] mthdInps = new Object[2]; mthdInps[0] = mScope; string paramSrvrName = srvrName; mthdInps[1] =
I'm looking for a way to make my Data.dll only accessible from my exe, for security reasons. The "Friend Assemblies" method is secure? It seems that if I have other exe with the same name, I can see the objects and execute the methods marked as
I've been working on a C++ application that embeds a prolog reasoning engine lately and, as stated in the title, I am now trying to generate a DLL instead of an executable so I can use it in another project. Since I am new to DLL development, I thoug
I have a WP7 project and i want to add Flurry for Analytics and there is no WP7 sdk on there site when i contacted them in support they said " the Flurry WP8 SDK v3.1.2 which is backward compatible with WP7.x apps." But when tried to add to my a
I'm loading a C DLL from a program written in Java. I want to be able to call one of the methods from the DLL with this declaration : dll_function(const char* foo1, const char* foo2, const char* foo3, void** bar, size_t* bar2); How do I call this met
I got a copy of a Visual Studio 2005 project from a friend. The project referenced the DLLs Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WinForms. On my machine I have Visual Studio 2012. I upgraded the project. The references to these DL
i have Run time Error 216 at ADDRESS when registering a 64 bit dll built with Delphi XE2 (I have Update 3). from command prompt I do (note: system32 folder contains the 64bit exe!) c:\windows\system32\regsvr32.exe My64bitdll.dll and after a "dll succ
I'm new to Windows programming and I've just "lost" two hours hunting a bug which everyone seems aware of: you cannot create an object on the heap in a DLL and destroy it in another DLL (or in the main program). I'm almost sure that on Linux/Uni
I have created several small applications that use my own DLL. The problem is, this DLL is constantly changing. My current solution to this problem is that I have a Setup project in the class library solution that creates and registers the DLL. In al
I have a problem which I do not understand. I am using a DLL in my application. This DLL requires other DLL's and I have all of them. If I put the libraries in my appliction folder everything works fine. However, having a bunch of DLLs in application
I'm converting some functions into a DLL which relate to Windows 7 functionality. I can't pass a TForm through DLL, so I need to pass its handle instead. except, once I have that handle on the other side, how do I reconstruct it back into a TForm ins
I'm trying to call a C++-compiled DLL from VB.net and I'm running into some problems. Seems like there's an obvious solution, but I can't figure it out. Here is the function declaration in C++: MyFunction(int trailingaveragesize, double sigmasize, in
I have a C# application that uses an unmanaged C++ DLL. I've found a crash that only happens in WinXP (not Win7) when the memory I'm passing back from the C++ DLL is too big. The basic flow is that C# starts an operation in the C++ DLL by calling a s
I need to put a dll file into my project, my notes say simply drag the dll into the toolbox but it doesn't seem to be working. How do i do this? thanks.You use the "References" item in the Solution Explorer to add a reference to it; Right-click
I am trying to use a DLL in a Visual Studio 2010 C++ project . I followed the directions here but http://msdn.microsoft.com/en-us/library/ms235636(v=vs.80).aspx I cannot seem to add references to my project. When I open add reference there is no way
I am developing a .NET 4.0 client that will utilize a C Library for data processing. The user will be able to specify the DLL file they wish to load for processing. I am doing late binding / assembly loading as described here. http://blogs.msdn.com/b
in my company we need a tool that convert any printable file to pdf. until now we have used PDFCreator, our problem with it is that it is a external tool which uses COM, and its not very stable when using it on servers or multiple users. can you reco
I'm referring to if the class comes from a DLL with its own heap, and it has a private vector, is it safe to have public functions which return iterators to that vector? ThanksIt is not. The fact that it has its own heap is what will prevent it from
I have an abstract class in a C++ program that looks like class Interface { virtual void blah() = 0; virtual int asdf() = 0; }; and that C++ program allows you to load DLLs with LoadLibrary. When you load a DLL, it calls a function in the DLL called
I'm trying to import msado15.dll into my c++ project but I get a bunch of errors like these: error C2018: unknown character '0x40' error C2146: syntax error : missing ';' before identifier 'ÿÿ¸' error C4430: missing type specifier - int assumed. Note
Is there a way I can develop a sample C# program, and make it a DLL, and use it in my C program? Say, C# DLL has a function add(int a, int b) which returns or prints the result. I want to use this in my C program. Any example link should be a good he
I'm building a DLL from a group of static libraries and I'm having a problem where only parts of classes are exported. What I'm doing is declaring all symbols I want to export with a preprocessor definition like: #if defined(MYPROJ_BUILD_DLL) //Build
I've recently been tinkering with a little gameproject using VC++ 2008. I'm using SDL, OpenGL, Boost and Box2D as included libraries. It works fine on my windows 7 machine, aswell as a friend's w7 machine. How ever it wont work on my second friend's
I have a DLL and want to call it from Delphi extern "C" export_dll_function int RetScreen(int number, char** pbuffer, unsigned long* psize, IMAGE_RESOLUTION resolution, float zoom, int dx, int dy); [DllImport("API.DLL", EntryPoint = &q
Is it a better idea to dump 'utility' classes that are shared by multiple projects into a single utilities library, or to create many small assemblies each of which has to be loaded by the projects that use them? I don't really like the idea of utili