The problem for using Infoteam OpenPCS with wine

Questions about Wine on Linux
Locked
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

Hello, everybody.I have a problem that puzzles me for a long time when I use the software of Infoteam OpenPCS with wine.
First of all, the software of Infoteam OpenPCS can operate and use correctly in Windows XP. I'm using the latest version of wine, and I can install Infoteam OpenPCS into the wine.
Then I can start the software by installing the shortcut after the software is installed, but when I call the compiler of the software, it doesn't compile properly, and there is no error in the software interface, even if there are grammatical mistakes in my program. The compile path contains the file name ‘$ENV$’ and '$GEN$'.
Finally, I started the software at the command terminal and got the following information:

(1)before compiling:
fixme:reg:RegQueryInfoKeyW security argument not supported.
fixme:advapi:ImpersonateLoggedOnUser (0xc4)
fixme:netapi32:DsRoleGetPrimaryDomainInformation ((nil), 1, 0x33f410) stub
fixme:advapi:LsaOpenPolicy ((null),0x33f3b4,0x00000001,0x33f3ac) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:ieframe:PersistStreamInit_InitNew (0x12d0810)
fixme:ieframe:navigate_url Unsupported args (Flags 0x32e574 {VT_I4: 0}; TargetFrameName 0x32e564 {VT_BSTR: (null)})
fixme:advapi:GetCurrentHwProfileA (0x32b7e0) semi-stub
fixme:shell:SHCreateShellPalette stub
fixme:shell:SHGetInverseCMAP - returning bogus address for SHGetInverseCMAP
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({d001f200-ef97-11ce-9bc9-00aa00608e01} {d001f200-ef97-11ce-9bc9-00aa00608e01} 0x32bf64)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({79eac9ee-baf9-11ce-8c82-00aa004ba90b} {79eac9ee-baf9-11ce-8c82-00aa004ba90b} 0x1343fac)
fixme:ieframe:TargetFrame_GetFrameOptions (0x12d0844)->(0x32befc)
fixme:ieframe:DocObjectService_GetPendingUrl 0x10a9eb8 0x32c098
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32bfec)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({332c4427-26cb-11d0-b483-00c04fd90119} {332c4427-26cb-11d0-b483-00c04fd90119} 0x32bfc4)
fixme:ieframe:ShellBrowser_QueryInterface 0x10a9eb8 {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32b928
fixme:ieframe:ClientSite_GetContainer (0x12d08dc)->(0x32bfc4)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32cf34)
fixme:msimtf:DllGetClassObject ({50d5107a-d278-4871-8989-f4ceaaf59cfc} {00000001-0000-0000-c000-000000000046} 0x32cbd8)
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
err:ole:CoGetClassObject no class object {50d5107a-d278-4871-8989-f4ceaaf59cfc} could be created for context 0x401
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
2, 2: Error found/expected : IDENTIFIER/_EOF_ PROGRAM FUNCTION_BLOCK FUNCTION GLOBAL_TYPE_BEGIN GLOBAL_PROTOTYPE_BEGIN BASIC_TYPE_BEGIN TYPE VAR VAR_GLOBAL VAR_EXTERNAL VAR_INPUT VAR_OUTPUT VAR_IN_OUT
9, 9: Error found/expected : VORDEF_DATA_TYPE_NAME/IDENTIFIER AT END_STRUCT COMMENT
11, 5: Error found/expected : END_STRUCT/IDENTIFIER AT END_TYPE COMMENT
fixme:treeview:TREEVIEW_PrintClient Partial Stub: (hdc=0xd019b options=0x00000014)
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:shell:MLLoadLibraryW (L"shdoclc.dll",0x19c0000,2) semi-stub!
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x12d08dc)
fixme:advapi:GetCurrentHwProfileA (0x32efe0) semi-stub
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32ea28)
fixme:ieframe:TargetFrame_GetFrameMargins (0x12d0844)->(0x32ea5c 0x32ea64)
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3c374a40-bae4-11cf-bf7d-00aa006946ee} {3c374a41-bae4-11cf-bf7d-00aa006946ee} 0x10a9b78)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3c374a40-bae4-11cf-bf7d-00aa006946ee} {3c374a41-bae4-11cf-bf7d-00aa006946ee} 0x10a9b78)
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/ReleaseNotes.pps" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/controlx/controlx.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/timer/timer.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/visu/visu.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/perform/perform.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/ISO9000/iso9000.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/BookExam/BookExam.var" 00000000 (nil))
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:DocObjectService_ActiveElementChanged 0x10a9eb8 0x1df54d0
fixme:ieframe:ShellBrowser_QueryInterface 0x10a9eb8 {f62d9369-75ef-4578-8856-232802c76468} 0x32eef8
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)

