Email:
sales@wcscnet.com


Competent Technical Support By Knowledgeable Engineers

View Cart

Checkout

RSS Feed
Home
Products
Services
Support
File Download
Testimonials
NewsLetters
Press Releases
Tutorials
WebLog (News)
WCSC Partners
Developer Tools

Register for WCSC email updates

Wires No More!
$159.99 a pair


Wireless Serial Adapter
(Bluetooth to RS232)

 

Credit Card Merchant Services

COMM-DRV/NT application crashes with a blue screen when minimized.


When an application is minimized, memory one allocates may be paged out depending on whether it is allocated on the stack or heap. One way to ensure that the data is not paged out is to allocate any buffer used by your application as follows.

 
 
#define	BUFSIZE	1024
char	*Buffer;
BOOL	Ret;
 
if ((Buffer=(char *)VirtualAlloc(NULL, BUFSIZE, MEM_COMMIT, PAGE_READWRITE)) == NULL)
	{
	//Do error handling
	}
 
if (!VirtualLock(Buffer, BUFSIZE))
	{
	VirtualFree(....)
	//Do error handling
	}

 

Last Updated: 04/03/2008

Copyright © 2008 by Willies Computer Software Co