'System.EntryPointNotFoundException'

Class library usage, coding and language questions.
rex
Posts: 1
Joined: Mon Apr 23, 2007 11:54 am

'System.EntryPointNotFoundException'

Post by rex » Mon Apr 23, 2007 12:23 pm

hi room
When i try to get an element of a form using Element.FindChild method ,
the following exception is being thrown.
"Unable to find an entry point named 'RxElementGetParent' in DLL 'RanorexCore.dll'.".
Element elmt = null;
Trace.Assert(m_form != null);
if (m_form != null) // m_form already assigned //
{
// excepton being thrown while executing this line //
elmt = m_form.Element.FindChild(cntrlRole, cntrlName);
Trace.Assert(elmt != null);
}
return elmt;
I am using version 1.0.0.0 of Ranorex.
Can any on tell me why the exception is being thrown and how to resolve it.

Thanks in advance

admin
Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Mon Apr 23, 2007 7:40 pm

Please check the version of RanorexCore.dll.
The RxElementGetParent function is available only in 1.0.0 or above.

RanorexCore.dll should be in the same directory as the RanorexNet.dll.

Gabor
Ranorex Team