tracerpt on Linux / API-MS-WIN-CORE-MISC problem

Questions about Wine on Linux
Locked
Devotpohats
Newbie
Newbie
Posts: 1
Joined: Thu Feb 13, 2014 4:11 pm

tracerpt on Linux / API-MS-WIN-CORE-MISC problem

Post by Devotpohats »

Hi guys,

I am trying to get tracerpt, a Windows utility for parsing event trace logs, to work in Wine. The executable depends on tdh.dll, which in turn depends on a bunch of api-ms-win-core libraries. I had a great deal of trouble pulling this from a 64-bit Windows 7 host, but once I dropped to using 32-bit Windows libraries (and executable) I've had much better luck. All DLLs now load, however I am getting the following:

[root@sandbox Win7-32-tracerpt]# wine tracerpt
err:module:attach_process_dlls "API-MS-Win-Core-Debug-L1-1-0.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\root\\Win7-32-tracerpt\\tracerpt.exe" failed, status c0000142

I haven't been successful registering any of the DLLs (i.e. wine regsvr32 /c "c:\windows\system32\tdh.dll" results in a "Failed to load" error). This is also happening regardless of whether or not I set Wine up as 32-bit or 64-bit. I've also ensured that winecfg is set to Windows 7.

I'm at a loss, and this is a fairly important, if esoteric, use case. Does anyone have a suggestion?

Thanks in advance,
Devotpohats
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: tracerpt on Linux / API-MS-WIN-CORE-MISC problem

Post by oiaohm »

Devotpohats the tracing features inside wine are implemented differently. So without implementing a stack of new code there is no way for tracerpt to work.

Wine does not have a NT kernel at core. In fact wine does not have event logs either. Event log data just end up on wine debugging output.

http://wiki.winehq.org/DebugChannels

Yes wine is different.
Locked