PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

problem with JojoSIP

hi,

I have followed the documentation on how to use JojoSIP which seems pretty straight forward.

However, when I setvisible my jojosip instance, nothing seems to happen. Is there something I have to be aware of..

<snip snip>

class CMyApplication : public CGapiApplication
{
public:
CJoJoSIP sip;
CMyApplication(const GDAPPCONFIG& config) : CGapiApplication(config) {
sip = new CJoJoSIP();
}


virtual HRESULT CreateSurfaces(CGapiDisplay&display;, HINSTANCE hInstance)
{
sip->CreateKeyboard(NULL, NULL);
return S_OK;
}

virtual HRESULT ProcessNextFrame(CGapiSurface&backbuffer;, DWORD dwFlags)
{
sip->SetVisible(TRUE);
}
}

can someone see what I have missed?

thanks
flaviab


<snip snip>
flaviab · 02 Oct 2002, 17:58 UTC — a thought
I am using gd104, would that cause a problem? ( all the examples are using gd103)
Are you calling the Blt( ) method each frame? You only need to call SetVisible( ) when you want the visibility state to change, but you need to call Blt( ) when you want to actually have the SIP image rendered.

-- GR
flaviab · 02 Oct 2002, 18:16 UTC — thanks... DOH!
thanks!