Re: Wos goin on ere den?

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



"J French" <erewhon@xxxxxxxxxx> wrote in message
news:45f53854.4169309@xxxxxxxxxxxxxxxxxxxxxxx
On Mon, 12 Mar 2007 10:51:11 -0000, "Mike Williams"

Careful Mike, a String passed ByVal to an API /can/ be
modified - or did I misunderstand what you said?

Nope. You didn't misunderstand me Jerry. I made a mistake :-)

But using the DT_MODIFYSTRING flag does cause the DrawText API to behave
properly in respect of the issues mentioned, so you need to do it anyway,
and contrary to the help files it does not seem to actually modify the
string to the same as the displayed one with the ellipses (although it would
probably be best to play it safe on that one and pass it a string that
doesn't mind being modified). By the way, I do of course know about the
standard byVal behaviour for ordinary VB Subs and Functions, but I never
quite got the hang of the byVal behaviour for API functions. Something to do
with the string being converted to and from unicode on the way in and the
way out, I believe. Any chance you can run through it for me?
Mike



.



Relevant Pages

  • Re: mime type
    ... I need to know if the variable $file is really a pdf. ... to find out the content type of a binary string rather than a file. ... misunderstand you? ... lazy description but it's easy to guess that you've tried this: ...
    (comp.lang.php)
  • RE: Listview tooltips not working properly
    ... string into 2 lines while the string hasn't a space character within it. ... Please correct me if there is any misunderstand. ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Mapping rationals to binary strings while preserving order
    ... binary expansion of u/v. ... Maybe I misunderstand something (I'll try to go through your proof later ... and for 1/3, if we use 5 bits or less, we'll get a string that is ...
    (comp.theory)
  • Re: Downloading a file with JS
    ... Put the content of the text file into a string variable in an external ... > sorry, misunderstand the question ... > does Sandor said she have a file placed in the server, ...
    (microsoft.public.scripting.jscript)