If you search msdn for this GetModuleHandleEx function, it will indicate that the minimum supported client is *Windows XP*, so this API was first introduced in Windows XP.
In short, Windows 2000 is not supported. - Jackie Andrew DeMerchant wrote: > > I did a search in httpd.conf, but didn't see any %MG occurrences. The > logs had a few php errors in them, but more interestingly, when I went > to restart the Apache server, it crashed (httd.exe crashed - with lots > of errors like "The procedure entry point GetModuleHandleExW could not > be located in the dynamic link library kernel32.dll". Here's my error.log: > > [Mon Jun 01 16:44:32 2009] [notice] Apache/2.2.4 (Win32) configured -- > resuming normal operations > [Mon Jun 01 16:44:32 2009] [notice] Server built: Jan 9 2007 23:17:20 > [Mon Jun 01 16:44:32 2009] [notice] Parent: Created child process 1428 > [Mon Jun 01 16:44:32 2009] [notice] Disabled use of AcceptEx() WinSock2 > API > PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program > Files\\OSGeo\\MapGuide\\Web\\Php\\ext\\php_MapGuideApiEnvConfig.dll' - > The specified procedure could not be found.\r\n in Unknown on line 0 > [Mon Jun 01 16:44:34 2009] [notice] Child 1428: Child process is running > [Mon Jun 01 16:44:34 2009] [notice] Child 1428: Acquired the start mutex. > [Mon Jun 01 16:44:34 2009] [notice] Child 1428: Starting 50 worker > threads. > [Mon Jun 01 16:44:34 2009] [notice] Child 1428: Listening on port 8008. > > Andrew > > > On 6/1/2009 4:32 PM, Jason Birch wrote: >> >> Andew, >> >> Don't have a 2.1 installation handy, so locations may be a bit fuzzy... >> >> Could you please check your Apache installation to see if the mapping >> worked properly. The configuration should be in: >> >> c:\program files\osgeo\mapguide\web\Apache2\conf\httpd.conf >> >> Have a look at it and see if there are any remaining %MG_ >> placeholders in there. I'd be surprised if this was the case >> though; typically I think this causes the Apache service to fail to >> start, so you wouldn't get the HTTP errors at all. >> >> Next have a look in the web server logs. I think they are in: >> >> c:\program files\osgeo\mapguide\web\Apache2\logs and see if there's >> anything out of the ordinary in the access or error logs. >> >> Also, make sure that there are no leftovers from the 2.0 install, such >> as an invalid PHP location in the PATH or in the registry under >> HKLM\Software\PHP\5.2.5 (or something like that) >> >> Jason >> >> *From:* Andrew DeMerchant >> *Sent:* Monday, June 01, 2009 11:11 AM >> *To:* MapGuide Users Mail List >> *Subject:* [mapguide-users] 2.1 installation problem >> >> I'm trying to install the 2.1 beta on a Windows 2000 virtual machine - >> I had had 2.0 on there with no problems (with IIS)...I uninstalled 2.0 >> completely, then installed 2.1 with Apache - but when I try to access >> anything (MapAgent test pages, MapGuide site admin) I get a 403 >> (access forbidden). I don't know Apache - any suggestions? I'm sure >> it's simple....but I could find anything online that was applicable. >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> mapguide-users mailing list >> mapguide-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapguide-users >> > > -- > *Andrew DeMerchant* > *Computer Technologist* > ph.1-877-2GEMTEC x.163 > fax 506-453-9470 > > /GEMTEC Limited <http://www.gemtec.ca> > /191 Doak Road > Fredericton, NB, Canada > E3C 2E6 > > > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/How-to-Save-Redline-Object-on-a-new-Layer-tp2992274p3009575.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users