I'm working on it now. Here is my plan for near future:
1. Some refactoring in internal classes (Grid and CacheGrid classes will replace dummy Area and SuperArea classes)
2. Remove MFC specific classes and move control to WinAPI (MFC controll as wrapper)
3. Get Control abstraction and implement Qt version of the Grid control
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've completed steps 1 and 2. Of course there are some problems (see readme file in archive).
But you can try to use GridWnd class in Win32++ or similar framework. Report the problems if they are.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you, I have download it and will try it, if I have any suggestions I will tell you.
by the way, it is better if you write an article on codeproject to introduce your CPPGrid.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
fail on VC2008 with error:
error C2653: 'tr1' : is not a class or namespace name
1>cppgrid\utilities\tr1.h(15) : error C2873: 'shared_ptr' : symbol cannot be used in a using-declaration
1>cppgrid\utilities\tr1.h(15) : error C2873: 'shared_ptr' : symbol cannot be used in a using-declaration
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, Alex my name is jianjun, I have install sp1, and my VS's intelligent sense can find several items named std::tr1, but compiled with error. I do not know why.
when using VC10 express it can not find #include <ATLComTime.h>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jianjun.
The same error? It's strange - MDSN tell us std::shared_ptr (and weak_ptr too) is placed in <memory> standard header.
Could you inspect "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\memory" file? Search "shared_ptr" word there.
If no such word there - problem with installation, otherwise - problems with including standard headers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For VS2010 express you can just remove DateTimeh/cpp files from project. I missed it still depends on MFC/ATL libraries (<ATLComTime.h>). Now you can easily work without these files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Alex:
Thank you, it is my installation problem, everyone who occur this problem should reinstall SP1 package.
KB944899 Should be Removed before Installing Visual Studio 2008 SP1
Before installing Visual Studio 2008 Service Pack 1, you should first uninstall KB944899, a hotfix which improves performance when stepping through source downloaded from a source server.
If KB944899 is not removed prior to Visual Studio 2008 SP1, sometime during the middle of installation an error will occur and the error dialog is displayed as shown below.
Hi Jianjun,
I've got some troubles with VS2008 SP1 when redistribute applications. It can be useful for you.
By default SP1 changes standard dlls (CRT, MFC etc) in redistribute folder of the Visual Studio, but still link your projects with old dlls (include manifest file with dll dependences on old versions of the dlls). So you could have problems with redistributing applications bult with VS2008 SP1. There is defines _BIND_TO_CURRENT_VCLIBS_VERSION and others which tell build system to link with new versions of the standard dlls. There is an article for reference in MSDN http://msdn.microsoft.com/en-us/library/cc664727(VS.90).aspx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when we use VC express version, there are no MFC, there are one win32 framework, http://sourceforge.net/projects/win32-framework/.
in concerning win32 GRID, there are several in codeproject:
http://www.codeproject.com/info/search.aspx?artkw=GRID&sbo=kw
anyway thank you.
I mean combine your Grid to compatible with win32-framework and MFC wouble be nice.
they all have a base obeject named CWnd.
I'm working on it now. Here is my plan for near future:
1. Some refactoring in internal classes (Grid and CacheGrid classes will replace dummy Area and SuperArea classes)
2. Remove MFC specific classes and move control to WinAPI (MFC controll as wrapper)
3. Get Control abstraction and implement Qt version of the Grid control
I've completed steps 1 and 2. Of course there are some problems (see readme file in archive).
But you can try to use GridWnd class in Win32++ or similar framework. Report the problems if they are.
thank you, I have download it and will try it, if I have any suggestions I will tell you.
by the way, it is better if you write an article on codeproject to introduce your CPPGrid.
fail on VC2008 with error:
error C2653: 'tr1' : is not a class or namespace name
1>cppgrid\utilities\tr1.h(15) : error C2873: 'shared_ptr' : symbol cannot be used in a using-declaration
1>cppgrid\utilities\tr1.h(15) : error C2873: 'shared_ptr' : symbol cannot be used in a using-declaration
Do you have VS 2008 with SP1 as I mentioned in other thread? CppGrid requirers std::tr1::shared_ptr class from <memory> header.
You can freely download SP1 from microsoft site here "http://www.microsoft.com/downloads/en/details.aspx?FamilyId=F3FBB04E-92C2-4701-B4BA-92E26E408569&displaylang=en"
By the way how to call you? My name's Alex :o)
hi, Alex my name is jianjun, I have install sp1, and my VS's intelligent sense can find several items named std::tr1, but compiled with error. I do not know why.
when using VC10 express it can not find #include <ATLComTime.h>
Hi Jianjun.
The same error? It's strange - MDSN tell us std::shared_ptr (and weak_ptr too) is placed in <memory> standard header.
Could you inspect "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\memory" file? Search "shared_ptr" word there.
If no such word there - problem with installation, otherwise - problems with including standard headers.
For VS2010 express you can just remove DateTimeh/cpp files from project. I missed it still depends on MFC/ATL libraries (<ATLComTime.h>). Now you can easily work without these files.
Hi, Alex:
Thank you, it is my installation problem, everyone who occur this problem should reinstall SP1 package.
KB944899 Should be Removed before Installing Visual Studio 2008 SP1
Before installing Visual Studio 2008 Service Pack 1, you should first uninstall KB944899, a hotfix which improves performance when stepping through source downloaded from a source server.
If KB944899 is not removed prior to Visual Studio 2008 SP1, sometime during the middle of installation an error will occur and the error dialog is displayed as shown below.
download Visual Studio 2008 Service Pack Preparation Tool
at here http://www.microsoft.com/downloads/en/details.aspx?FamilyId=A494B0E0-EB07-4FF1-A21C-A4663E456D9D&displaylang=en
then reinstall VS2008 SP1.
Hi Jianjun,
I've got some troubles with VS2008 SP1 when redistribute applications. It can be useful for you.
By default SP1 changes standard dlls (CRT, MFC etc) in redistribute folder of the Visual Studio, but still link your projects with old dlls (include manifest file with dll dependences on old versions of the dlls). So you could have problems with redistributing applications bult with VS2008 SP1. There is defines _BIND_TO_CURRENT_VCLIBS_VERSION and others which tell build system to link with new versions of the standard dlls. There is an article for reference in MSDN http://msdn.microsoft.com/en-us/library/cc664727(VS.90).aspx