Groups | Blog | Home
all groups > dotnet interop > april 2004 >

dotnet interop : ITaskSchedler implementer DLL name for importing?


Sean Z
4/29/2004 8:06:02 PM
Hello, where do I get the name of DLL that contains class implementing ITaskScheduler interface - I would like to import it into my C#. The class's ID is CLSID_CTaskScheduler

Thank yo
Mattias Sjögren
4/30/2004 9:21:47 AM
Sean,

[quoted text, click to view]

You don't need the DLL name for importing COM types. But FYI it is
Mstask.dll.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Sean Z
4/30/2004 11:06:03 AM
Mattias

I go to my .NET project's "add reference" -> COM tab -> browse for mstask.dll and get an error that it is not a valid COM component. However in Win32/C++ I am able to use ITask and ITaskSchedule related classes no problem - this means there exists a COM class?

Phil Wilson
4/30/2004 12:59:31 PM
Go to http://www.codeproject.com and search for task + scheduler and you'll
get a bunch of them, such as:
http://www.codeproject.com/csharp/taskschedulerlibrary.asp?target=task%7C%2Bscheduler

--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]
mstask.dll and get an error that it is not a valid COM component. However in
Win32/C++ I am able to use ITask and ITaskSchedule related classes no
problem - this means there exists a COM class?
[quoted text, click to view]
if I don't need a dll name? Thanks a lot!


AddThis Social Bookmark Button