(2)after compiling:
fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
2, 2: Error found/expected : IDENTIFIER/_EOF_ PROGRAM FUNCTION_BLOCK FUNCTION GLOBAL_TYPE_BEGIN GLOBAL_PROTOTYPE_BEGIN BASIC_TYPE_BEGIN TYPE VAR VAR_GLOBAL VAR_EXTERNAL VAR_INPUT VAR_OUTPUT VAR_IN_OUT
9, 9: Error found/expected : VORDEF_DATA_TYPE_NAME/IDENTIFIER AT END_STRUCT COMMENT
11, 5: Error found/expected : END_STRUCT/IDENTIFIER AT END_TYPE COMMENT
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
err:ntdll:RtlLeaveCriticalSection section 0x1311e8 is not acquired

These are the problems I have also encountered. I hope you can help me solve this problem, thank you!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by Bob Wya »

@freedomBird,
  • You really need to delimit any terminal output and commands with the forum Code

    Code: Select all

    Code
    tags... Otherwise your posts will be pretty unreadable!
  • I'm using the latest version of wine - NO - just type the version in... That's just like writing "today is ... today"!!
  • Please document how you installed the Visual C++ 2015 libraries and .Net 4.5.2 frameworks, 32-bit WINEPREFIX, etc.?!!
    with the winetricks helper script or just used the supplied installers?
  • What command are you using to launch your application?
Looks to me like the output from the helper terminal utilties (e.g. ITMake.exe) aren't being picked up correctly by the main openpcs.exe executable.
The compilation error output is however spamming the Linux terminal (I can reproduce what you are seeing in your Wine terminal output)...
But it's hard to tell - because it's a very specialist piece of software that I'm not familiar with.

You'll find most applications that require newer versions of .Net frameworks - do not work very well under Wine. That is certainly my experience.

I'd suggest filing a WineHQ Bug for OpenPCS - but please don't be so vague about what steps you've taken to setup the application.
If English isn't your first language then let Google Translate take the strain!
Wine Developers will definitely ignore the bug - if you don't supply enough detail... :roll:

Bob
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
Thanks for your advice. This is the first time I posted on this forum. Your advice is very helpful to me, so I will reorganize my problem.
First of all, I used the system environment as shown below:
  • The operating system is Ubuntu 17.04, 32-bit;
  • The version of wine is Wine 2.16, 32-bit;
  • The version of application is Infoteam OpenPCS2006_V550
secondly, because the application software requires .Net 1.1 frameworks and HTML, so I install Gecko and Mono before I install the application.
Tips:I installed with Infoteam OpenPCS comes with .Net environment is not successful, but first install Gecko and then install the software successfully.
Finally, Infoteam OpenPCS can be started in two ways: desktop shortcuts and enter the wine command in the terminal to make calls, such as wine openpcs.exe.
I use the command "wine openpcs.exe" in the terminal to start the application. I get the following messages:

Code: Select all

