First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 44
Product:
Component:
Status: ASSIGNED
Resolution:
Assigned To: Matthew Allen <fret@memecode.com>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthew Allen <fret@memecode.com>
Add CC:
CC:
URL:
Summary:

Attachment Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44 depends on: Show dependency tree
Show dependency graph
Bug 44 blocks:

Additional Comments:








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-18 12:30

    

------- Comment #1 From Matthew Allen 2005-11-08 23:56:56 -------
I've tried fixing this and no luck so far.

------- Comment #2 From Matthew Davey 2005-11-24 05:13:51 -------
(In reply to comment #1)
> I've tried fixing this and no luck so far.

I've had the same problem with the IE control in my own programs, It was solved
by calling 'OleInitialize(NULL);'


MSDN Documentation:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/html/9a13e7a0-f2e2-466b-98f5-38d5972fa391.asp

------- Comment #3 From Matthew Allen 2005-11-24 05:24:18 -------
I tried adding that to the DllMain of my plugin. The hosting application
already
calls that on startup. Didn't make any difference. My DllMain looks like this
at
the moment:

BOOL DllMain(HINSTANCE hInstDLL, DWORD Reason, LPVOID Res)
{
        switch (Reason)
        {
                case DLL_PROCESS_ATTACH:
                {
                        // OleInitialize(NULL); doesn't change anything?
                        _Module.Init(ObjectMap,
(HINSTANCE)GetCurrentProcess());
                        AtlAxWinInit();
                        break;
                }
        }

        return true;
}

First Last Prev Next    No search results available      Search page      Enter new bug