在VB中我的声明是:
Private Declare Sub SMC Lib "test.dll" Alias "_SMC@20" (ByRef X As Long, ByRef Y As Long, ByRef q As Long, ByRef p As Long, ByVal tsfile As String)
在fortran中是:
SUBROUTINE SMC (p,e,q,r,tsfile)
!DEC$ATTRIBUTES DLLEXPORT :: SMC
character tsfile
integer p,e,q,r
运行时出现"找不到入口在_SMC@20"的提示.
求助各位高手!!