Microsoft KB Archive/69951

Memory Allocated for DLL Parameter Passing in WinWord

PSS ID Number: Q69951 Article last modified on 02-17-1993

1.00 1.10 1.10a WINDOWS

Summary: WordBASIC supports calls to Dynamic Link Libraries (DLL) under Windows. The Windows Dynamic Link Libraries can be accessed in Word for Windows through the WordBASIC macros. Word only allocates 16 words to hold the parameters passed to an external function. This limit allows a maximum of eight strings (two words for each long pointer) to be passed safely. Microsoft has confirmed this to be a problem in Word for Windows versions 1.00 and 1.10. We are researching this problem and will post new information here as it becomes available.

Reference(s): “Microsoft Word for Windows and OS/2 Technical Reference,” pages 437, 438.

Additional reference words: w4wmacro