🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ILINK32 Error: _GetDiagGroupDef()

#482
From: Darko Miletic
Date: Fri, 14 Mar 2008 12:55
27 lines
2109 bytes
4N wrote:
> Hi,
> I tried to use TRACE under C++2007 but the following error showed up:
> 
> [ILINK32 Error] Error: Unresolved external '_GetDiagGroupDef()' referenced 
> from ...
> 
> what libray have I to link to my project?
> 
> Remark:
> I solved this adding checks.cpp to my project but I got the following error:
> [BCC32 Error] checks.cpp(66): E2342 Type mismatch in parameter 
> 'lpOutputString' (wanted 'const wchar_t *',
>  got 'const char *')
> problem due to the global _UNICODE define
> so I had to MODIFY checks.cpp !?!?!? replacing OutputDebugString with 
> OutputDebugStringA !?!?!?

It is a strange thing. The same thing happens with Turbo C++ (BDS 2006). 
Aparently somebody forgot to add that file to RTL. I'll do additional 
check during weekend and report the findings.

You can continue using TRACE with your patch or you can try traceStream 
class that supports both ANSI and UNICODE and offers STL streams for 
debugging output.

http://www.torry.net/net/nettools/streams/traceStream.zip
Technical Details
Message-ID: <47da75db$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47da54c9$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9bdf193cbb3a24d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 14 Mar 2008 10:55:41 -0200
From: Darko Miletic <kiklop@fibertel.com.ar>
Reply-To: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: ILINK32 Error: _GetDiagGroupDef()
References: <47da54c9$2@newsgroups.borland.com>
In-Reply-To: <47da54c9$2@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 080313-0, 13/03/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 200.49.157.165
Message-ID: <47da75db$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1205499355 200.49.157.165 (14 Mar 2008 05:55:55 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail