在窗体打开之前(onshow中)调用了DLL(动态链接库中的一个Function函数)用完之后呢!释放的时候有问题啊!!!!
   if Hinst>0 then
      try
         @MyFunct:=GetProcAddress(HInst,'crrays');
         if @MyFunct<>Nil then
            begin
                 MyFunct(dbs);
            end
      Finally
         FreeLibrary(Hinst);
如果用FreeLibrary(Hinst)释放就提示报错然后退出,如果用Free;全部都退出不报错也不进入窗体了
好像提示了一个无效窗体?请高手指教!!!!!!!!!!!!!!!!!!!!!!!!!