delphi中说找不到程序入口。到底怎么回事呀?

解决方案 »

  1.   

    好像用type
      PDBGrid  = ^TDBGrid;
      PDataset = ^Tdataset;
    这样的声明没必要吧。直接传递TDBGrid和Tdataset类型的变量就可以了。
      

  2.   

    先谢谢了,我放弃了第一种方法,用第二种:MyHandle:=LoadLibrary ('dlltest') ;
     If MyHandle <= 0 then
      Raise Exception.Create( '动态链接库调用失败,错误代码是:'+Inttostr(Getlasterror))
     else
      @MyProc:=GetProcAddress(MyHandle,"MYFUNCTION');
     if  not Assigned(MyProc) then
    其中MYFUNCTION 应怎么写?
    是些原来在CB重的定义,还是什么?