Windows CE & Pocket PC

Moderators: None (Apply to moderate this forum)
Number of threads: 324
Number of posts: 425

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Large array in Windows CE Posted by michaelgreen on 4 May 2011 at 11:06 PM
Hi All,

I need to declare a large 2D array of characters like this:

char PlotID[3100][20];

Code with such a declaration in it will not run in the program I am developing, I presume because I have exceeded the default 32 MB address space for the program as a whole. I believe I need to use VirtualAlloc in some way but can't find an example that I can learn from. Please can someone showe me how to do this with a code example?

With many thanks in advance,
Mike
Thread Tree
michaelgreen Large array in Windows CE on 4 May 2011 at 11:06 PM
collin2 Re: Large array in Windows CE on 16 Nov 2011 at 12:41 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.