- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
!DEC$ ATTRIBUTES ALIAS : "SGRUN" :: SGRUN !This sets it

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