fixme:reg:RegQueryInfoKeyW security argument not supported.
fixme:advapi:ImpersonateLoggedOnUser (0xc4)fixme:netapi32:DsRoleGetPrimaryDomainInformation ((nil), 1, 0x33f410) 
stubfixme:advapi:LsaOpenPolicy ((null),0x33f3b4,0x00000001,0x33f3ac) 
stubfixme:advapi:LsaClose (0xcafe) 
stubfixme:msvcrt:_mbscspn don't handle double character 
casefixme:msvcrt:_mbscspn don't handle double character 
casefixme:ieframe:PersistStreamInit_InitNew (0x12d0810)
fixme:ieframe:navigate_url Unsupported args (Flags 0x32e574 {VT_I4: 0}; TargetFrameName 0x32e564 {VT_BSTR: (null)})
fixme:advapi:GetCurrentHwProfileA (0x32b7e0) 
semi-stubfixme:shell:SHCreateShellPalette 
stubfixme:shell:SHGetInverseCMAP - returning bogus address for SHGetInverseCMAP
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({d001f200-ef97-11ce-9bc9-00aa00608e01} {d001f200-ef97-11ce-9bc9-00aa00608e01} 0x32bf64)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({79eac9ee-baf9-11ce-8c82-00aa004ba90b} {79eac9ee-baf9-11ce-8c82-00aa004ba90b} 0x1343fac)
fixme:ieframe:TargetFrame_GetFrameOptions (0x12d0844)->(0x32befc)
fixme:ieframe:DocObjectService_GetPendingUrl 0x10a9eb8 0x32c098
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32bfec)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({332c4427-26cb-11d0-b483-00c04fd90119} {332c4427-26cb-11d0-b483-00c04fd90119} 0x32bfc4)
fixme:ieframe:ShellBrowser_QueryInterface 0x10a9eb8 {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32b928
fixme:ieframe:ClientSite_GetContainer (0x12d08dc)->(0x32bfc4)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32cf34)
fixme:msimtf:DllGetClassObject ({50d5107a-d278-4871-8989-f4ceaaf59cfc} {00000001-0000-0000-c000-000000000046} 0x32cbd8)
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
err:ole:CoGetClassObject no class object {50d5107a-d278-4871-8989-f4ceaaf59cfc} could be created for context 0x401
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
2, 2: Error found/expected : IDENTIFIER/_EOF_ PROGRAM FUNCTION_BLOCK FUNCTION GLOBAL_TYPE_BEGIN GLOBAL_PROTOTYPE_BEGIN BASIC_TYPE_BEGIN TYPE VAR VAR_GLOBAL VAR_EXTERNAL VAR_INPUT VAR_OUTPUT VAR_IN_OUT
9, 9: Error found/expected : VORDEF_DATA_TYPE_NAME/IDENTIFIER AT END_STRUCT COMMENT
11, 5: Error found/expected : END_STRUCT/IDENTIFIER AT END_TYPE COMMENT
fixme:treeview:TREEVIEW_PrintClient Partial Stub: (hdc=0xd019b options=0x00000014)
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:shell:MLLoadLibraryW (L"shdoclc.dll",0x19c0000,2) semi-stub!
fixme:ieframe:DocHostUIHandler_GetDropTarget (0x12d08dc)
fixme:advapi:GetCurrentHwProfileA (0x32efe0) semi-stub
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({4c96be40-915c-11cf-99d3-00aa004ae837} {6d5140c1-7436-11ce-8034-00aa006009fa} 0x32ea28)
fixme:ieframe:TargetFrame_GetFrameMargins (0x12d0844)->(0x32ea5c 0x32ea64)
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:urlmon:SecManagerImpl_ProcessUrlActionEx (0x1343fa0)->(L"file://C:\\users\\Public\\Application Data\\infoteam Software\\OpenPCS2006\\splhtm\\startup.htm" 00001400 0x32f144 4 (nil) 0 00000000 00000000 0x32f128) stub
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3c374a40-bae4-11cf-bf7d-00aa006946ee} {3c374a41-bae4-11cf-bf7d-00aa006946ee} 0x10a9b78)fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3c374a40-bae4-11cf-bf7d-00aa006946ee} {3c374a41-bae4-11cf-bf7d-00aa006946ee} 0x10a9b78)
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/ReleaseNotes.pps" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/controlx/controlx.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/timer/timer.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/visu/visu.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/perform/perform.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/ISO9000/iso9000.var" 00000000 (nil))
fixme:ieframe:UrlHistoryStg_QueryUrl (L"file:///C:/users/Public/Application%20Data/infoteam%20Software/OpenPCS2006/samples/BookExam/BookExam.var" 00000000 (nil))
fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005
fixme:ieframe:DocObjectService_ActiveElementChanged 0x10a9eb8 0x1df54d0
fixme:ieframe:ShellBrowser_QueryInterface 0x10a9eb8 {f62d9369-75ef-4578-8856-232802c76468} 0x32eef8
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
When I click the compiling button from the toolbar of the UI of the Infoteam OpenPCS. I can't get the successful compilation process. The correct compilation process is such code in the Windows XP:

