请问:在DELPHI中调用DLL, 是不是DLL一定要注册呢?
   我在注册DLL时发生以下错误:
    "d:\abcx.dll was loaded,but the DllRegisterServer entry point was not found. DllRegisterServer may not be exported,or corrupt version of d:\abcx.dll may be in memory.consider using pView to detect and remove it."
   为什么,怎样解决?
   另外,在Delphi中有什么工具可以查看到DLL中的函数呢?

解决方案 »

  1.   

    不用注册.
    静态调用
    procedure  a(a: Integer); external 'a.dll';
    动态调用
    LoadLibrary
    GetProcAddress
    注册的话
    是一些ActiveX库,包含COM对象的dll
    delphi中有个TDump可以参看dll中的函数
      

  2.   

    这种dll不用注册,可直接调用
      

  3.   

    如果是进程内COM的话,是需要注册的,如果是普通的DLL,不需要注册,直接调用就可以了
      

  4.   

    TDump/dumpbin 这东东在哪能找得到,怎么用?
      

  5.   

    谢谢大家!问题已解决.
    我将给分: xygyb(40),sexalpha(5),zhang21cnboy(20),diruser(15),celeronll(20).