Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DvDevice setDisabled doesn't work in Java
09-12-2011, 04:15 PM
Post: #5
RE: DvDevice setDisabled doesn't work in Java
On to the next problem Sad and this one's got me rather stumped Huh

After calling DvDevice.setDisabled(), my callback's deviceDisabled() method is now running successfully. However, I'm getting an ohNet runtime error popup that says:

Debug Error!
Program: C:\Windows\system32\java.exe
Module: F:\testserver\bin\ohNet.dll
File f:\git\ohnet\build\include\openhome\functor.h
Line: 87

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually the result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

Here's the stack trace:

> ohNet.dll!OpenHome::MemberTranslatorC::Thunk(const OpenHome::Functor & aFb) Line 88 C++
ohNet.dll!OpenHome::Functor::operator()() Line 34 + 0x1d bytes C++
ohNet.dll!OpenHome::Net::DviDevice::ProtocolDisabled() Line 374 C++
ohNet.dll!OpenHome::MemberTranslator<OpenHome::Net::DviDevice,void (__thiscall OpenHome::Net::DviDevice::*)(void)>::Thunk(const OpenHome::Functor & aFb) Line 76 + 0x12 bytes C++
ohNet.dll!OpenHome::Functor::operator()() Line 34 + 0x1d bytes C++
ohNet.dll!OpenHome::Net::DviProtocolUpnp::SubnetDisabled() Line 428 C++
ohNet.dll!OpenHome::MemberTranslator<OpenHome::Net::DviProtocolUpnp,void (__thiscall OpenHome::Net::DviProtocolUpnp::*)(void)>::Thunk(const OpenHome::Functor & aFb) Line 76 + 0x12 bytes C++
ohNet.dll!OpenHome::Functor::operator()() Line 34 + 0x1d bytes C++
ohNet.dll!OpenHome::Net::DviMsgNotify::NextMsg() Line 1479 C++
ohNet.dll!OpenHome::Net::DviMsgScheduler::NextMsg() Line 1263 + 0x1e bytes C++
ohNet.dll!OpenHome::MemberTranslator<OpenHome::Net::DviMsgScheduler,void (__thiscall OpenHome::Net::DviMsgScheduler::*)(void)>::Thunk(const OpenHome::Functor & aFb) Line 76 + 0xc bytes C++
ohNet.dll!OpenHome::Functor::operator()() Line 34 + 0x1d bytes C++
ohNet.dll!OpenHome::TimerManager::Fire() Line 226 C++
ohNet.dll!OpenHome::TimerManager::Run() Line 251 C++
ohNet.dll!OpenHome::MemberTranslator<OpenHome::TimerManager,void (__thiscall OpenHome::TimerManager::*)(void)>::Thunk(const OpenHome::Functor & aFb) Line 76 + 0x12 bytes C++
ohNet.dll!OpenHome::Functor::operator()() Line 34 + 0x1d bytes C++
ohNet.dll!OpenHome::ThreadFunctor::Run() Line 322 C++
ohNet.dll!OpenHome::Thread::EntryPoint(void * aArg) Line 197 + 0xf bytes C++
ohNet.dll!threadEntrypoint(void * aArg) Line 333 + 0x11 bytes C
kernel32.dll!773aed6c()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!776337f5()
ntdll.dll!776337c8()
Find all posts by this user


Messages In This Thread
RE: DvDevice setDisabled doesn't work in Java - simoncn - 09-12-2011 04:15 PM

Forum Jump: