CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Erakis

Search: Search took 0.03 seconds.

  1. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi Paul,




    Yes, the application is build using Visual Studio 2005 + MFC + STL for Windows CE and Windows Desktop (x32/x64).
    I thought you deduced by reading the message. "November 20th, 2012,...
  2. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi Paul,

    As I said, I'm building a project that is running on Windows Desktop and also on Windows CE. The code is the same, the Visual Studio project and solution are different.

    From MSDN :
    ...
  3. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Sorry I'm doing a lot of test to find a solution to this problem and I probably mix vector/list test code.

    Both of containers are using the same function _Ty _FARQ *_Allocate(_SIZT _Count, _Ty...
  4. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi Paul,

    Here is a code part of the allocation in the STL vector xmemory file.



    _STD_BEGIN
    // TEMPLATE FUNCTION _Allocate
    template<class _Ty> inline
    _Ty _FARQ *_Allocate(_SIZT _Count,...
  5. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi Paul,

    Great new, I've retried and it's well working. But only if I'm doign the allocation by myself. Ex :



    #include "new.h"
    #include <list>
    using namespace std;
  6. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi Paul,

    Whatever I'm using the vector by data value or I use a vector holding data pointer that I have to allocate manually using new or malloc, it gives the same result. The system display the...
  7. Re: Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi D_Drmmr,

    This is exactly what I've tried. I had put the link on top of the file newHandle.cpp

    http://msdn.microsoft.com/en-us/magazine/cc164087.aspx

    But it doesn't work. I've tried...
  8. Windows CE (STL + std::bad_alloc + CMemoryException, ...)

    Hi,

    I'm building an application for Windows CE and Windows Desktop. The cross compilation is possible using some preprocessor directive, a different VS project file and a different VS solution...
  9. Replies
    2
    Views
    866

    Struct declaration TypeLoadException

    Hi,

    What wrong with my struct declaration ?
    When I run my program, I got a TypeLoadException.



    [StructLayout(LayoutKind.Explicit, CharSet=CharSet.Ansi, Size=16)]
    struct InfoRegister
    {
  10. Replies
    1
    Views
    5,499

    Javascript : RegEx replace string

    Hi,

    Pretend I have the following string :


    var url =...
  11. Replies
    0
    Views
    458

    RichEdit color problem

    Hello.

    I would like to add message (insert at the end) to my RichEdit control. But each one can have a different color. Moreover, I want that scroll bar follow the last inserted line :

    Here is...
Results 1 to 11 of 11





Click Here to Expand Forum to Full Width

Featured