Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing integer arrays to a COM server written in Visual
Message
From
18/12/2001 09:05:39
 
 
To
18/12/2001 06:20:45
Lloyd Grant
Meridian Legal Systems
Buxton, United Kingdom
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00595515
Message ID:
00595554
Views:
23
>Hi,
>
>I am coding a wrapper for an application called LaserForms and have come across a problem. The PrintForm() method of LaserForms requires an array of type integer to be passed to it. Each element of the array contains an integer that contains a page number. LaserForms then processes this integer array and prints each page.
>

I agree with Daniel, but I've had intermittent problems passing arrays to methods of VB COM interfaces. If Daniel's idea doesn't work, look at my FAQ entry on SafeArray constructors using the API, FAQ #7979, and try constructing a SafeArray in static memory, passing it's address to the VB COM server.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform