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...
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
...
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.
...
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.
...
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...
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?
...
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.
...
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...
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.
...
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...
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...
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
...
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...
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
...
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...
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 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...
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)
...
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...
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...