| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1876 人关注过本帖
标题:[求助] pb调用外部函数?
取消只看楼主 加入收藏
neimeng
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-3-18
收藏
 问题点数:0 回复次数:0 
[求助] pb调用外部函数?

vb环境下的代码:
Public Declare Function base64_decode Lib "base64.dll" (ByVal strSrc As String, ByVal iLen As Integer, ByRef strDec As Byte) As Integer
注:strSrc为要编码的字符串
ilen为字符串长度
strDec是编码后的字符(VB中使用的是byte数组)
我在pb中这样定义的:
Function integer base64_decode(String strSrc,Integer iLen,ref char strDec) Library "base64.dll"
为什么程序在调用base64_decode函数时无反映?

请问:在pb中应如何改写? pb9.0
请高手帮忙解决一下!!!
搜索更多相关主题的帖子: 函数 Integer strSrc strDec decode 
2007-03-18 19:34
快速回复:[求助] pb调用外部函数?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013497 second(s), 8 queries.
Copyright©2004-2025, BC-CN.NET, All Rights Reserved