|
-
May 13th, 2009, 09:17 PM
#1
[Resolved] An outgoing call cannot be made since....
Full error:
0x8001010D: An outgoing call cannot be made since the application is dispatching an input-synchronous call.
0xC0000005: Access violation reading location 0xccccccdc.
Hi all.
I'm having trouble with an application I'm writing that's making use of a number of different libraries. The two that are causing me issue are Tuio (Touchlib client for interpretting multitouch events over ports, a server runs on the viewing app, and my app instantiates a client to collect the processed data). and Hikari (a library for embedding flash in 3d Ogre applications (Ogre is a graphics library built on both opengl and direct x).
Each of libraries work perfectly on their own, but I'm encountering a problem when attempting to use tuio and hikari at the same time. The reason Im having trouble figuring it out (and hence posting on here) is that the hikari->load function which is the initial cause of the error according to the compiler (vc9), but, its only throw when I create an instance of the tuioclient no matter where this happens in the code. In fact, the may never actually be called, yet the error still occurs.
My load function is called as follows:
Code:
hikariMgr = new HikariManager("..\\media");
controls = hikariMgr->createFlashOverlay("Controls", viewport, 350, 400, Position(Center));
controls->load("controls.swf");
The controls->load(...) calls a similar function in the hikari library, which loads a File object and then in turn calls the putMovie function from within the flash9b.tli
Code:
inline void IShockwaveFlash::PutMovie ( _bstr_t pVal ) {
HRESULT _hr = put_Movie(pVal);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}
The tuioClient at this point (I'd tried repositioning the initialisation of tuioclient to after this load function was called, but see below) is attached to a key listener,
Code:
else if(arg.key == OIS::KC_F1)
m_tuioClient = new TuioClient(PORT);
This key is NEVER pressed, yet the load function still causes the error, commenting this line out, prevents the error. And in this, is the cause of my confusion. I've spent the last few days looking up this error, and most the information I've found refers to a listener call having not returned, thus locking up the thread in a call, however, I've ran this code without listeners and still have the problem. Im mostly though just confused that commenting out that line of code prevents the error, but inserting it ANYWHERE in my application, brings the error out.
If anyone could offer me a solution, or preferably point me in the direction of some literature which might help me understand the issue, I'd greatly appreciate it.
Thanks in advance, and apologies for the verbose post, its getting late and I tend to ramble.
Last edited by sofcal; May 20th, 2009 at 03:33 PM.
Reason: resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|