Thank you! It helped. Now program starts, but tells that there is error in defining global variables [Image: http://www.gunta.lv/jumis_kluda.png ] Here is terminal output: Code: wine: cannot find L"C:\\windows\\system32\\scm.exe" err:wineboot:ProcessRunKeys Error running cmd L"scm.exe -Action 1 -Silent 1 -Service MSSQL$JUMIS" (2) fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:exec:SHELL_execute flags ignored: 0x00004100 fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) fixme:font:SetMapperFlags (0x538, 0x00000001): stub - harmless fixme:msimtf:DllGetClassObject ({c1ee01f2-b3b6-4a6a-9ddd-e988c088ec82} {00000001-0000-0000-c000-000000000046} 0x33faf0) err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 err:ole:CoGetClassObject no class object {c1ee01f2-b3b6-4a6a-9ddd-e988c088ec82} could be created for context 0x1 fixme:storage:create_storagefile Storage share mode not implemented. fixme:ole:snapshot_QueryGetData (0x18e918, 0x33acd4 {cf c06f ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c069 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c06a ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c082 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c06b ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c085 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c087 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18e918, 0x33cc9c {cf c086 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33ad50 {cf c06f ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c069 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c06a ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c082 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c06b ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c085 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c087 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:ole:snapshot_QueryGetData (0x18f168, 0x33cd18 {cf c086 ptd (nil) aspect 1 lindex -1 tymed 1}) fixme:font:SetMapperFlags (0x1bec, 0x00000001): stub - harmless fixme:font:SetMapperFlags (0x1c54, 0x00000001): stub - harmless fixme:typelib2:ICreateTypeInfo2_fnDeleteImplType (0x33c18e8,1), stub! fixme:typelib2:ICreateTypeInfo2_fnDeleteImplType (0x33c18e8,0), stub! fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_encode_typedesc PTR vartype, may not work correctly. fixme:typelib2:ctl2_alloc_custdata Unknown variable encoding vt 2. fixme:typelib2:ICreateTypeLib2_fnDeleteTypeInfo (0x2fc5420,L"_Form_tjSystemWorkPlace"), stub! fixme:typelib2:ITypeLib2_fnFindName (0x2fc5420,L"Form_tjSystemWorkPlace",0,0x33beb0,0x33be18,0x33be20), stub! fixme:typelib2:ICreateTypeLib2_fnDeleteTypeInfo (0x2fc5420,L"_Form_tjSystemWorkPlace"), stub! fixme:typelib2:ITypeLib2_fnFindName (0x2fc5420,L"Form_tjSystemWorkPlace",0,0x33bea4,0x33bcb4,0x33bcbc), stub! fixme:typelib2:ICreateTypeLib2_fnDeleteTypeInfo (0x2fc5420,L"_Form_tjSystemWorkPlace"), stub! fixme:typelib2:ITypeLib2_fnFindName (0x2fc5420,L"Form_tjSystemWorkPlace",0,0x33be80,0x33bde8,0x33bdf0), stub! fixme:typelib2:ICreateTypeLib2_fnDeleteTypeInfo (0x2fc5420,L"_Form_tjSystemWorkPlace"), stub! fixme:typelib2:ITypeLib2_fnFindName (0x2fc5420,L"Form_tjSystemWorkPlace",0,0x33c000,0x33be10,0x33be18), stub! fixme:typelib2:ICreateTypeLib2_fnDeleteTypeInfo (0x2fc5420,L"_Form_tjSystemWorkPlace"), stub! fixme:typelib2:ITypeLib2_fnFindName (0x2fc5420,L"Form_tjSystemWorkPlace",0,0x33bfdc,0x33bf44,0x33bf4c), stub! Then I press Labi (OK) program shows form for connecting to DB but none of buttons are working. Additionally none of buttons are working in other forms.