TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: PAUL ELLIOTT
date: 1997-06-16 17:59:00
subject: C++ Problem

Hi All,
I'm creating a last callers PEX for ProBoard (basicly the same as a standard 
EXE but uses a communications library with extra bits stuck on) but i'm 
having big problems with it. Here's the problem. A simple last callers pex is 
supplied with ProBoard but its in C and not C++. The only way I can get it to 
compile is by forcing borland to compile C and not C++. If I try to use C++ I 
get the error: -
Borland C++ 4.51 Copyright (c) 1987, 1994 Borland International
_lc.c:
Error _lc.c 57: Cannot convert 'void *' to 'BINLOG *' in function 
main(int,char
* *)
*** 1 errors in Compile ***
Here's a copy of line 57: -
         bl = malloc( lc_num * sizeof(BINLOG));
Could anybody help me get around this problem as a lot of my existing code is 
in C++ so I can't include it with any programs with this line. If anybody 
would like the full listing of the _LC.C file write a fidonet ROUTED netmail 
addressed to Infomail at 2:2502/27 with the subject CPROBLEM and the mail 
server will send you a copy via routed netmail. You will have to include 
something in the message body or the request will fail. Hope some people out 
there will have a bit more success with this problem then I have, i've been 
working on this for weeks now :(
 ______  _____  __ __  __     ==========HOME OF THE SYNERGY SYSTEM==========
|   _  ||  _  ||  |  ||  |    =  Specialising in ProBoard PEX development  =
|   ___||     ||  |  ||  |_   =          Sponsored by AMF Bowling          =
|__|    |__|__||_____||____|  ===============Fidonet 2:2502/27==============
*** THE READER V4.50 [freeware]
--- FMail/Win32 1.22
---------------
* Origin: T H E S Y N E R G Y S Y S T E M (2:2502/27)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.