- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I need to call a external .dll (MQAX200.DLL) which is not wrote
by CVF. Learnt from the CVF documents I use Fortran Module Wizard and
select the "Type Library containing Automation information" then it
generated a .f90 (MQAX200.f90) file for me.
In the generated .f90 file I found many subroutines and functions, my
problem is how can I call this routines from a CVF program?
1. What project type should I use?
2. How do I include the MQAX200.f90 (generated by Fortran Module
Wizard) and the MQAX200.DLL (original third party .dll) into my
project.
3. In my fortran program how do I initialize the library and call the
routines? For example do I initialize by :
COMINITIALIZE("MQAX200")
! and call the routine by something like :
Call IMQQueue200_Put('my message here')
! "IMQQueue200_Put" is the subroutine name shown in MQAX200.f90.
Any directions are appreciate!
Thanks in advance.
SM Kwan
by CVF. Learnt from the CVF documents I use Fortran Module Wizard and
select the "Type Library containing Automation information" then it
generated a .f90 (MQAX200.f90) file for me.
In the generated .f90 file I found many subroutines and functions, my
problem is how can I call this routines from a CVF program?
1. What project type should I use?
2. How do I include the MQAX200.f90 (generated by Fortran Module
Wizard) and the MQAX200.DLL (original third party .dll) into my
project.
3. In my fortran program how do I initialize the library and call the
routines? For example do I initialize by :
COMINITIALIZE("MQAX200")
! and call the routine by something like :
Call IMQQueue200_Put('my message here')
! "IMQQueue200_Put" is the subroutine name shown in MQAX200.f90.
Any directions are appreciate!
Thanks in advance.
SM Kwan
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page