Hi, As for my brief experience : if two dlls (same name but different versions) are at different locations (old one in the app directory, new one in the envronnement PATH), the last one will be prefered. Crystal Report (report software sold with mapinfo) does that...all the time.
David -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Spencer Simpson Envoyé : jeudi 15 juin 2006 21:18 À : 'Mapinfo-L' Objet : RE: [MI-L] Dynamic dll locations OK, if it's really using the Windows search order, then I suppose http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/bas e/dynamic-link_library_search_order.asp should be definitive. Spencer -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Uffe Kousgaard Sent: Thursday, June 15, 2006 3:11 AM To: Mapinfo-L Subject: Re: [MI-L] Dynamic dll locations From: "Bill Thoen" <[EMAIL PROTECTED]> > I've heard that Microsoft has changed that rule for security reasons. > I think it no longer searches the local direcotry *first*. It will > search for it there eventually, but only as the last resort. I think > its first choice is \Windows\system32\ but I don't know its full search path. I did a small test on XP Pro with all service packs. This is the order: mbx folder mapinfow.exe folder windows/system32 windows/system windows PATH environment I think this is how it's always been. There is also the "current dir", but I was too lazy to test that one. Regards Uffe _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
