🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TService Compile Error

#1737
From: Jeff
Date: Mon, 25 Jun 2007 21:28
16 lines
1545 bytes
> Are you including UnitService.h in the .cpp file?  If you are not,
> then that would account for such errors, as TsrcMain really would be
> an undeclared type.

Yes here's the top of the cpp file:
//---------------------------------------------------------------------------
#include "UnitService.h"
#include "Registry.hpp"
#include "UnitLogThread.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"

TsrvMain *srvMain;

I'm sorry I guess I should have included that part. 
Technical Details
Message-ID: <468033ac$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46802aa8$1@newsgroups.borland.com> <4680321e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e4ab627349eb1efd
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jeff" <Jeff@nospam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46802aa8$1@newsgroups.borland.com> <4680321e$1@newsgroups.borland.com>
Subject: Re: TService Compile Error
Date: Mon, 25 Jun 2007 15:28:11 -0600
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
NNTP-Posting-Host: 206.104.31.90
Message-ID: <468033ac$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182806956 206.104.31.90 (25 Jun 2007 14:29:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail