TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: RON BASS
from: PAUL ELLIOTT
date: 1997-06-23 09:24:00
subject: C++ Problem

Hi Ron,
RB> I'm not familiar with the ProBoard source code, but I assume that bl is
RB> declared as a pointer to a BINLOG structure?  Further, I assume that
RB> BINLOG is a POD (C-type Plain Ol' Data) structure?
Yep :)
RB>           bl = (BINLOG*) malloc( lc_num * sizeof(BINLOG));
That works fine
RB>           bl = new BINLOG[lc_num];
RB>           delete[] bl;
But that doesnt, the linker reports the following error message: -
Error: Undefined symbol operator new[](unsigned int) in module ccc.cpp
Error: Undefined symbol operator delete[](void far*) in module ccc.cpp
I think its because ProBoard's SDK doesn't support these functions, do you 
know of any way around it?
Paul.
*** 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™.