I compile Fortran to generate a dll file for VB to call, but there is a problem when compiling, plea

Updated on technology 2024-04-27
13 answers
  1. Anonymous users2024-02-08

    This kind of resource is still searched on or google, if someone has ever published it on the Internet, or there is ****, it will generally be included in the search engine; If you can't find it, you can find a related forum, preferably the kind of forum with a high popularity, register as a member, post for help, and there will be a master to help you.

  2. Anonymous users2024-02-07

    Do you want to show the Q&A on "Know" on your **? Get it for free**!

    If you want to make a complaint or make comments, please go to Know the Complaint Bar for feedback.

  3. Anonymous users2024-02-06

    Without looking closely, the visual inspection was caused by passing strings.

    Try passing in an infile in a vb function, and then passing in an infile with a length, such as 30

  4. Anonymous users2024-02-05

    VB passed in the dll parameter out of bounds, right, use arrays? The size of the incoming array may not be appropriate, and the array definition is large enough.

  5. Anonymous users2024-02-04

    It's not accurate. Make it clear.

    Is it that the memory in the fortran dll is not freed when it exits??? I don't know.

    It's best to be able to paste some of the ** that Song Hu called it.

    Yesu

    Because it is not clear, the name is not left.

  6. Anonymous users2024-02-03

    Variables b and d are only used in Fortran and are not Visual Basic, so VB cannot display the value.

    Unless you add a function that outputs b and d in Fortran, you can get the result by running the function in VB.

    I haven't used fortran, but the principle is pretty much the same).

  7. Anonymous users2024-02-02

    Addendum: You leave the mailbox, I'll send you the source** over...

    I tried, **execution works.

    I took a look and it should be in the absence of the arraytest function, I used the Compaq Visual Fortran 6 version, put it! $attributes dllexport ::arraytest

    Changed to: !ms$ attributes dllexport::arraytest

  8. Anonymous users2024-02-01

    This isn't all! The opening statements have been commented out.

    A lot of socks to simplicity! The opening statement is used to pass compilation information to the compiler, such as your reputation statement, which tells the editor to compile into a dll file, not a comment statement.

    You can press F1 to query under PS.

    Another: It is recommended to throw the PS, at least change the CVF or IVF.

  9. Anonymous users2024-01-31

    After the number, the compiler with some special characters and fewer functions can be used as comments, but the compiler with more functions or advanced points will interpret it as another instruction (similar to define), so it will compile additional functions into it. OpenMP, for example, is a good example of this.

  10. Anonymous users2024-01-30

    It would be better to translate the Fortran source ** directly into C++. Fortran's process of executing the program is really not complimentary.

  11. Anonymous users2024-01-29

    Maybe it's a matrix operation, right? The landlord can go back and check.

  12. Anonymous users2024-01-28

    fortran**.

    attributes dllexport::arraytest should be! $dec attributes dllexport ::arraytest

    All you need is a dll. lib, exp leave it alone.

    If you want to know if the generated dll exports ArrayTest or arraytest@8, use the Dependency Walker to open the DLL.

  13. Anonymous users2024-01-27

    No, I often use dll for this piece of Sakura, and I didn't find this situation.

Related questions
6 answers2024-04-27

It is to convert ** into executable commands of the system.

7 answers2024-04-27

Check if the file exists.

3 answers2024-04-27

19: a tool returned an error code

You can find such a post: >>>More

4 answers2024-04-27

The Pascal compilation system is a system software. Pascal is the first structured programming language with rigorous syntax, clear hierarchy, easy to write and readable programs. Pascal language is widely used in various software, and the program is divided into name (self-proposed after program), setting (defined after var), start (begin), program (body), read (read read ln), and end (end), with strong structural hierarchy, rigorous and tight. >>>More

8 answers2024-04-27

Recently, I've been a little addicted to the IDE of Jetbrains, so I tried Rider (the IDE of the C language) by the way, and found that the support for Unity is very good, which can completely replace the bloated and cross-platform VS and weak chicken-like Mono. >>>More