Thread

a few more compiler errors... (Sdk)

a few more compiler errors... // Sdk

1  |  

jerme

Feb 13, 2001, 10:14pm
The following lines are causing errors using the MS C++ (3.0 SDK):

aw_event_set (AW_EVENT_AVATAR_DELETE, handle_avatar_delete);
aw_event_set (AW_EVENT_CHAT, chat);

(22) : error C2065: 'handle_avatar_delete' : undeclared identifier
(23) : error C2065: 'chat' : undeclared identifier
(102) : error C2373: 'chat' : redefinition; different type modifiers
(110) : error C2373: 'handle_avatar_delete' : redefinition; different type
modifiers

The first error is comming from the aw_event_set line. The second error is
comming from the first line/function definition of the 'chat' function.
Ditto for the 3rd and 4th errors. What's odd is that the first event
handler i install (avatar_add) works fine. Other than the names, there are
no differences between the 3. I know this is something simple... I just
haven't figured out what yet..

Thanks for any help in advance...


JerMe at nc.rr.com
----------------------
AIM: AlphaNumeric100
ICQ: 106209991
AW: JerMe (#296967)

andras

Feb 13, 2001, 11:23pm
Try to declare the function prototypes before you are referencing it.
Andras


[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn