CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 33

Threaded View

  1. #13
    Join Date
    Aug 2011
    Posts
    38

    Re: VS2010&OLE32.dll access violation problem with COM

    My worker thread routine is as below.

    Code:
    class Worker{
      Worker(){}
      void operator()(void)
      {
         CoInitialize(NULL);
    
         // init skype api dll
         
         while(true){
              // skype api procedures using Skype4COM.dll
         }
    
         CoUninitialize();
      }
    };
    This is a worker thread and this thread will only uses skype-api's produced by Skype's DLL.
    BUT I've unloading Skype-DLL on the main thread. This procedure maybe the cause of this problem. I'll try to remove this procedure to detect an affected part of my sources.

    Sorry Igor, I might have using delayed load.
    Last edited by lightshield; August 20th, 2011 at 03:59 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured