主题:【求助】问个Visual C++的问题 -- 香山居士
跟remote desktop connection 有关。
俺用的是Visual Studio 2005,code不是俺写的,俺只是debug。
问题在这行code,createArgs是个pointer。
m_pAppHub = pplicationHubFactory::NewInstance(createArgs);
如果我在本地机上(Windows XP)build,run,一点问题都没有。如果我用另一台机子(Windows Vista)通过remote desktop connection 联这台机子,build没问题,run到这行就会产生
An unhandled exception of type 'System.TypeInitializationException'
我查过,在两种状况下运行时createArgs里面各个component的值完全相同。我在网上google了两天,不得要领。
谢谢大家了。
- 相关回复 上下关系8
🙂【求助】问个Visual C++的问题
🙂这个恐怕和运行权限有关。 1 天边一只猴 字85 2008-03-18 18:55:00
🙂这个应该是managed code引起的 1 黑色枪骑兵 字197 2008-03-18 17:46:09
🙂createArgs是不是个com对象接口的指针? 1 股市就是搏傻游 字156 2008-03-18 07:11:52
🙂我估计 1 doom 字162 2008-03-18 05:38:30
🙂检查运行时加载的函数库 1 庭前柏树子 字246 2008-03-17 18:43:40
🙂我猜: handle掉 unhandled exception 1 jet 字53 2008-03-17 15:22:47
🙂可是那个function我没有source code 香山居士 字8 2008-03-17 15:59:16