🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #739

VFW

#739
From: Millan Sanchez
Date: Sun, 22 Sep 2002 21:24
19 lines
1500 bytes
I'm trying to make an application using VFW.
Its running well in delphi but im trying to convert it into c++ builder 6.

i have the following in delphi:

SendMessage(hWndC,
                  WM_CAP_FILE_SAVEDIBA,
                  0,
                  longint(pchar(SaveDialog1.FileName)));

this code is for saving an image captured with the camera.

i have to convert the same code into c++ builder but im having problems with
the casts.  Pchar dos not exists in c++ builder.  Anyone knows how to do it
in c++ builder?

Thanks in advice.

Millan
Technical Details
Message-ID: <3d8e3527@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,81502cac46afe5c4,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2002-09-22 14:44:06 PST
From: "Millan Sanchez" <asd@sdf.com>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: VFW
Date: Sun, 22 Sep 2002 16:24:54 -0500
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 216.72.60.195
Message-ID: <3d8e3527@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1032729895 216.72.60.195 (22 Sep 2002 14:24:55 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail