how to use .dll, .lib, .exp not managed in a c + + project

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

Build lib from source with visual studio or cmake

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

See which method is currently used from a DLL

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

Import C dll into C #, how to convert short ** type

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

Downloading runtime DLL

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] =

The best way to make my DLL accessible only by my exe?

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

Integrating the prolog engine into a DLL

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

How to add Flurry SDK to the WP7 project?

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

Convert void ** pointer to equivalent Java type

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

How to deploy a DLL in constant evolution?

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

How to get an instance of TForm from a handle?

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

How can I put a dll in my project - visual studio C # 2010

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

Using DLLs in the Visual Studio 2010 C ++ Project

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

.NET client that supports multiple versions of an unmanaged DLL

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

convert any file to pdf

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

Is it safe to return iterators?

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

Blocking When the C ++ Program Calls the Delphi DLL Function

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

Error while importing msado15.dll

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

How to use the existing C # code of program C

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

All symbols of a class exported by DLL are not exported (VS9)

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

Delphi calls a DLL

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

General utility library or several specific DLLs?

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