本帖最后由 yin_ren110101 于 2011-03-07 11:39:33 编辑

解决方案 »

  1.   

    那我的dll在delphi 中调用好用 在vb 里面提示 该内存不能为 written
      

  2.   

    Dim DllFindStr As Object  '申明对象'实例化对象为创建的DLL类库对象'ClsFindstring为DLL库名,clsFindStr为DLL类名Set DllFindStr = CreateObject("ClsFindstring.clsFindStr")       DllFindStr.sFindStr Text2, Me.Text0  '调用DLL类库方法,运行程序Set DllFindStr = Nothing              '释放对象请问上面的代码中的 ClsFindstring.clsFindStr怎么写 
    假设dll 文件 TiffChangeDLL.dll里面的函数  
    Function ImgModifyPiexls(strImage:string;iPiexls:integer):boolean;stdcall;