Q: How do I programmatically get or set the system memory allocation for my ADS development system?
You can programmatically check or alter the current memory allocation with the following API calls (which are not in the eVT Help):
extern "C" BOOL GetSystemMemoryDivision(LPDWORD lpdwStoragePages,
LPDWORD lpdwRAMPages,
LPDWORD lpdwPageSize);
extern "C" DWORD SetSystemMemoryDivision(DWORD dwStoragePages);
1 page = 4096 bytes, so to allocate 6M of storage space you would do the following:
SetSystemMemoryDivision(0x600);
-----------------
Chris Tacke, eMVP
Applied Data Support