🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages Started by Millan Sanchez Sun, 22 Sep 2002 21:24
VFW
#739
Author: 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
Re: VFW
#740
Author: Gonzalo N��ez
Date: Mon, 23 Sep 2002 14:11
23 lines
1625 bytes
"Millan Sanchez" <asd@sdf.com> escribi� en el mensaje
news:3d8e3527@newsgroups.borland.com...
> I'm trying to make an application using VFW.
> 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?

Hi.

    IIRC my Turbo Pascal 7 days ( :-O ) PChar is the same as C's char*, that
is a pointer to a zero terminated string.

HTH

--
Gonzalo N��ez Riboni
Puebla, Puebla
M�xico
"Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former"
Albert Einstein
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads