Fortran Coder

标题: 问题:vb.net调用dll找不到模块 [打印本页]

作者: lcy_ouc    时间: 2017-2-12 13:09
标题: 问题:vb.net调用dll找不到模块

vb.net源码如下:

[Fortran] 纯文本查看 复制代码
Public Class ricker_vb

    Private Declare Sub ricker Lib "D:\chengxu\VB\ricker_vb\ricker_vb\ricker_f.dll" _
                               (ByRef fz As Single, _
                                ByRef dt As Single, _
                                ByRef tmax As Long)

    Private Sub Btn_run_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_run.Click

        Dim fz As Single
        Dim dt As Single
        Dim tmax As Long

        fz = Text_fz.Text
        dt = Text_dt.Text
        tmax = Text_tmax.Text
        Call ricker(fz, dt, tmax)

    End Sub
End Class





欢迎光临 Fortran Coder (http://bbs.fcode.cn/) Powered by Discuz! X3.2