Issue #24: create mxaccess com object on sta #69

Merged
dohertj2 merged 1 commits from agent-1/issue-24-create-mxaccess-com-object-on-sta into main 2026-04-26 17:39:05 -04:00
Owner

Summary

  • Create MXAccess COM objects through MxAccessStaSession on the worker STA.
  • Add base event sink attachment for all public MXAccess event families.
  • Map COM creation failures to structured WorkerFault messages with HRESULT and exception type.
  • Add fake-based worker tests and an opt-in live COM creation test gated by MXGATEWAY_RUN_LIVE_MXACCESS_TESTS=1.

Tests

  • dotnet format src\MxGateway.sln --include ...
  • dotnet msbuild src\MxGateway.Worker\MxGateway.Worker.csproj /restore /p:Configuration=Debug /p:Platform=x86
  • dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86

Notes

  • Live MXAccess COM creation is opt-in and was not enabled during the normal worker test run.
## Summary - Create MXAccess COM objects through `MxAccessStaSession` on the worker STA. - Add base event sink attachment for all public MXAccess event families. - Map COM creation failures to structured `WorkerFault` messages with HRESULT and exception type. - Add fake-based worker tests and an opt-in live COM creation test gated by `MXGATEWAY_RUN_LIVE_MXACCESS_TESTS=1`. ## Tests - dotnet format src\MxGateway.sln --include ... - dotnet msbuild src\MxGateway.Worker\MxGateway.Worker.csproj /restore /p:Configuration=Debug /p:Platform=x86 - dotnet test src\MxGateway.Worker.Tests\MxGateway.Worker.Tests.csproj -p:Platform=x86 ## Notes - Live MXAccess COM creation is opt-in and was not enabled during the normal worker test run.
dohertj2 added 1 commit 2026-04-26 17:37:15 -04:00
dohertj2 merged commit 76bd3de5a2 into main 2026-04-26 17:39:05 -04:00
Sign in to join this conversation.