Re: Serious bug in .NET framework 2.0 - IShellLink interface crashes

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Elmue" <abuse@xxxxxx> wrote in message
news:OJxO3FAUGHA.2156@xxxxxxxxxxxxxxxxxxxxxxx
My project loads a managed C++ DLL which uses the *IShellLink* interface
to resolve shortcuts.
The function ResolveShortCut() (see below) is called from the main C#
program in a thread loop to
resolve all links found on the desktop.

[snip]

2.)
Then suddenly it happens that *CoInitialize(0)* fails.


The red flag has just gone up.

Why are you calling CoInitialize(0)? Please tell me you aren't calling it
from the DLL ...

Robert


.



Relevant Pages

  • Replace() not working
    ... but I do not recall how ... to resolve it. ... Calling the Replace function generates an error 5. ... etc.) I've tried uninstalling and reinstalling, ...
    (microsoft.public.access.modulesdaovba)
  • "Managed Debugging Assistant LoaderLock has detected a problem in
    ... I am calling some managed dlls from my Vb .net. ... How to resolve the above error? ... I am calling mainform instance from other VB .net ... "A first chance exception of type 'System.InvalidOperationException' ...
    (microsoft.public.dotnet.framework.clr)
  • Re: [PATCH 6/7] Ksplice: Export symbols needed for Ksplice
    ... Ksplice uses several functions from module.c in order to resolve ... symbols and implement dependency handling. ... Calling these functions ...
    (Linux-Kernel)
  • Re: In over my head... sbs 2003, router
    ... you seem to have a hard time with that. ... Whatever, moving on. ... for a living ask simple questions that we're doing it to HELP RESOLVE ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (microsoft.public.windows.server.sbs)
  • Re: [PATCH 6/7] Ksplice: Export symbols needed for Ksplice
    ... Ksplice uses several functions from module.c in order to resolve ... symbols and implement dependency handling. ... Calling these functions ...
    (Linux-Kernel)