Re: String Array from Pointer?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



woo hoo! success!

--

Any help is appreciated.
Thanks in advance.

WALDO
"Mattias Sjögren" <mattias.dont.want.spam@xxxxxxxx> wrote in message
news:uiXelgNqFHA.272@xxxxxxxxxxxxxxxxxxxxxxx
> Rob,
>
> >I was able to successfully send a string array to an API function. My
> >question is how do I get it out again?
> >I have an IntPtr received from another function which should be a pointer
to
> >the same array that was passed in to the first.
>
> I read your mail but prefer to answer here.
>
> You can't send pointers from one application to another the way you're
> doing it now. You should look at using the WM_COPYDATA message
> instead.
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.


.



Relevant Pages

  • Re: String Array from Pointer?
    ... Charles ... >>>I was able to successfully send a string array to an API function. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: String Array from Pointer?
    ... >I was able to successfully send a string array to an API function. ... >I have an IntPtr received from another function which should be a pointer to ... Prev by Date: ...
    (microsoft.public.dotnet.framework.interop)
  • Re: String Array from Pointer?
    ... >>I was able to successfully send a string array to an API function. ... >>I have an IntPtr received from another function which should be a pointer ...
    (microsoft.public.dotnet.framework.interop)
  • [net-next PATCH 4/5] igb: Add support for enabling VFs to PF driver.
    ... pointer to the hardware struct ... under the terms and conditions of the GNU General Public License, ... * @msg: The message buffer ... * returns SUCCESS if it successfully copied message into the buffer ...
    (Linux-Kernel)
  • Re: So what Standard are we working off?
    ... mean "success", but no doubt you have an example in mind. ... Functions that yield a count - fread, fwrite, strlen, strspn, strcspn - ... valid pointer if they can, ... value (e.g. domain errors, endptr, whatever). ...
    (comp.lang.c)