🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem with thread

#13310
From: Sebastian Gantzert
Date: Mon, 20 Oct 2003 11:03
14 lines
1357 bytes
Hi there. I want to use Win32 threads inside a .c-file (not c++) with
c++builder 5. But I have got problems including the correct header-files for
thread support. Tried several include-variants. E.g.

#include "winbase.h" => does not know DWORD
So I also include

#include "wtypes.h" => does not know COAUTHINFO
and so on...

Could someone give me a sorted list of include-statements which enable the
usage of thread-functionality without requiring vcl or c++ functionality?

Thanks in advance
Technical Details
Message-ID: <3f93c0f0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2a294cb798b24c2b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-20 04:09:20 PST
From: "Sebastian Gantzert" <sgantzert@t-online.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Problem with thread
Date: Mon, 20 Oct 2003 13:03:15 +0200
Lines: 16
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: 217.82.36.133
Message-ID: <3f93c0f0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066647792 217.82.36.133 (20 Oct 2003 04:03:12 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail