Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare DLL Problem
Message
From
25/07/2002 08:33:19
Leo Kool
Agis Automatisering BV
Harmelen, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Declare DLL Problem
Miscellaneous
Thread ID:
00682444
Message ID:
00682444
Views:
67
I have a problem with a third party DLL. We use a third party DLL to do some calculations on data in our database. It al work's fine, but when we fill up de DLL with to much records (we have to) and then issue a calculate (the main run) then VFP generates a "DECLARE DLL call cause an exception" error.
After this I tested different situations and came to the conclusion that after an amount of records the DLL came with an exception. I tested this on thre different machines:
1) W98, 750 Mhz, 256 MB
2) XP, 650 Mhz, 128 MB
3) XP, 1,33 Ghz, 256 MB
On all the machines I came to the same amount of records that causes an exception.
The builder of the third party DLL (a Fortran DLL) asks us to enlarge the stack due (to his opinion) to a memory problem. He also tested some situations with even more records and its works fine with him.
In Fox I can't enlarge the stack (Fox automatic allocates it isn't?).
Can anyone tell me how to solve this problem? Is it a memory problem and how can I allocate more memory (if it is possible) and let de DLL use it.

Thanks in Advance.

Leo
Next
Reply
Map
View

Click here to load this message in the networking platform