13 #include <dynamic-graph/entity.h> 
   23 #include "../test-paths.h" 
   69                                   "/feature-visual-point" TESTS_DYNLIBSUFFIX);
 
   72       dlopen(PLUGIN_LIB_INSTALL_PATH 
"/feature-visual-point" TESTS_DYNLIBSUFFIX,
 
   77     cerr << 
" Error dl" << endl;
 
   79     cerr << dlerror() << endl;
 
   83     DWORD dwLastError = GetLastError();
 
   84     FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
 
   85                       FORMAT_MESSAGE_IGNORE_INSERTS,
 
   86                   NULL, dwLastError, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
 
   87                   (LPTSTR)&pszMessage, 0, NULL);
 
   89     cerr << pszMessage << endl;
 
   90     LocalFree(pszMessage);
 
   98       LoadLibrary(PLUGIN_LIB_INSTALL_PATH 
"/gain-adaptive" TESTS_DYNLIBSUFFIX);
 
  100   dlib = dlopen(PLUGIN_LIB_INSTALL_PATH 
"/gain-adaptive" TESTS_DYNLIBSUFFIX,
 
  105     cerr << 
" Error dl" << endl;
 
  107     cerr << dlerror() << endl;
 
  111     DWORD dwLastError = GetLastError();
 
  112     FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
 
  113                       FORMAT_MESSAGE_IGNORE_INSERTS,
 
  114                   NULL, dwLastError, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
 
  115                   (LPTSTR)&pszMessage, 0, NULL);
 
  117     cerr << pszMessage << endl;
 
  118     LocalFree(pszMessage);
 
  124       FactoryStorage::getInstance()->newEntity(
"GainAdaptive", 
"Gain");
 
  126       sotFactory.newFeature(
"FeatureVisualPoint", 
"DynamicTest.");
 
  139     cout << 
"Exception caught! " << e << endl;