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

Conference abbott::visual_basic

Title:Microsoft Visual Basic
Moderator:TAMARA::DFEDOR::fedor
Created:Thu May 02 1991
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2565
Total number of notes:10453

2258.0. "Problem passing array of objects to out-of-process OLE server" by UNTADB::TOWERS () Thu Mar 28 1996 12:24

T.RTitleUserPersonal
Name
DateLines
2258.1Just a guess...TLE::HUDSONPhil HudsonTue Apr 30 1996 14:4516
2258.2EVTSG8::TOWERSThu Jun 05 1997 04:5716
    Here's an even later response to .1 ;^)
    
    The process *IS* supposed to work, otherwise the whole out-of-process
    server concept is flawed. The method by which this is supposed to work
    is called marshalling. Furthermore it does *partially* work. Note that
    in .0 I said:
    
    >I should mention that the simple object OCT1 gets passed back and forth
    >successfully, it is just the array of objects of type OCT2 which gets
    >munged.
    
    So the problem is getting back an array of, what is in effect, a UDT,
    and *NOT* of getting back any data at all.
    
    Cheers,
    Brian
2258.3Ask on MS DCOM mailing list ?XSTACY::imladris.ilo.dec.com::grainneGrainne Ni ChoilighThu Jun 05 1997 07:1415
There's been considerable discussion of this topic - not all of it 
crystal-clear to me - on the MS-supported DCOM mailing list. The
archives of this (and other COM/DCOM-related lists) can be
searched at 

http://microsoft.ease.lsoft.com/archives/index.html

I think you might want to start by verifying that the functionality
you require (passing arrays of UDTs to out-of-process
local or remote OLE automation servers) is supported from VB. From a
quick scan of the list, there appears to be significant differences
in the DCOM functionality exposed to VB clients and servers .vs.
C++ ones.