[cw-discuss] Interesting issue about application written in MS Java
(CrossOver for Linux beta)
Radovan Skolnik
Radovan_Skolnik at tempest.sk
Wed Oct 11 05:15:30 CDT 2006
Hello,
we are extensively using an application from HP that is written for MS JVM
(uses non-standard extensions such as OLE, COM, WFC, ...). Recently I have
tried to install it into CrossOver beta (I am a Linux newbie) and got quite
surprised that it partially works: the application starts, opens main screen,
draws meus, etc. However the most important part (opening a form) is not
working and ends up with following exception:
Wed, 11/10/2006 11:37:10 <Trace> com.ms.wfc.core.WFCException: ActiveX
control's top level parent has to be derived from class Form.
at com/ms/wfc/ui/AxHost.getParentContainer
at com/ms/wfc/ui/AxHost.quickActivate
at com/ms/wfc/ui/AxHost.activateAxControl
at com/ms/wfc/ui/AxHost.transitionUpTo
at com/ms/wfc/ui/AxHost.createHandle
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.createControl
at com/ms/wfc/ui/Control.add
at com/ms/wfc/ui/TabControl.add
at com/hp/ifc/ui/AppDataPane.<init>
at com/hp/ifc/ui/AppUIManager.createDataPane
at com/hp/ifc/ui/AppDataForm.createDataPane
at com/hp/ifc/ui/AppDataForm.buildForm
at com/hp/ifc/ui/AppDataForm.<init>
at com/hp/ifc/ui/AppDataForm.<init>
at com/hp/ifc/ui/AppDataFormManager.get
at com/hp/ifc/ui/AppDataFormManager.get
at com/hp/ifc/ui/AppUIManager.createDataWindow
at com/hp/ifc/ui/AppGridView.getDataWindow
at com/hp/ifc/ui/ViewUtils.openItems
at com/hp/ifc/ui/AppGridView.openItems
at com/hp/ifc/ui/AppGridView.dblClick
at com/ms/wfc/core/EventHandler.invoke
at com/hp/ifc/ui/grid/GridEX/GridEXEventMulticaster.DblClick
at com/ms/wfc/win32/Windows.DispatchMessage
at com/ms/wfc/app/Application$ThreadContext.runMessageLoop
at com/ms/wfc/app/Application.run
at com/hp/ifc/ui/AppConsole.main
Looking over the Internet I found this exception only mentioned once in a
context that didn't help me at all. Would anyone be able to suggest anything?
I looked what it does in com/ms/wfc/ui/AxHost.getParentContainer and it is as
following (beware - this is Java code):
Container getParentContainer()
{
if(container == null)
container = Container.findContainerForControl(this);
if(container == null)
{
Form form = containingForm != null ? containingForm : getForm();
if(form == null)
throw new WFCException(Sys.getString("AXNoTopLevelForm"));
container = form.createAxContainer();
IComponentSite icomponentsite = getComponentSite();
container.addControl(this, icomponentsite != null ?
icomponentsite.getName() : null);
containingForm = form;
}
return container;
}
Here's what appears when wine's run with --verbose flag:
err:listview:LISTVIEW_WindowProc unknown msg 2210 wp=07740001 lp=00020774
err:updown:UpDownWindowProc unknown msg 2210 wp=88e0001 lp=0001088e
So it seems it is unable to find some parent container. Is anybody able to
help with this or suggest some workaround?
Thank you very much. Best regards
Radovan Skolnik
------------------------------------------------------------------
Ing. Radovan Skolnik
TEMPEST a.s.
Department of Enterprise Management
Plynarenska 7/B
821 09 Bratislava
Slovak Republic
E-mail: radovan_skolnik at tempest.sk
www: http://www.tempest.sk <http://www.tempest.sk/>
Tel: +421 (2) 502 67 174
GSM: +421 (905) 741 031
Fax: +421 (2) 502 67 100
ITIL, eTOM, SLM, Networking, Telco, Management, Java and XML
------------------------------------------------------------------
More information about the discuss
mailing list