06ykm 发表于 2011-6-28 10:00:07

LR脚本无法运行

vuser_init()
{
   return 0;
}

Action()
{   
      

      lr_start_transaction("open_player(1)");

   lreal_open_player(1);   //新建realplayer实例

      lr_end_transaction("open_player(1)", LR_AUTO);
   
   lreal_open_url(1,"rtsp://192.168.1.50/movie/pianist1.rmvb";);//打开url
   lr_think_time(8);
   lreal_play(1,110);       //播放realplayer一个片段

      lr_start_transaction("stop_real(1)");
   lreal_stop(1);
      lr_end_transaction("stop_real(1)", LR_AUTO);
   
   lreal_close_player(1);
    return 0;
}


vuser_end()
{
    return 0;
}

刚刚学LR,编写的写个脚本为啥无法运行,请各位指教一下。无限感激
以下是出错信息
Error:Failed to load the pnen3260.dll library.      
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.      
Warning: Extension lreal32.dll reports error -2147467259 on call to function ExtPerProcessInitialize      
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.      

girlkangting 发表于 2013-4-25 16:54:58

我也遇见了,不知道楼主解决没有,怎么解决的啊!

jadeyu712 发表于 2016-4-22 14:50:37

注册DLL
页: [1]
查看完整版本: LR脚本无法运行