dll

How to remove 'ImageList_Read' : inconsistent dll linkage warning ?

When I build my Visual C++ Solution ( 2005), I get the following warnings 1> c:\winddk\7000.0.winmain_win7beta.081212-1400\inc\api\commctrl.h(678) : see previous definition of 'ImageList_Read' 1>e:\xml parse\development\gui\h\wtl4mfc.h(6) : warning C4273: 'ImageList_Write' : inconsistent dll linkage 1> c:\winddk\7000.0.w...

Debug a referenced DLL in a separate solution

I have a web project, A, that references a DLL, B, that I would like to debug. I have the DLL source code in a separate solution. Is it possible to step into the dll code without adding the dll project to my A solution? Thanks! FGA ...

How to call a dll file that is in client system using PHP?

Hi friends, I want to call the dll that is available in client machine(For example:C:\Program Files\Applicationname\example.dll).I am using windows environment.So No issues with using COM.But I dont know how to create a object for the client's machine dll?I need a help. Thanks in advance. ...

How do I use a COM object from C?

I have a DLL containing a COM object that I'm trying to use. I couldn't find any good explanations of how to do so with C. It would be much appreciated if you guys could redirect me to a tutorial or something. ...

How to import a DLL function in C?

I was given a DLL that I'm trying to use. The DLL contains the function "send". this is what I did: #include <stdio.h> #include <Windows.h> int main(int argc, char * argv[]) { HMODULE libHandle; if ((libHandle = LoadLibrary(TEXT("SendSMS.dll"))) == NULL) { printf("load failed\n"); return 1; } if (Ge...

Combine multiple DLL's into 1

Hi, I'm wondering if it's possible to combine multiple DLL's into 1. I'm currently working on a C++ project that is dependent on many dynamic link libraries,so would it be possible to combine them into 1 DLL file, and if so, how would I do that? ...

How can I call a exported function using ordinal number.

If a dll exports some functions and the functions have only ordinal numbers, how can I call the functions? Give me a short example please. ...

how to use gsmComm lib to import phonebook data

I would like to retrieve the phone book data from SIM using GSMComm lib in C#. (SIM Card is inserted into a USB Modem) However, I do not know how to use the these methods to retrieve the data: -FindPhoneEntries() -ReadPhoneEntries() -DeletePhoneEntries() I could not find the according syntax to call these Phonebook method. Could you c...

Change program's working directory in compile-time in Visual C++

Is there a way to define a program's working directory to be different from its current directory at compile-time, on Visual C++? The bosses want the executable to be on the root directory but all DLLs to be in a separate dir. ...

Asp.net website DLL versioning

Hi there, We have a DotNetNuke application for which we build a number of modules and lately it seems a specific problem keeps coming up. The modules we build make use of a third party DLL from Telerik. Some of the older modules use the DLL that targets .net 2.0 whilst others use the DLL that targets .net 3.5 We now get conflicts w...

Access Violation Exception

Hello, I am having some strange problem. I have written a small module in VC++ using OpenCV. It works fine. The code aggregates feed from the CCTV camera connected to the USB port. however, I had to write the rest of my application in C#, so I made a DLL of the VC++ code and called the VC++ method from C#. Now, I have ended up getti...

imports java.util.zip in a vb.net project.

I need to import java.util.zip for my project to zip and unzip chosen files/folders in vb.net. But when i say imports java.util.zip, i get the error "Namespace cannot be found". I went in the add reference and checked in both .net and COM components bout found nothing for java. What dll would i need to make this work? thanks ...

What is a Windows command-line EXE's "side-by-side configuration" and how do I correct it?

I have a simple .exe written in C++ (built with Visual Studio 2005) that tests some hardware using a supplied API. It works fine on the Windows 7 machine I built it on, but when I copy it to another (Windows 7) machine and run it (from the command-line) I get: The application has failed to start because its side-by-side configurat...

Exposing C# COM server events to Delphi client applications

Hi Hector, the url you posted is not working, could you post the answer here. i have been having a headache with this issue, thanks in advance ...

How to make only one DLL when publishing asp.net website instead of "App_Web...dll's ?

I have a ASP.NET Web application which has 2 projects(one for UI and one for Business layer) Now when i publish this for deployment,its giving me so many DLLS in bin folder which starts with prefix "App_Web...."in the name.How can i make it into only one DLL or 2 DLLS (one for UI and one for BL) ? I work with Visual studio 2010 Thanks i...

Legacy activeX control calls DLL functions - I need help

Hint: this one might sound complicated, because I am trying to give as much info as possible, but I suspect that I just want someone to tell me "yes, you are correct". On this legacy system, which dates from 2002, the user visits a web page and uses an RFID reader to read a tag number, which is then written to an input field on the web ...

How to determine the target machine from a DLL?

How can I determine the machine on which a given DLL can run. There are many platforms ARM, SH4, x64, x32. When I have no other information than the DLL itself how to do that? Background: There is a set off DLLs and some of them are not appropriate. How to detect them "offline"? SOLUTION Thanks for the help: the solution I use is th...

Does ASLR cause a slow loading of Dlls?

In MSVC, the Base Address Randomizaiton is a default option.(Since VS2005?) So, I do not rebase manually the dll's base address anymore. But I rebased my all dlls to improve loading performance when I use VS2003. If I use ASLR option, the loading performance is always decreased? (Of cource I can get other benefits) ...

Returning Struct from VC++ to C#.

Hi, I have written a structure in VC++. I have made a dll of the VC++ code and calling this dll in C# using PInvoke. The VC++ dll looks like this #include <windows.h> #include <stdio.h> #include <conio.h> #include <tchar.h> #include <iostream> #if defined(_MSC_VER) #include <windows.h> #define DLL extern "C" __declspec(dllexport) #els...

C++: Binding class functions in DLLs

I'm relatively new to DLL importing and function binding. Let's say I have a C++ project which is a GUI library written fully in OOP aiming to be used in games. My game project however is written in Delphi. I now want to bind Delphi functions to the ones in the DLL. I would know how to do this with simple functions, without classes lik...