Code: Select all

C:\Program Files\infoteam Software\OpenPCS2006\\itmake.exe -m "C:\testSelfFB\testAdvVarToMem\$ENV$\Resource\Resource.MAK" -v "C:\testSelfFB\testAdvVarToMem\testAdvVarToMem.VAR" -n -i  
Building resource C:\testSelfFB\testAdvVarToMem\$ENV$\Resource\Resource.MAK。  
The pre-generation step is being performed:  
  
Creating(dependency list):   
C:\testSelfFB\testAdvVarToMem\testAdvVarToMem.POE  

 compiling...    

 linking ... 
 
0 error, 0 warn- C:\TESTSELFFB\TESTADVVARTOMEM\$GEN$\Resource\Resource.PCD.  
VARTAB32: 1 variables added in 1 segments (46 bytes) 
The steps are generated after execution:  
total:
0 error(s) 0 warn(s)
And I can't get the grammatical errors. Meanwhile, I get the following message in the terminal. such as:

Code: Select all

fixme:wininet:query_global_option INTERNET_OPTION_CONNECTED_STATE: semi-stub
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
2, 2: Error found/expected : IDENTIFIER/_EOF_ PROGRAM FUNCTION_BLOCK FUNCTION GLOBAL_TYPE_BEGIN GLOBAL_PROTOTYPE_BEGIN BASIC_TYPE_BEGIN TYPE VAR VAR_GLOBAL VAR_EXTERNAL VAR_INPUT VAR_OUTPUT VAR_IN_OUT
9, 9: Error found/expected : VORDEF_DATA_TYPE_NAME/IDENTIFIER AT END_STRUCT COMMENT
11, 5: Error found/expected : END_STRUCT/IDENTIFIER AT END_TYPE COMMENT
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
fixme:ieframe:ClServiceProvider_QueryService (0x12d08dc)->({3050f4b5-98b5-11cf-bb82-00aa00bdce0b} {b722bccb-4e68-101b-a2bc-00aa00404770} 0x1df6690)
err:ntdll:RtlLeaveCriticalSection section 0x1311e8 is not acquired
Tips: I use the "wine ITmake.exe" in the terminal, such as:

Code: Select all

super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$ wine ITMake.exe -m "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK" -v "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\testProject.VAR" -n -i total:
file not find: C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject$ENV$\Resource\Resource.MAK.
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$ wine ITMake.exe -m "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\\\$ENV$\Resource\Resource.MAK" -v "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\testProject.VAR" -n -i total:

Building resource C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK。
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
The pre-generation step is being performed:
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case

Creating(dependency list): 
C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\testCompile.POE

Compiling...

linking...
0 error, 0 warn- C:\USERS\PUBLIC\APPLICATION DATA\INFOTEAM SOFTWARE\OPENPCS2006\SAMPLES\TESTPROJECT\$GEN$\Resource\Resource.PCD.

fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
The steps are generated after execution:
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
fixme:msvcrt:_mbscspn don't handle double character case
super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$
The different is the compiling path, the unsuccessful path contain the string "*\$ENV$\*", the successful path contain the string "*\\\$ENV$\*".When I change the part of the path, i can get the successful process. Please help me, again! Thanks.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by Bob Wya »

freedomBird wrote:...

Code: Select all

super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$ wine ITMake.exe -m "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK" -v "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\testProject.VAR" -n -i total:
file not find: C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject$ENV$\Resource\Resource.MAK.

...

super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$ wine ITMake.exe -m "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\\\$ENV$\Resource\Resource.MAK" -v "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\testProject.VAR" -n -i total:

Building resource C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK。

...

super@super-OptiPlex-380:~/.wine/drive_c/Program Files/infoteam Software/OpenPCS2006$
The different is the compiling path, the unsuccessful path contain the string "*\$ENV$\*", the successful path contain the string "*\\\$ENV$\*".When I change the part of the path, i can get the successful process. Please help me, again! Thanks.
Well that's an obvious issue to explain. Your Linux shell (typically BASH) will mangle escape characters in your double quote strings - " - before Wine even sees these paths.

See: Unix Power Tools / 8.19 "Special" Characters and Operators ...

To illustrate this effect - compare the output from:

Code: Select all

echo "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\\\$ENV$\Resource\Resource.MAK"
echo "C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK"
echo 'C:\users\Public\Application Data\infoteam Software\OpenPCS2006\SAMPLES\testProject\$ENV$\Resource\Resource.MAK'
  • The first two examples use non-protective double quotes: " .
    Your shell will mangle these to death if you don't include protective escape characters: \
  • The final example uses protective single quotes: ' .
    Your shell won't touch anything contained within these.
tl;dr ... No Wine issues here - just shell mismanagement! :lol:

As for your other issues...
It sounds like you've made sensible choices: sticking with Wine Gecko and Wine Mono - as the .Net framework is so old.

It appears your application is trying to load a class object from msimtf.dll and failing:

Code: Select all

err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
You could try:

Code: Select all

wine reg.exe ADD "HKEY_CURRENT_USER\Software\Wine\DllOverrides" /v "msimtf" /t "REG_SZ" /d "" /f
to disable this dll (ActiveX control that allows for interpretation of Asian characters and inputs on non-Asian systems)...
If your program makes general use of ActiveX controls - then you may run into further problems though... :cry:

I'd recommend filing a bug with your simple test case. Windows XP (native) vs. Wine 32-bit WINEPREFIX (Windows XP).
That illustrates the problem you are experiencing concisely and should provide a good starting point.

Bob
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
Thanks again. Let me know the path input problem. Meanwhile, just like you said
It appears your application is trying to load a class object from msimtf.dll and failing:

Code: Select all

err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
Is due to my attempt to try to call the local dll caused. But I have not solved my main problem yet. Now I will provide a test case to explain the problem in detail, such as:
Tips: As I use the software is the Chinese version, please ignore the software in Chinese.
(1)Windows XP (native):
Illustration of the picture in the attachment: native_1.png and native_2.png.
(2)Wine 32-bit WINEPREFIX (Windows XP):
Illustration of the picture In the attachment: wine_1.png.
The posts in front of me are based on these tests. Can you analyze the problem? Thank you!

freedomBird
Attachments
This file is the test case for Wine 32-bit WINEPREFIX (Windows XP).
This file is the test case for Wine 32-bit WINEPREFIX (Windows XP).
This file is the test case for Windows XP (native).
This file is the test case for Windows XP (native).
This file is the test case for Windows XP (native)
This file is the test case for Windows XP (native)
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by Bob Wya »

@freedomBird

I'll reiterate you need to file a bug - here @ WineHQ Bugzilla .

