Title: | LinkWorks APO |
Moderator: | HLDE01::SYSTEM |
Created: | Tue Feb 22 1994 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 476 |
Total number of notes: | 1817 |
Hi all, a customer is trying to call via MEXT_DLL a shared library on an OSFORA server (v308). Since the DLL has over a dozen parameters he runs into the Workbench compilation error which says " size limit 250, changed to xxxyyyzzz..." I have tried using concatented strings instead of the one long string, such as "extern (longStringDLLCommand) for WSTYPE_OTHER=MEXT_DLL("<String>");" this gets around the 250 size limit, but does not work syntax-wise. Is there any workaround for such a situation ? Thanks, Yakir
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
463.1 | IJSAPL::MONNINK_H | Mon Feb 10 1997 15:45 | 7 | ||
Yakir, We are not aware of a size problem, would it be possible to post the external method call here ? Han | |||||
463.2 | TAV02::YAKIR | Yakir Lavie, ISRAEL DTN 882-3327 | Tue Feb 11 1997 11:05 | 16 | |
Han, this error occurs on any DLL call that is longer than 250 chars. For example, try the following call: extern () for WSTYPE_OTHER = MEXT_DLL("\"lnxstr32.dll\".SubString(OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer,OUT Integer)"); I have even tried entering the above method using CPC on a Unix server, with the same compilation error. Yakir |