Index: trunk/ab5.0/abdev/ProjectEditor/reg_exp.cpp
===================================================================
--- trunk/ab5.0/abdev/ProjectEditor/reg_exp.cpp	(revision 477)
+++ trunk/ab5.0/abdev/ProjectEditor/reg_exp.cpp	(revision 478)
@@ -13,5 +13,5 @@
 	if( !hLib )
 	{
-		MessageBox( NULL, "BREGEXP.dll ï¿½ï¿½ï¿½ï¿½ï¿½Âï¿½ï¿½ï¿½Üï¿½ï¿½B", "Gñï¿½ï¿½[", MB_OK | MB_ICONEXCLAMATION );
+		MessageBox( NULL, "BREGEXP.dll が見つかりません。", "エラー", MB_OK | MB_ICONEXCLAMATION );
 	}
 
Index: trunk/ab5.0/abdev/ab_common/Environment.cpp
===================================================================
--- trunk/ab5.0/abdev/ab_common/Environment.cpp	(revision 477)
+++ trunk/ab5.0/abdev/ab_common/Environment.cpp	(revision 478)
@@ -1,5 +1,5 @@
 #include "stdafx.h"
 
-std::string ActiveBasic::Common::Environment::rootPath = Jenga::Common::Environment::GetAppDir();
+std::string ActiveBasic::Common::Environment::rootPath;
 
 using namespace ActiveBasic::Common;
@@ -8,4 +8,12 @@
 {
 	Environment::rootPath = Jenga::Common::Path::MakeFullPath( rootPath, Jenga::Common::Environment::GetAppDir() );
+}
+const std::string Environment::GetAbdevRootPath()
+{
+	if( rootPath.empty() )
+	{
+		SetAbdevRootPath( "" );
+	}
+	return rootPath;
 }
 const std::string Environment::GetCompilerExePath( Platform::EnumType platform )
Index: trunk/ab5.0/abdev/ab_common/Environment.h
===================================================================
--- trunk/ab5.0/abdev/ab_common/Environment.h	(revision 477)
+++ trunk/ab5.0/abdev/ab_common/Environment.h	(revision 478)
@@ -19,8 +19,5 @@
 	static void SetAbdevRootPath( const std::string &rootPath );
 
-	static const std::string GetAbdevRootPath()
-	{
-		return rootPath;
-	}
+	static const std::string GetAbdevRootPath();
 
 	static const std::string GetAbdevSystemDirPath()
