Menu

it would be nice if it surpport Win32

2010-10-02
2013-04-23
  • jianjunwang

    jianjunwang - 2010-10-02

    I mean combine your Grid to compatible with win32-framework and MFC wouble be nice.
    they all have a base obeject named CWnd.

     
  • Alex Zhondin

    Alex Zhondin - 2010-10-03

    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

     
  • Alex Zhondin

    Alex Zhondin - 2010-11-22

    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.

     
  • jianjunwang

    jianjunwang - 2010-11-23

    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.

     
  • jianjunwang

    jianjunwang - 2010-11-23

    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

     
  • jianjunwang

    jianjunwang - 2010-11-29

    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>

     
  • Alex Zhondin

    Alex Zhondin - 2010-11-29

    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.

     
  • Alex Zhondin

    Alex Zhondin - 2010-11-29

    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.

     
  • jianjunwang

    jianjunwang - 2010-11-30

    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.

     
  • Alex Zhondin

    Alex Zhondin - 2010-11-30

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.