I'd also be concerned that your use of a Chinese locale might be introducing further secondary issues...

Code: Select all

fixme:msvcrt:_mbscspn don't handle double character case
If possible switching to an English locale, for running your application under Wine, might simplify the "problem space" to just the OpenPCS application...
Not introducing any additional bugs - due to mishandling of unicode characters by Wine.

Bob
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
Thanks. Because my actual use of the environment is needed in the Chinese environment. So I will submit Bug to Bugzilla.
At the same time I will switch to the English environment for testing.

freedomBird
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
I should post the bug in the Bugzilla:Link to Bug.
But I have not been answered :cry: .I want to solve this problem as soon as possible, how can I do it? :?:
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by Bob Wya »

freedomBird wrote:@Bob Wya,
I should post the bug in the Bugzilla:Link to Bug.
But I have not been answered :cry: .I want to solve this problem as soon as possible, how can I do it? :?:
It won't help matters if you start trying to use all native (Windows) dll's in place of all of the builtin Wine dll stubs.
The idea is to find the smallest subset of builtin dll's that have missing functionality - API calls that are a hard requirement for your Windows application.
These are the dll's that you target to override - typically with winetricks - since this script will make the necessary regsvr32.exe, etc. calls as well as setting the registry key for the override (typically: native, builtin ordering).

Instead of just supplying what Louis asked for on your bug report (2 weeks ago) - you've wandered off down the garden path... :roll:
Possibly introducing other issues in the meantime.

Bob
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
Thanks again!
Bob Wya wrote:The idea is to find the smallest subset of builtin dll's that have missing functionality - API calls that are a hard requirement for your Windows application.
How do I determine the smallest subset of builtin dll's that have missing functionality? When I use wine to run openpcs.exe, the information has been provided in the above reply, I have no other way to determine.
Bob Wya wrote:These are the dll's that you target to override - typically with winetricks - since this script will make the necessary regsvr32.exe, etc. calls as well as setting the registry key for the override (typically: native, builtin ordering).
When I used the command "WINEDEBUG=+loaddll wine openpcs.exe" to find the dependent collection. But I used winetricks to override the dll, the available dlls is very limited. Most dlls that openpcs.exe loads are not found in winetricks. How can I try to load native dlls?

I still have a question that wine running windows software has the default coding way or with the Linux?
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

@Bob Wya,
I am back. Now I test the application again.
First of all, I used the system environment as shown below:
  • The operating system is Fedora 22, 32-bit, English;
  • The version of wine is Wine 2.21, 32-bit;
  • The version of application is Infoteam PS550e.exe.
When i get the wine, i install the PS550e.exe in it. Then i start the openpcs.exe, I get the successful compiling process, see attachments.But when i click the "File->New" button, I can't use the application, meanwhile, i get the loop message.

Code: Select all

This program tried to use a DOMDocument object, but libxml2 support was not present at compile time.
fixme:ole:CoCreateInstanceEx no instance created for interface {2933bf95-7b36-11d2-b20e-00c04f983e60} of class {88d969c0-f192-11d4-a65f-0040963251e5}, hres is 0x80004001
How can i fix this problem, please help me. Thanks again.
Attachments
compile process end
compile process end
compile process 2
compile process 2
compile process 1
compile process 1
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: The problem for using Infoteam OpenPCS with wine

Post by freedomBird »

Now, I can use the Infoteam OpenPCS with Wine. Thanks for your help. I have gained the following experience:
(1)The final environment:
  • The operating system is Fedora 21, 32-bit, Chinese;
  • The version of wine is Wine 2.21, 32-bit;
  • The version of application is Infoteam PS550cs.exe.
(2)The support of the Chinese version of the application in Wine is not yet perfect, and the compilation and output of the application software is related to the Chinese character set. So we use the other function to get and display the compile message of the application software.

These are my own points of view, to summarize the post, and thank everyone again for your help.
Locked