🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

wsprintfW error

#2641
From: Tobias
Date: Sun, 21 Jan 2007 05:11
12 lines
1187 bytes
Hello!
I would like to now how i can use wsprintfW
I get this error when i try to use it [C++ Error] Unit2.cpp(179): E2451 
Undefined symbol 'wsprintf_instead_use_StringCbPrintf_or_StringCchPrintf'

my code:
WCHAR wsz[256];
wsprintf(wsz, L"FilterGraph %08x pid %08x", (DWORD_PTR)pUnkGraph, 
GetCurrentProcessId());


//Tobias 
Technical Details
Message-ID: <45b2f5d0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f6fc0128947a313,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Tobias" <asdfjlasd.lsadjf@asd.se>
From: "Tobias" <toasdf.asdfl2@asdf.se>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: wsprintfW error
Date: Sun, 21 Jan 2007 06:11:11 +0100
Lines: 14
Organization: asdf
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 83.254.21.207
Message-ID: <45b2f5d0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1169356240 83.254.21.207 (20 Jan 2007 21:10:40 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail