1、我新建一个动态链接库,并包含一个数据模块,该数据模块连接应用程序服务器,并且在该数据模块定义一个TObject,并定义了相应的方法,请向在该数据模块中需要export吗?不export 动态链接库能否调用到该Object中的属性及方法?
2、在三层结构中客户端的ClientDataSet对应应用程序服务器中的Tquery,请问动态传入SQL语句后,有必要对该Query进行fetchall操作吗?若需要,要如何使用?
多谢指教!!!

解决方案 »

  1.   

    我不懂export是什么意思:)
    第二个问题也不知道
    我也学习:)
      

  2.   

    when an application accesses a database used by many simultaneous clients and there is a high degree of contention for updating the same records, fetching all records at once may not be advantageous because some fetched records may be changed by other applications
      

  3.   

    1、一定要用export输出函数,否则dll中的函数无法被访问
    2、用TClientDataSet不可以!改用其它控件