progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#2307 by Mast
Mon Jan 18, 2016 6:10 pm
I have installed ProgeCAD2011 which is based upon IntelliCAD 6.6. When I add text with the Mtext command, the whole program freezes and the CPU usage goes up to 100%. I have installed Riched30 together with mls31 (MS Line Services). This bug is already mentioned at https://bugs.winehq.org/show_bug.cgi?id=11751 "Intellicad 6.4 becomes unresponsive when adding text (mtext command in icad console)". I run ProgeCAD 2011 under Linux Mint 17.2 Xfce with the 3.13.0-65 kernel. The Wine version has been set to 1.62 in PlayOnLinux.

DLL overrides in Wine for ProgeCAD2011:

"*comctl32"="native, builtin"
"*msvcr90"="native,builtin"
"*riched30"="native,builtin"

Debugging output:

[08/27/15 21:01:59] - Running wine-1.7.50 icad.exe (Working directory : /home/daw/.PlayOnLinux/wineprefix/ProgeCAD2011/drive_c/Program Files/ProgeCAD/progeCAD 2011 Professional ENG)

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}

fixme:psdrv:PSDRV_UpdateDevCaps Can't find page

fixme:psdrv:PSDRV_UpdateDevCaps Can't find page

fixme:psdrv:PSDRV_UpdateDevCaps Can't find page

fixme:psdrv:PSDRV_UpdateDevCaps Can't find page

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}

fixme:ntdll:NtLockFile I/O completion on lock not implemented yet

fixme:ieframe:PersistStreamInit_InitNew (0x1653b8)

Drawing Load/Save Progress: Load Started ------------------------

fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x328f5c 1 C) semi-stub

fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x328d9c 1 C) semi-stub

Drawing Load/Save Progress: Meter Limit: 1

Drawing Load/Save Progress: Load Completed------------------------

Drawing Load/Save Progress: Load Started ------------------------

Drawing Load/Save Progress: Meter Limit: 84

Drawing Load/Save Progress: Progress: 1.19%

Drawing Load/Save Progress: Progress: 2.38%

Drawing Load/Save Progress: Progress: 3.57%

Drawing Load/Save Progress: Progress: 4.76%

Drawing Load/Save Progress: Load Completed------------------------

Drawing Load/Save Progress: Load Started ------------------------

Drawing Load/Save Progress: Meter Limit: 84

Drawing Load/Save Progress: Progress: 1.19%

Drawing Load/Save Progress: Progress: 2.38%

Drawing Load/Save Progress: Progress: 95.24%

Drawing Load/Save Progress: Load Completed------------------------

err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\users\\daw\\Application Data\\ProgeCAD\\progeCAD\\R11\\Professional - English\\CommonProjects.vbi" failed with error 32

fixme:richedit:ME_HandleMessage EM_SETTYPOGRAPHYOPTIONS: stub

fixme:richedit:ME_HandleMessage EM_GETLANGOPTIONS: stub

fixme:richedit:ME_HandleMessage EM_SETLANGOPTIONS: stub

fixme:font:GSUB_apply_feature We only handle SubType 1

fixme:font:GSUB_apply_feature We only handle SubType 1

fixme:font:GSUB_apply_feature We only handle SubType 1

fixme:richedit:ME_HandleMessage EM_SETTARGETDEVICE doesn't use non-NULL target devices

fixme:font:GSUB_apply_feature We only handle SubType 1

fixme:richedit:ME_HandleMessage EM_SETTARGETDEVICE doesn't use non-NULL target devices

Is there any workaround to fix this nasty problem in ProgeCAD 2011? While ProgeCAD 2009 Smart runs fine under Wine without this Mtext problem.
#2308 by caddit
Thu Jan 21, 2016 3:16 pm
Hi There Mast,

MTEXT is a feature of progeCAD which always is being improved, therefore will (and should) have changing requirements from version to version.

WINE is a Windows emulation layer for UNIX/Linux which has not been supported for progeCAD for a long time. Also, legacy support for progeCAD 2011 is completely discontinued. However, your endeavour is still interesting.

Obviously the fault is in WINE. This can be readily seen in your STDERR / STDOUT:

fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:psdrv:PSDRV_UpdateDevCaps Can't find page
fixme:psdrv:PSDRV_UpdateDevCaps Can't find page
fixme:psdrv:PSDRV_UpdateDevCaps Can't find page
fixme:psdrv:PSDRV_UpdateDevCaps Can't find page
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
fixme:ieframe:PersistStreamInit_InitNew (0x1653b8)
Drawing Load/Save Progress: Load Started ------------------------
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x328f5c 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x328d9c 1 C) semi-stub


That's a lot of missing API functionality. API functionality provided by a real Windows operating system and called to provide wanted features to the end user. Missing or stubbed API will cause unforseen disruption, code exceptions and crashes. progeCAD is only ever tested on real Windows systems, not emulators. It's also worth mentioning that progeCAD 2013 was released with a more robust (and almost completely re-written) MTEXT command.

For hobby purposes (which this likely is), why not stay with 2009 if it works better for you?