when use DLL in c++? [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
For the last 3 weeks I've been trying to create a code generator and my boss told me to put into a plugin DLL so we can call it next time when we want to reuse it !
So I searched the web for a Dll meaning but it still kind of vague , so if you have a better simple definition or a clear idea about DLL in C++ for beginners please enlighten me.
Another thing : I noticed that some uses QT to create plugin , so what's in QT that give us the possibility to do that that we can't find in any other IDE ?
PS: I've never used QT!

DLL-Dynamic Link Library is classes, methods and procedures packaged up into a compiled file to be used in conjunction with other programs. Its similar to an executable .exe file except you don't need a main method.

Related

Will code's edit control in mingw [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How is coding for create Edit control object(Cedit class) with Mingw?
I read msdn did used "afxwin.h" but cannot found with MinGw compiler.
It is you showed code as good.
The afxwin.h header is part of the MFC framework. No one has come up with a MinGW version of it. So no, you cannot use it with MinGW. Note that even if you could, you would still need to buy a version of Visual Studio that comes with MFC in order to get a license that would allow you to use MFC.
If I were you, I would look into other GUI frameworks. For example Qt (which is much nicer than MFC to begin with; MFC is a legacy framework that most people don't use anymore.)

How to read and write "Excel" with c/c++ (in smartphone app develop) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm a smartphone app developer.
I want to make a app running in iOS,android,winphone.
I use cocos2d-x platform tool to make this app. it base of c/c++ language.
So,
Dose anyone can tell me How to read and write excel with c/c++
For what purpose? Just reading the file can be done by treating it as an opaque stream of bytes, just like any other file.
I doubt that's what you really mean, though.
If you want to interpret the file's contents, and present/update the calculations, then surely you must realize that the answer to "how" that is done must be gigantic? Excel is a huge, huge, and very old application, probably the result of many millions of lines of code.
Nobody can tell you "how" to interpret that in a simple answer here.
The closest thing you can probably get here is a recommendation on a library to use. I had a quick look, and LibXL was the first one I found for C++. It is a commercial library, and I have no experience with it.

Looking for a Qt open source project which is similar to Windows Paint [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm searching a Qt open source project for reference. Is there such a project like Windows Paint?
What Qt gives you in the base examples is the "Scribble" sample, which is supposed to get you started:
http://doc.qt.nokia.com/latest/widgets-scribble.html
But if you wanted something that's going to have shape tools, color palettes, and other features then there's KolourPaint, but it is dependent on more than just Qt for both the compile-time and run-time...as it uses KDE:
http://en.wikipedia.org/wiki/KolourPaint
You might have difficulty finding a clone of MS paint written in "pure" Qt. In part, that's because Microsoft Paint is kind of a useless program, and I always found this video rather amusing :-)
http://www.youtube.com/watch?v=Hxx2KcPWWZg

C++ .dll files what exactly can they be used for and how to create them [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i have been doing some looking at dlls. what exactly are all the uses of dlls...can they be used to store graphics? im guessing the main way to use them is to store code...or am i wrong? how do you go about creating dlls(with source and graphics? if possible).
any help would be appreciated.
i am using Code::Blocks ide with mingW compiler.
dll - dynamic link library, refers to a shared library on microsoft platforms.
You should check this out and that should clarify your basically flawed understanding of what an dll is..
You're right, DLLs are meant for holding execution code.
However they can be used to embed images, using resources in Visual C++ but I don't think it's possible with Code::Blocks.
To create a DLL with Code::Blocks, simply create a new project with template "Dynamic Link Library".

C++ windows registry editing [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
hey i need c++ program to edit windows registry
One good program is Regedit.exe. It is probably written in C++.
Qt has an excellent framework for editing registy - that is, QSettings. And for bonus points, if you happen to change your mind and go Linux, your code would still work, storing your data in .ini-style configuration files.
Take note that Qt is very fat for a C++ library, but also very functional. There's a crazy lot you can do with it. I also absolutely recommend it for GUI.
There are probably a thousand small C++ wrappers for registry access. Of course I wrote my own, too. See the class RegistryKey in my envvc program. It's only read-only access, but you'll get the idea.