Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Call to cvf dll from vba slow

billaustralia
Beginner
624 Views
I have an Excel task that makes about 100 calls to a CVF dll. When compiled with CVF 6.6c it takes about 0.08 secs per call. With Lahey LF90 (now quite old) it take 0.03 secs! Yet with a task that has only 1 call to the dll. the Lahey takes about 2.5 times as long as the CVF.
The CVF is compiled with the following options
/compile_only /define:CP=9 /iface:nomixed_str_len_arg /dll /nologo
/warn:nofileopt /module:"Release/" /object:"Release/"
CP=9 sets my conditional compile.
What am I doing wrong? Any ideas?
0 Kudos
1 Reply
billaustralia
Beginner
624 Views
Adding to the above, the compiler directives for the call are
!DEC$ ATTRIBUTES DLLEXPORT :: SGRUN ! This exports the name
!DEC$ ATTRIBUTES ALIAS : "SGRUN" :: SGRUN !This sets it
0 Kudos
Reply