simple, free .NET 2.0 utility can't find its data file

Questions about Wine on Linux
Post Reply
sponsor61
Level 2
Level 2
Posts: 40
Joined: Tue Apr 07, 2020 10:05 pm

simple, free .NET 2.0 utility can't find its data file

Post by sponsor61 » Sat Mar 27, 2021 4:08 pm

Please help me get this small utility working under wine.

The simple free utility gp2l.exe, written in 2013, which can be downloaded at this URL:
gp2l.dyndns.org
(download version v3.0.042 under the download link)
says it needs .Net 2 or later so
I ran
winetricks dotnet20

the installed and ran gp2l.exe with wine-staging 6.4
This utility is supposed to populate several tabs using its database, but it does not seem to find its database under wine. I think this has something to do with the following text sent to STDERR:
L"Microsoft.Jet.OLEDB.4.0" not registered 0024:fixme:gdiplus:GdipCreateHalftonePalette stub

When I start the program via
wine gp2l.exe 2> gp2lStderrOutput.txt
cat gp2lStderrOuput.txt

I get the following output

002c:fixme:winediag:LdrInitializeThunk wine-staging 6.4 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0048:fixme:heap:RtlSetHeapInformation 0000000000280000 0 000000000022E8A0 4 stub 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0048:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0098:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0090:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00e8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00e8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0128:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0130:err:ole:CoGetContextToken apartment not initialised 0024:fixme:path:parse_url failed to parse L"Microsoft.VisualBasic" 0024:fixme:path:parse_url failed to parse L"System.Windows.Forms" 0024:fixme:path:parse_url failed to parse L"System" 0024:fixme:path:parse_url failed to parse L"System.Drawing" 0024:fixme:path:parse_url failed to parse L"System.Runtime.Remoting" 0024:fixme:path:parse_url failed to parse L"System.Configuration" 0024:fixme:path:parse_url failed to parse L"System.Xml" 0024:fixme:path:parse_url failed to parse L"System.Data" 0024:fixme:font:get_nearest_charset TCI failing on 20000000 0024:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"Z:\usr\share\fonts\truetype\fonts-gujr-extra\aakar-medium.ttf" 0024:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"! 0024:fixme:gdiplus:GdipGetFamilyName No support for handling of multiple languages! 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {b196b283-bab4-101a-b69c-00aa00341d07} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000003-0000-0000-c000-000000000046} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000144-0000-0000-c000-000000000046} 0024:fixme:gdiplus:GdipGetLineSpacing ignoring style 0024:fixme:path:parse_url failed to parse L"gp2l.resources" 0024:fixme:gdiplus:GdipGetLineSpacing ignoring style 0024:fixme:virtual:NtFlushProcessWriteBuffers stub 0024:fixme:gdiplus:GdipGetLineSpacing ignoring style 0024:fixme:path:parse_url failed to parse L"System.Transactions" 0024:fixme:oledb:dslocator_QueryInterface interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} not implemented 0024:err:oledb:get_data_source provider L"Microsoft.Jet.OLEDB.4.0" not registered 0024:fixme:gdiplus:GdipCreateHalftonePalette stub 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {b196b283-bab4-101a-b69c-00aa00341d07} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000003-0000-0000-c000-000000000046} 0024:fixme:olepicture:OLEPictureImpl_QueryInterface () : asking for unsupported interface {00000144-0000-0000-c000-000000000046} 0130:fixme:ole:thread_context_callback_ContextCallback 054BEB84, 79F277A5, 0366E3E4, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000 0130:fixme:ole:thread_context_callback_ContextCallback 054BEB84, 79F277A5, 0366E378, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000 0024:fixme:msvcrt:clean_type_info_names_internal (67AE0018) stub 0024:fixme:msvcrt:clean_type_info_names_internal (650FD1C0) stub 0024:fixme:msvcrt:clean_type_info_names_internal (790AF2CC) stub 0024:fixme:msvcrt:clean_type_info_names_internal (64222014) stub 0024:fixme:msvcrt:clean_type_info_names_internal (60345090) stub 0024:fixme:msvcrt:clean_type_info_names_internal (64208A74) stub 0024:fixme:msvcrt:clean_type_info_names_internal (7A38D5C8) stub 0048:fixme:msvcrt:clean_type_info_names_internal (00000642FFB93508) stub 00e8:fixme:msvcrt:__clean_type_info_names_internal (64083A50) stub

sponsor61
Level 2
Level 2
Posts: 40
Joined: Tue Apr 07, 2020 10:05 pm

Re: simple, free .NET 2.0 utility can't find its data file

Post by sponsor61 » Sat Mar 27, 2021 4:22 pm

By the way, gp2l works fine on Windows 10

sponsor61
Level 2
Level 2
Posts: 40
Joined: Tue Apr 07, 2020 10:05 pm

Re: simple, free .NET 2.0 utility can't find its data file

Post by sponsor61 » Sat Mar 27, 2021 4:40 pm

I have run into similar problems before, where a .NET utility runs, but fails to populate it's windows. In the case of gp2l, when I click on a new tab, I get the warning dialog box "Object reference not set to an instance of an object." The panes of the window where data should be filled in remain blank.

spoon0042
Level 6
Level 6
Posts: 502
Joined: Thu Dec 24, 2009 11:00 am

Re: simple, free .NET 2.0 utility can't find its data file

Post by spoon0042 » Sat Mar 27, 2021 4:46 pm

If that is indeed the issue you can also try 'winetricks mdac28 jet40'

(For the database access, not sure about anything else.)

sponsor61
Level 2
Level 2
Posts: 40
Joined: Tue Apr 07, 2020 10:05 pm

Re: simple, free .NET 2.0 utility can't find its data file

Post by sponsor61 » Sun Mar 28, 2021 1:10 pm

winetricks mdac28 jet40

worked! Thank you

Post Reply