Eclipse C++ dll import
Hi :) How does one import a dll into an Eclipse C++ project? ...
Hi :) How does one import a dll into an Eclipse C++ project? ...
is there a way to use mouse as an event handler in c/c++ im a student and got a mini project to do, im making a game on snakes and ladder (the famous board game) and trying to make it with basic borland c++ compiler working with a header file called graphics.h, which is very basic and gives output of 640 X 480 res, so I was wondering if ...
Let's say we got a main executable called "my_app" and it uses several other libraries: 3 libraries are linked statically, and other 3 are linked dynamically. In which order should they be linked against "my_app"? But in which order should these be linked? Let's say we got libSA (as in Static A) which depends on libSB, and libSC which ...
Referring to http://stackoverflow.com/questions/303562/c-format-macro-inline-ostringstream The question there was for a macro that allows inline concatenation of objects to create a string, iostream-style. The answer was: #define SSTR( x ) dynamic_cast< std::ostringstream & >( \ ( std::ostringstream().seekp( 0, std::ios_base::...
Today I got my book "Head First Design Patterns" in the mail. Pretty interesting stuff so far, however I do have a question about it's contents. I have no Java/C# background nor do I wish to jump into those languages right now (I'm trying to focus on C++ first). In the book is said that java does not have an implementation for interface...
Does anyone know any (preferably FOSS) C++ libraries that can draw basic graphs? I'm looking for something rather simplistic. Everything I could find through Googling involved complex, scientific-oriented 3D graphs. MathGL seemed like a good choice but I'm afraid it might be way too complex for our project. Thanks in advance! See al...
I am currently constructing a Carputer front end and one function that it needs is to be able to recognize when external media is inserted, such as USB/SD memory sticks or iPods. Upon their insertion, I will then scan the device for music/video/images and add them to the media library. Alternately, I need to know when these devices are r...
Microsoft appears to be moving a lot of configuration and query capabilities to PowerShell (accessible from C# or managed C++), while deprecating and even removing older APIs (accessible for C or unmanaged C++). Those of us who have extensive unmanaged C++ programs that can't switch to managed C++ may have a need to call PowerShell cmdle...
I'm trying follow a tutorial to create a custom USB driver in Linux and I hope to develop this thing on my Eee PC with Ubuntu Eee using g++. Unfortunately to follow the tutorial I need the linux/module.h header file. From what I understand I will need to compile the kernel to get this to work. I never compiled a kernel before and all ...
In my project there are situations where we have to send xml messages (as char *) among modules. They are not really large ones, just 10-15 lines. Right now everybody just creates the string themselves. I dont think this is the right approach. We are already using xerces DOM library. So why not create a Dom tree, serialize it, and then s...
mmm, I have just a little confusion about multiple auto declarations in the upcoming C++0x standard. auto a = 10, b = 3.f , * c = new Class(); somewhere I read it is not allowed. The reason was(?) because it was not clear if the consecutive declarations should have the same type of the first one , (int in the example) , or not. Poss...
Wonder what the difference between: static PROCESSWALK pProcess32First=(PROCESSWALK)GetProcAddress(hKernel,"Process32First"); ... pProcess32First(...); and #include <Tlhelp32.h> ... Process32First(...); What are the differences, I wonder which I should use. Is there any difference in terms of best practices then? ...
Hi, I am working on a dataManagement project that periodically deletes files in a specific folder. The solution has three projects of which, one is the application and the other two are static libraries. Now I want to add one more project which is a static library used for logging. The logging static library project has a header file whi...
Does anyone know why std::queue, std::stack, and std::priority_queue don't provide a clear() member function? I have to fake one like this: std::queue<int> q; // time passes... q = std::queue<int>(); // equivalent to clear() IIRC, clear() is provided by everything that could serve as the underlying container. Is there a good reason...
I have a Managed C++ project that compiles as a lib and is referenced by a windows forms .exe. This lib in turn references a DLL which contains localization code. The constructor of ResourceManager expects an Assembly object representing the parent of the resource. How do I create a new ResourceManager that references resources stored in...
I'm working in Visual Studio 2008 on a C++ programming assignment. We were supplied with files that define the following namespace hierarchy (the names are just for the sake of this post, I know "namespace XYZ-NAMESPACE" is redundant): (MAIN-NAMESPACE){ a bunch of functions/classes I need to implement... (EXCEPTIONS-NAMES...
I get the following compilation error fatal error C1189: #error : ERROR: Use of C runtime library internal header file. I absolutely have no idea about it. can anyone throw some light on it? The complete error: C:\Program Files\Microsoft Visual Studio 8\VC\ce\include\crtdefs.h(100) : fatal error C1189: #error : ERROR: Use of C runti...
Can someone explain what pvoid is and how it is used in a function like so: BOOL DoSomething ( PVOID pMemPhy ) ...
I've been reading about C++ and working with classes and pointers, but now I need to know where to go from here (if it's GUI then it's gonna have to be Qt because it seems the best). ...
I've been looking all over the Internet for a tutorial that teaches the Qt designer and how to add C++ code and functionality to my forms but so far all I can find is either coding using a text-editor or designing forms only. If you know one that has both please let me know of it. Thanks! ...