Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default is there a maximum size of parameter for a (Fortran)DLL call from VBA

Hello,

does anyone know if there is a maximum size of the parameters when
calling a (Fortran-)DLL:

(VBA)
Declare Sub TEST2L Lib "Pfad... \test2l.dll" (ByRef x As rcTEST, ByRef
x As
rcStoffnamen)

Type rcTEST
' Rekordstruktur
lfd_nr As Integer ' laufende Nummer des Datemsatzes
datenverzeichnis As String * 255 ' Zielverzeichnis fur wmf-Datei .
.. .

dat_x(1 To 200, 1 To 10) As Single 'x-Werte
dat_y(1 To 200, 1 To 10) As Single 'y-Werte
' Ausgabedaten
wmfname As String * 255
End Type

Type rcStoffnamen
' In
Namenfeld(1 To 70) As String * 16
..
..
..
End Type

Dim l As rcTEST
Dim m As rcStoffnamen
..
..
..
Call DAIN2L(l,m,...)

(FORTRAN)
SUBROUTINE TEST2l(s1,s2,...)
..
..
!DEC$ ATTRIBUTES DLLEXPORT::TEST2L

include 'rcTest.fi' ! Die Record Struktur
TYPE(rcTEST) :: s1
TYPE(rcStoffnamen) :: s2


i have heard of a 32k limit when calling a dll from vba, is this
right? In which way should i rearrange the code to give more than 32k
to the DLL?

thanks
Peter
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Maximum size ? Gustav Excel Discussion (Misc queries) 1 March 6th 06 03:05 PM
Maximum File Size Lynn Excel Discussion (Misc queries) 1 December 17th 04 03:38 PM
Maximum file size obt Excel Programming 1 November 10th 03 06:30 AM
Link to fortran Claudia[_3_] Excel Programming 0 September 18th 03 08:58 AM
Maximum file size Frank Isaacs Excel Programming 0 September 8th 03 11:11 PM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"