🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trying to put vc+ source in bcb

#12523
From: Dennis Jones
Date: Mon, 01 Dec 2003 17:37
28 lines
1552 bytes
"Greg Stantin" <gstantin@stantonassoc.com> wrote in message
news:3fca6766$1@newsgroups.borland.com...
> I have the following program that i am trying to use the code for
> in a bcb program.  I am stuck on one part of the program, and
> it wont really do anything unless i get past that part.
>
> void CDNSWatchDlg::OnStartButton()
> {
> UINT (AFX_CDECL *MyThread)(LPVOID);
> -------- snip -------------
>
> MyThread = (DoRawListen);
> }
>
> I removed the first line in my program
> //UINT (AFX_CDECL *MyThread)(LPVOID);

You don't want the code to run in a thread?

> and the last line i made it just
> DoRawListen;

Shouldn't that be:

DoRawListen();

- Dennis
Technical Details
Message-ID: <3fcb7c63$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fca6766$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b35d41ac66fac19b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-01 09:48:50 PST
From: "Dennis Jones" <djones@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fca6766$1@newsgroups.borland.com>
Subject: Re: Trying to put vc+ source in bcb
Date: Mon, 1 Dec 2003 09:37:40 -0800
Lines: 30
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: 204.200.27.7
Message-ID: <3fcb7c63$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1070300259 204.200.27.7 (1 Dec 2003 09:37:39 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail