Prev: secrets of money earning
Next: is that 5333 safe ?
From: Geoff Schaller on 30 May 2010 20:14 Hi Folks. In my COM object I have a parameter which supplies a C# string[] to VO - it is a simple array of strings. VO recieves this as a single dimensional array of strings. No Problem. If my COM dll now requires to be sent a single dimensional array of strings to go back to a string[] the COM dll spits chips and complains it cannot find the string. The generate VO code seems to sugges an ARRAY OF STRINGS as a parameter but it doesn't seem to work. Firstly, is this possible? Secondly, is there another way to send an arrya of strings through OLE? Thanks, Geoff
From: Carlos Rocha on 30 May 2010 22:37 Hi Geoff > Firstly, is this possible? I truly hope so as I may need it some day :) > Secondly, is there another way to send an arrya of strings through OLE? Maybe sending a text string with NewLines. If it's not a monster array it might work... and you'll save a lot of coffee :P -- Carlos Rocha
From: Geoff Schaller on 31 May 2010 00:57 Hi Carlos. Well at the moment it doesn't work - and no, inserting newlines wouldn't be anything more than a string with lots of new line characters <g>. Geoff (PS - my son got creative and for the moment, made our COM dll's accept a comma delimited string. However this is merely a temporary fudge. I was sure VO used to be able to deal with this....) "Carlos Rocha" <carlos.deletethis.rocha(a)doossier.com> wrote in message news:Gq6dnTuj7LL0vJ7RnZ2dnUVZ8qydnZ2d(a)novis.pt: > Hi Geoff > > > > Firstly, is this possible? > > I truly hope so as I may need it some day :) > > > > Secondly, is there another way to send an arrya of strings through OLE? > > Maybe sending a text string with NewLines. If it's not a monster array > it might work... and you'll save a lot of coffee :P > > -- > Carlos Rocha
From: Stephen Quinn on 31 May 2010 01:32 Geoff > (PS - my son got creative and for the moment, made our COM dll's accept a > comma delimited string. However this is merely a temporary fudge. I was > sure VO used to be able to deal with this....) IIRC someone did it by using a DIMMED array, but that may have been for passing arrays back into VB. A search of the archives may help - that's if google has fixed their ng searching. CYA Steve
From: Geoff Schaller on 31 May 2010 01:44
Good catch - worth a try. Thanks. "Stephen Quinn" <stevejqNO(a)bigpondSPAM.net.au> wrote in message news:TRHMn.147$Ls1.6(a)news-server.bigpond.net.au: > Geoff > > > > (PS - my son got creative and for the moment, made our COM dll's accept a > > comma delimited string. However this is merely a temporary fudge. I was > > sure VO used to be able to deal with this....) > > > IIRC someone did it by using a DIMMED array, but that may have been for > passing arrays back into VB. > A search of the archives may help - that's if google has fixed their ng > searching. > > CYA > Steve |