CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    2

    Large CArray usage

    Does anyone have a solution to using CArray's for > 32K items? I have toyed with building a custom class that contains multiple CArray members but was hoping someone had a more elegant solution.

    Thanks,

    Jeff


  2. #2
    Join Date
    May 1999
    Location
    Paris France
    Posts
    30

    Re: Large CArray usage


    MFC is not very portable.
    How about to use STL array (it is called vector) ?

    #include <vector>





  3. #3
    Join Date
    May 1999
    Posts
    2

    Re: Large CArray usage

    the STL is attractive, but this is a legacy app so I'm locked into using MFC (at least for the next several months). Is there a way to add STL to an MFC app in VC++ 4.0? I tried, but keep getting compiler errors on the vector constructor.

    Thanks,

    Jeff


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured