🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5818

Re: addprinterdriver

#5818
From: Bob Gonder
Date: Tue, 05 Jul 2005 19:28
18 lines
1755 bytes
Francisco wrote:

> At first time I installed one Generic Text Printer, and retrieve, by
>GetPrinterDriver, the structure Driver_info_6.
>After that I erased the printer , and try to install my own printer with the
>same structure I have just read.Of course I have copied all the necessary
>files in the directory ( retrieve with getdi.... )
>
>I do not know the problem....

Are you using Win2000 or XP?

Just a guess....The values returned in info_6 belong to the OS, and
when you delete the printer, maybe the OS releases that memory?
Have your tried copying the string data to your own buffers, and using
those for the Add?

Is the .inf file still in the specified location?
Technical Details
Message-ID: <nfnlc1d2geca86f6ib19qgnnp9gk45n0f1@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42c5067d@newsgroups.borland.com> <fipac1577nfcj6681lq7je72eih8lvmcgi@4ax.com> <42ca664d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1d9119d34a20a58b
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: addprinterdriver
Date: Tue, 05 Jul 2005 12:28:33 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <nfnlc1d2geca86f6ib19qgnnp9gk45n0f1@4ax.com>
References: <42c5067d@newsgroups.borland.com> <fipac1577nfcj6681lq7je72eih8lvmcgi@4ax.com> <42ca664d$1@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.202.147
X-Trace: newsgroups.borland.com 1120591719 67.77.202.147 (5 Jul 2005 12:28:39 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail