我在服务结构应用程序中使用 RocketMQ。但是当我试图创建 ONSFactoryProperty 的实例时它会抛出异常;ONSFactoryProperty factoryInfo = 新 ONSFactoryProperty()
External component has thrown an exception.
at ons.UnmanagedONSFactoryProperty.{ctor}(UnmanagedONSFactoryProperty* )
at ons.ONSFactoryProperty..ctor() in d:\bug\rocketmq-
client4cpp\managedons\managedonsfactory.cpp:line 8
同样在创建 ONSFactory 实例时;ONSFactory onsfactory = 新 ONSFactory();
at ons.UnmanagedONSFactory.getInstance()
at ons.ONSFactory..ctor() in d:\bug\rocketmq-
client4cpp\managedons\managedonsfactory.cpp:line 271
但是我在控制台应用程序中尝试过相同的代码。它工作正常。这个问题有什么解决方案吗?