We are working on UI automation script for MFC/ATL based application and encountered a problem recognizing MFCToolbar items. The problem is only for Win64 version of the app, for Win32 Ranorex Spy (32) with parent class added to GDI Capture List detects the items as RawImage elements without any problems but for Win64 does not (surely we use Renorex Spy 64 for Win64 app).
We also created test 64bit MFC application with only one element - ToolBar with the same style as in our App and Ranorex successfully coped with it. We tried to reproduce the same settings for test app as for the testee app. But the results are that Ranorex Spy detects the items (as RawImage) for test application but doesn't for the app to be automated.
We also found that for both platforms (x86, x64) after injecting ranorex DLL, exceptions like: "Read violation at address: 0xFFFFFFFFFFFFFFFF" are being raised (seems like in Ranorex.Injector module) (we see it in Output window of Visual Studio as first-change exceptions).
Ranorex version used: 3.3.3.19655 (.NET Runtime 4.0.30319)
Visual Studio 2008 SP1 ( CRT: 9.0.21022.8, MFC: 9.0.21022.8, ATL: 9.0.21022.

Compilation string (Debug configuration exposed, but the problem is for all configurations):
/Od /D "WIN32" /D "_WIN64" /D "_DEBUG" /D "_WINDOWS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_SCL_SECURE_NO_DEPRECATE" /D "_ATL_DLL" /D "_VC80_UPGRADE=0x0710" /D "_AFXDLL" /FD /EHa /MDd /Yu"yyy.h" /Fp".\Debug/xxx.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /Zi /TP /errorReport:prompt
Would be very grateful for your help.