[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference utrop1::lnx_apo

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

463.0. "size limit in WB MEXT_DLL call (250 characters)" by TAV02::YAKIR (Yakir Lavie, ISRAEL DTN 882-3327) Mon Feb 10 1997 11:54

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.RTitleUserPersonal
Name
DateLines
463.1IJSAPL::MONNINK_HMon Feb 10 1997 15:457
    Yakir,
    
    We are not aware of a size problem, would it be possible to post the 
    external method call here ?
    
    
    Han
463.2TAV02::YAKIRYakir Lavie, ISRAEL DTN 882-3327Tue Feb 11 1997 11:0516
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