IIS Server - DLLs

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > January 2004 > DLLs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author DLLs
Jan Plastenjak

2004-01-24, 1:46 am


How does IIS looks for DLLs? I'm using one COM object in ASP, and that
COM object uses few DLLs. The problem is that I have several versions of
those DLLs on my PC and IIS takes wrong one. Where IIS looks first?

Thank you.


David Wang [Msft]

2004-01-24, 1:46 am

IIS does not look for DLLs on behalf of any user code, so it's not really an
IIS question at all.

The question is "How does *YOUR* COM object 'use few DLLs' "? If it calls
LoadLibrary, then it goes through the MSDN documented sequence for
LoadLibrary. If the COM object loads a couple of ProgID, then it's by
whatever is registered in the Registry.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jan Plastenjak" <none@ms.com> wrote in message
news:uz$16CC3DHA.2404@TK2MSFTNGP12.phx.gbl...

How does IIS looks for DLLs? I'm using one COM object in ASP, and that
COM object uses few DLLs. The problem is that I have several versions of
those DLLs on my PC and IIS takes wrong one. Where IIS looks first?

Thank you.



Jan Plastenjak

2004-01-24, 1:46 am


Thank you. When I use CFileFind::FindFile("myfile.txt") from my dll/COM,
where it will look? I've put myfile.txt in Windows folder (WinXP) and it
can't find it.


doug

2004-01-24, 1:46 am

Chances are it will (for myfile.txt) look in the same
directory as the page that is being run...according to
your syntax.

doug
quote:

>-----Original Message-----
>
> Thank you. When I use CFileFind::FindFile


("myfile.txt") from my dll/COM,
quote:

>where it will look? I've put myfile.txt in Windows


folder (WinXP) and it
quote:

>can't find it.
>
>
>.
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com