🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: conversion problem

#11465
From: Martin C
Date: Thu, 12 Feb 2004 10:59
21 lines
1463 bytes
Thanks JD and Remy for your solution, now I got it working...

BR..

"Martin C" <martinc@aol.com> wrote in message
news:402b01e2$1@newsgroups.borland.com...
> Hi all,
>
> I need to convert from AnsiString to WCHAR so I am using the following
code
> but I always get AV whenever I try to execute this code...so can someone
> please tell me what exactly I am doing wrong here..
>
> AnsiString TextNo1 = "1234567890";
> WCHAR *abc;
> TextNo1.WideChar(abc, sizeof(abc));
>
>
> thank you all for your help and support...
>
>
Technical Details
Message-ID: <402bbf69@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <402b01e2$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,ed7097c9ad2bbcef
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-12 10:09:33 PST
From: "Martin C" <martinc@aol.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <402b01e2$1@newsgroups.borland.com>
Subject: Re: conversion problem
Date: Thu, 12 Feb 2004 12:59:39 +0200
Lines: 23
Organization: V Safe
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 62.135.27.78
Message-ID: <402bbf69@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076608873 62.135.27.78 (12 Feb 2004 10:01:13 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail