visual-c++-2005

template expressions and visual studio 2005 c++

I'd like to build the olb3d library with my visual studio 2005 compiler but this failes due to template errors. To be more specific, the following expression seem to be a problem: void function(T u[Lattice<T>::d]) On the website of the project is stated that prpably my compiler is not capable of such complicated template expressions ...

Doxygen integration with (unmanaged) Visual C++ 2005

We are slowly moving towards better-standardized commenting in a large C++ project, introducing Doxygen. I personally find it a pain typing in comments, especially since Java IDEs are so good at automating this. So I wondered what tools there might be? A search turned up DoxyComment which looks quite nice, is this the best/standard tool...

wchar not working in VC++ 2005

wstring ws(L"Press 'q' to end."); wcout << ws; error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::wstring' (or there is no acceptable conversion) This is in a VC++ 2005 Win32 console app, created with default settings... which I think means UNICODE is on? I only just found out cout do...

Visual C++: Dialog editor has forgotten what class is linked to the dialog template

I created a dialog and then created a class linked to it using the wizard. Somehow VC++ has forgotten this and now wants me to create a class whenever I double-click on a control in the editor to create a handler. Are these mappings stored in a file I can edit, or does VC++ try to deduce this and I'm stuck with it? ...

Strange linkage problem with Visual C++ 2005

Hello, please help me, I have a strange problem which i can't sort out in any way. Premise: I'm using visual c++ 2005 on windows 7 x64, and I'm sure that my code isn't fatally flawed because with g++ under Linux it runs nicely. I am developing an application which uses a static library also developed by me. In the link phase of the a...

can't get address of the dll function with GetProcAddress

I created a dll with VS C++ (of course as a dll project) with the following code of the header file: #pragma once #include <iostream> #include "..\..\profiles/ProfileInterface.h" using namespace std; extern "C" __declspec(dllexport) class CExportCoordinator: public CProfileInterface { public: CExportCoordinator(void); virtual ...

QT: How Can I build QT under Microsoft Visual C .NET 2005

Hi All. I need to build and use QT within Microsoft visual C 2005 project. Is it possible to do that and how to? ...

Adding projects to a visual studio c++ solution via a script.

I usually work on multi-project solutions in visual studio. Since the solutions themselves are not stored in the repository, I spend some time adding in the various projects via visual studio(from a list which is part of the 'parent' project). I am wondering if I can acommplish this via a script. ie: 1. create a solution. 2 add project...