dll及脚本 见附件,有两个导出函数:
Function GetHtml(ByVal strUrl As String, Optional ByVal strEncode As String = "") As String
Function GetDateTime() As String
dlldemo.exe是.NET写的控制台exe,用于测试x86\DllEx.dll在.NET使用自调时是否正常,测试是正常的。
Private Declare Function GetHtml Lib "x86\DllEx.dll" Alias "GetHtml" (ByVal strUrl As String, ByVal encode As String) As String