Old 27th November 2002, 00:18   #1
kbilly
Junior Member
 
kbilly's Avatar
 
Join Date: Nov 2002
Location: Australia
Posts: 16
Send a message via AIM to kbilly
Is this possible?!?

Hey All,
Finally getting the hang of Wasabi
- One problem I can't seem to work out though...

Registering with CoreCallbackI seems to work flawlessly with a window open but I can't seem to get it to work without a window open...

Is it possible to get CoreCallbackI working without a window?
If not is it possible to set-up a sort of virtual window?

Any help would be greatly appreciated.

Thanks in advance...
SLY.

Keep up the good work guys!
kbilly is offline  
Old 27th November 2002, 03:20   #2
Darkain
Major Dude
 
Darkain's Avatar
 
Join Date: Apr 2001
Location: Tacoma, WA
Posts: 1,223
Send a message via ICQ to Darkain Send a message via AIM to Darkain Send a message via Yahoo to Darkain
instead of having your window derive from the callback class, have your main component class derive from it instead:

PHP Code:
class WACNAME : public WACPARENT, public CoreCallbackI 
something like that. and then simply add this in:

PHP Code:
void WACNAME::onCreate()
{
    
api->core_addCallback(0this);
}

void WACNAME::onDestroy()
{
  
api->core_delCallback(0this);


-=- Darkain Dragoon -=-
-=- RM-X Home Page - Controlling Winamp via RM-900, RM-1000, RM-1500, ATI Remote Wonder, Joysticks, Gamepads, Wheels, Keyboard shortcuts, Multimedia keyboards, across the net, and much more! -=- Defenestration !!! -=-
Darkain is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Wasabi Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump