在 Windows 10 中调试 Visual Basic (VB6)(MTS 事务模式)

问题描述 投票:0回答:1

我们注意到,当 MTSTransactionMode 设置为事务选项时,在 Windows 10 中调试 VB6 应用程序会失败。即:除了无交易之外的任何事情。

错误信息是:

TNS 无法初始化

transactions com vb6 windows-10
1个回答
0
投票

在项目中,选择类并显示属性窗口。将显示 MTSTransactionMode。如果您不使用 MTS,请将它们全部设置为 0 - NotAnMTSObject。

© www.soinside.com 2019 - 2024. All rights reserved.