N
News
Hi,
I have an Excel spreadsheet that contains a VBA macro. However, this runs
slowly! I have written the code in C++ which works. Currently the
interface between the VBA / Excel system and the C++ program is via a file.
i.e. data is exported in Excel & read into the C++ program, processed &
written out to a file by C++ & them imported into Excel.
I know I can use a DLL written in C++ & callable from VBA (i've already done
that). I've mastered the problems of calling a DLL with an array parameter
sucessfully too. My question is, is there a maximum amount of data that I
can pass through a DLL call? Either a physical maximum limit, or an
advisable maximum.
Any advice / explanation would be greatly appreciated.
Thanks
Simon
I have an Excel spreadsheet that contains a VBA macro. However, this runs
slowly! I have written the code in C++ which works. Currently the
interface between the VBA / Excel system and the C++ program is via a file.
i.e. data is exported in Excel & read into the C++ program, processed &
written out to a file by C++ & them imported into Excel.
I know I can use a DLL written in C++ & callable from VBA (i've already done
that). I've mastered the problems of calling a DLL with an array parameter
sucessfully too. My question is, is there a maximum amount of data that I
can pass through a DLL call? Either a physical maximum limit, or an
advisable maximum.
Any advice / explanation would be greatly appreciated.
Thanks
Simon