How do I refernce the qjson.dll file from one of qt project?
For eg :C:\qjson-0.7.1\qjson\build\lib , in this location, I have qjson.dll and qjson.dll.a file. I want to use that dll from my qt project.How should I point to that location in that .pro file. I can't compile successful, the error that I got is
C:/QTTest/foo/foo/main.cpp:6:...
I am trying to retrieve a list of all hardware like
Device Manager
and Softwares installed like in
"Add and Remove Programs"
on a remote system in LAN. Is it their any 1 or 2 dlls to include instead of all dll for each hardware. ?
...
The reason why it should be empty is because I need to write it in C:
http://stackoverflow.com/questions/951516/what-good-ides-are-availble-for-c/951582#951582
But how to write a dll from scratch?
...
I need to subclass a richedit control in a chat program (I am trying to make a musicbot).
I dont know how to code in c/c++ but i was able to use c++ to inject a managed code into the chat program using CLR Hosting. But couple problems occurs. Hopefully I can get some help from here.
My managed code would exit after it finished the thre...
I have a DLL written in fortran that I know works because I am getting it from a working software package that we use daily. I am trying to call it from anything but am having problems i believe with passing the correctly formatted arguments in and out of it, so i decided to try and access it from a VB program. I chose VB because I hav...
Is there any way to automatically generate the DEF file for a DLL in Visual Studio? I've always just manually created them before, but there's gotta be an easier way.
...
I have an application that uses the winInet classes - #include <afxinet.h> and the wininet.dll
I would like to statically link the WinInet function calls in my application as well as the dll, so I followed these steps. I then copied the wininet.dll into my project directory, as I read here.
Upon building I get the following error -...
when we will say a dll is COM dll and when we will say a dll is vc++-MFC dll ?
What is the difference between them ?
...
I have a VB.net console app and I am opening a function in a dll written in fortran. I am passing 3 arrays through the function by reference. When they come back out the otherside they ahve all tunred to arrays of only one element. And that element is 0.
I read on the internet somewhere that when doing this kind of thing it is a good...
I have an application that uses a 3rd party component. This component references a particular dll, say X.
My application is installed on 2 different machines, say A and B.
A has 5 X.dll in the Winsxs folder, differing in their minor versions.
B has 3 X.dll in the Winsxs folder, again differing in their minor versions.
My application run...
Hi,
I created a .properties file that contains a few simple key = value pairs.
I tried it out from a sample c++ console application, using imported java classes, and I was able to access it, no problem.
Now, I am trying to use it in the same way, from a C++ dll, which is being called by another (unmanaged) c++ project.
For some reason...
First, COM is like black magic for me. But I need to use COM dll in one project I'm working on.
So, I have a DLL I am developing and I need some functionalities that are available in a separate COM DLL. When I look to the COM DLL with Depends.exe I see methods like DllGetClassObject() and other functions but none of the functions I'm i...
I am writing a small AOL IM application in C#. I have all the dlls that I need and I have been able to compile and run my app. However, when it runs I get an error that says
"Unable to load DLL 'acccore.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
I understand that this means the acccore.dll fil...
I have made a .NET class library in C# that initializes some logging, sent to an external tool. The library is altogether separate from any application, but in order to initialize it, I need to make at least one method call to it.
Is there a way for me to put something into app.config that will auto-load that dll, and call something in ...
How do I write a class so that property and method descriptions are visible to people referencing the dll in other projects?
[Description("My age in years attribute")]
public int Age
{
get { return 0; }
set { }
}
doesn't work, neither does
/// <summary>
/// My age in years attribute
/// </s...
I got a snippet of c# code from Koders and all the code greyed up after
#if CONFIG_CRYPTO && CONFIG_FRAMEWORK_1_2
What I am suppose to do to match the condition?
(I use Visual Studio)
...
I am trying to call a Delphi function from C# ASP.NET code. The function's declaration looks like this:
function SomeFunction(const someString, SomeOtherString: string): OleVariant;
From my C# code I have this code:
[DLLImport(MyDLL.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)]
public static extern obj...
I have two DLLs a.dll and b.dll and in each one I have one class AClass and BClass.
I would like to have both AClass and BClass inherit and implement the same interface AbsBase which is a pure abstract class.
In each class I set up the #defines for __declspec(dllimport) and __declspect(dllexport). When I'm trying to compile I get this:
...
We have a NANT script that uses msbuild to compile our visual studio solutions and deploys the .dlls into the GAC.
This works well on our integration/test servers as part of continuous integration, cruise control uses the NANT scripts and every time the dlls are put into the GAC without problem.
On our local development machines, where...
I'm using a DLL written in c++ in my C# project. I have been able to call functions within the DLL using this code:
[DllImport("hidfuncs", EntryPoint = "vm_hid_scan", ExactSpelling = true, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr VmHidScan();
Now I need to call a functi...