Article View: borland.public.cppbuilder.nativeapi
Article #6748Re: Error when writing file
From: Bob Gonder
Date: Mon, 18 Apr 2005 22:13
Date: Mon, 18 Apr 2005 22:13
9 lines
1306 bytes
1306 bytes
mike wrote: >Hello, could someone assist me in this. I am getting an error code 8 ( from >GetLastError() ) when performing a WritePrinter(). This error indicates >ERROR_NOT_ENOUGH_MEMORY "Not enough storage is available to process this command" How big is cbBuf, and are you passing it properly?
Technical Details
Message-ID:
<a4c86151pajfdndsk6mt25u7jr4nh11hnv@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4263fc8e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2bc06fa753d04116 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Error when writing file Date: Mon, 18 Apr 2005 15:13:28 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <a4c86151pajfdndsk6mt25u7jr4nh11hnv@4ax.com> References: <4263fc8e@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.156.31 X-Trace: newsgroups.borland.com 1113862404 67.77.156.31 (18 Apr 2005 15:13:24 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail