sg

Perşembe, Ocak 12, 2006

[Google-Desktop-Developer] Indexing plugin written on .Net 2.0


Hello.
I've wrote sample indexing plugin in C# 2.0 based on article
<http://www.dotnet-project.com/Modules/articles/VoirArticles.aspx?ID=25>
and got some problems:

1. Method RegisterFunction marked with ComRegisterFunctionAttribute is
not called when assembly is registered with regasm.exe. I've added some
file log events to this method and no log created at all. Why? In .Net
1.1 it is called.
2. I've wrote custom "installer" (console application) that calls
RegisterFunction directly (and that all that was done by that
"installer"). So first of all plugin assembly is registered with
regasm, then copied to the GAC and then RegisterFunction called from
"installer". I got error when creating new GoogleDesktopRegistrarClass:

Retrieving the COM class factory for component with CLSID
{AC129136-EB1C-4FFF-B0A2-6D6761BE4138} failed due to the following
error: 80040154.

I couldn't find anything about this error. What's wrong?

I'd like to say that the same code compiled with .Net 1.1 works fine -
RegisterFunction is called by regasm and GoogleDesktopRegistrarClass
instance creates succesefully. Does GDS allow plugins written on .Net
2.0?

Thank you.

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık