Activator.CreateInstance() works inside VSIDE but not externally

前端 未结 7 1500
天涯浪人
天涯浪人 2020-12-19 07:50

I have a bunch of COM objects which all implement the same interface, and need to create one of them as chosen at runtime from a list of options. Since I know the CLSID for

相关标签:
7条回答
  • 2020-12-19 08:50

    I can't reproduce the problem you describe... some general pointers to check:

    • IF you use the default Adobe IFilter then you will see strange behaviour when running as 64 Bit or AnyCPU on a 64 Bit machine... running from VS can make a subtle difference here
    • http://support.microsoft.com/kb/2018558
    • http://support.microsoft.com/kb/927675/en-us
    • http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/aa966100-17f6-4ea9-8753-085cfbe5f17a/
    • http://social.technet.microsoft.com/Forums/en/sharepointsearch/thread/0f062b26-b6ad-4c18-8c33-192e2a741dec
    0 讨论(0)
提交回复
热议问题