Skip to content

Instantly share code, notes, and snippets.

@rponte
Created July 2, 2014 12:35
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save rponte/b1f5dbeae466feab35d8 to your computer and use it in GitHub Desktop.
Save rponte/b1f5dbeae466feab35d8 to your computer and use it in GitHub Desktop.
Registering a DLL or OCX with Wine
# registering a dll
wine regsvr32 midas.dll
wine regsvr32 fee.ocx
# unregistering a dll
wine regsvr32 /u fee.dll
wine regsvr32 /u fee.ocx
@9868-08
Copy link

9868-08 commented Jun 16, 2022

where fee.dll or midas.dll must be placed?

Z:\home\dinky\testtask>DIR
wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.
Volume in drive Z has no label.
Volume Serial Number is 0000-0000

Directory of Z:\home\dinky\testtask

6/16/2022 1:55 PM

.
6/16/2022 1:55 PM ..
9/22/2020 12:19 PM 12,448,256 Qt5Cored.dll
9/22/2020 12:23 PM 12,175,872 Qt5Widgetsd.dll
6/15/2022 1:14 PM 101,888 TestTask01.exe
12/2/2020 1:31 AM 1,854,416 ucrtbased.dll
6/8/2022 7:00 AM 54,192 vcruntime140_1d.dll
6/8/2022 7:00 AM 165,808 vcruntime140d.dll

Z:\home\dinky\testtask>regsvr32.exe /I Qt5Cored.dll

Z:\home\dinky\testtask>0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:err:module:import_dll Library icuin66.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Library icuuc66.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Library MSVCP140D.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Library MSVCP140_1D.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Loading library ucrtbased.dll (which is needed by L"Z:\home\dinky\testtask\VCRUNTIME140D.dll") failed (error c000007b).
0110:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Loading library ucrtbased.dll (which is needed by L"Z:\home\dinky\testtask\VCRUNTIME140_1D.dll") failed (error c000007b).
0110:err:module:import_dll Loading library ucrtbased.dll (which is needed by L"Z:\home\dinky\testtask\VCRUNTIME140D.dll") failed (error c000007b).
0110:err:module:import_dll Library VCRUNTIME140D.dll (which is needed by L"Z:\home\dinky\testtask\VCRUNTIME140_1D.dll") not found
0110:err:module:import_dll Library VCRUNTIME140_1D.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") not found
0110:err:module:import_dll Loading library ucrtbased.dll (which is needed by L"Z:\home\dinky\testtask\Qt5Cored.dll") failed (error c000007b).
regsvr32: Failed to load DLL 'Qt5Cored.dll'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment