🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows 95 API - What defines

#13674
From: Chris Hill
Date: Sat, 27 Sep 2003 02:50
20 lines
1594 bytes
On Tue, 23 Sep 2003 17:56:35 +0100, "Hugo Dias"
<synchron@no-spam.somewhere.com> wrote:

>I would like to know what directives must i use so the compiler does not
>use Windows NT API :
>
>Ex : GetStringTypeW.
>
>I don't call it from my program. But Borland compiler imports it.

As long as it doesn't actually get called, you should be fine.  Win9x
has stub functions for the Win32 Unicode functions that aren't
implemented on Win9x (which is most of them).  The stub function
exists but will always return an error.  Even if a program imports
such a function, the OS loader can load it.  Obviously if a program
depends on calling the function and receiving a non-error result,
there will be a problem.

Chris Hill
Chris244@aol.com
Technical Details
Message-ID: <3f74f913.2364024177@forums.borland.com>
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f707b6a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bff38619b2ca4cec
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-27 01:21:10 PST
From: Chris244@aol.com (Chris Hill)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Windows 95 API - What defines
Date: Sat, 27 Sep 2003 02:50:13 GMT
Message-ID: <3f74f913.2364024177@forums.borland.com>
References: <3f707b6a@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 12.221.66.183
X-Trace: newsgroups.borland.com 1064631011 12.221.66.183 (26 Sep 2003 19:50:11 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail