谢谢,还有在用odac写了程序后。怎样在其他机器上安装使用?

解决方案 »

  1.   

    odac是什么,楼主可以告诉我吗?
      

  2.   

    Oracle Data Access Components Source Code
    Copyright 1997-2003, Core Lab. All Rights ReservedThere are two ways to compile and install ODAC for Windows manually.I. Using IDEWindows
    -------Run your IDE and walk through folowing steps:
      1) Compile DAC run-time package (dacXX.dpk)
      2) For Delphi 6,7 or C++ Builder 6 compile DAC GUI related package dacvclXX.dpk
      3) Compile DAC design-time package (dcldacXX.dpk)
      4) Compile ODAC run-time package (odacXX.dpk)
      5) For Delphi 6,7 or C++ Builder 6 compile ODAC GUI related package odacvclXX.dpk
         If you are going to create CLX applications compile OdacClx.pas unit separately.
      6) Compile and install ODAC design-time package (dclodacXX.dpk)You can find these packages in 
      Source\Delphi5\*.dpk - for Delphi 5 
      Source\Delphi6\*.dpk - for Delphi 6 
      Source\Delphi7\*.dpk - for Delphi 7 
      Source\CBuilder5\*.bpk - for C++ Builder 5
      Source\CBuilder6\*.bpk - for C++ Builder 6Linux
    -----To run your Kylix IDE and walk through folowing steps:
      1) Compile DAC run-time package (dacX.dpk)
      2) Compile DAC GUI related package dacclxX.dpk
      3) Compile DAC design-time package (dcldacX.dpk)
      4) Compile ODAC run-time package (odacX.dpk)
      5) Compile ODAC GUI related package odacclxX.dpk
      6) Compile and install ODAC design-time package (dclodacX.dpk)You can find these packages in 
      Source\Kylix2\*.dpk
      Source\Kylix3\Delphi\*.dpkII. Using make-filesWindows
    -------  1) Go to one of the following folders (let's denote this folder %MakePath%):
         Source\Delphi5 - for Delphi 5
         Source\Delphi6 - for Delphi 6
         Source\Delphi7 - for Delphi 7
         Source\CBuilder5 - for C++ Builder 5
         Source\CBuilder6 - for C++ Builder 6  2) Find in the 'Make.bat' line containing      set IdeDir="D:\Program Files\Borland\Delphi5     and make sure that correct path to IDE is set (always include forward
         quote and do not include ending quote)  3) Run 'Make.bat'. Binaries will be copied to %MakePath%\Odac subfolder
      4) Run IDE and add dclodacXX.bpl via Component->InstallPackages... menuIf you need ODAC 2.00 source code for Delphi 3 or C++ Builder 3
    please contact us.在其它机器上可以之间使用
      

  3.   

    直接点击DPK文件,然后Install,在组件面板就可以看到直接访问Oracle的组件.
    记得把包路径加入Library