Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages
Started by Eric Favre
Wed, 15 Nov 2000 00:00
How to transfer an array via Midas
Author: Eric Favre
Date: Wed, 15 Nov 2000 00:00
Date: Wed, 15 Nov 2000 00:00
21 lines
1057 bytes
1057 bytes
Hello, I'm trying to develop a simple Midas function that returns an array of strings to the client. Using the TLB interface in the C++Builder 5, I've created a simple function prototyped like this: STDMETHODIMP MidasImpl::foo(TVariant *array /*out*/, int *array_size / *out*/); My questions are: - On the server side, how do I build a TVariant that countains an array of N strings (the value of N will be returned to the caller via the array_size parameter)? - Then, how do I recover the string array on the client side? I would prefer an help in C++ rather than in Delphi. Thanks for your help. Eric
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads