Re: Change a TextBox Font

From: Daniele Barzotti (daniele.barzotti_at_eurocomtel.com)
Date: 01/24/05


Date: Mon, 24 Jan 2005 07:55:58 GMT

alpine ha scritto:
> I would suspect something is happening to corrupt the object pointer
> you are passing then. I've run a test here using textboxes and
> everything works as expected.
>
> Can you put together a simple test project that encapsulates only the
> part of you project that deals with the textbox pointers and
> "re-hydrating" them? Once you get that working correctly, you could
> integrate the code into your project.

I've resolved in another way.
I think that CopyMemory fails because the TB is an array element and so its address is a
pointer to a descriptor structure not to Object directly!

Now I save the TB index with SaveProp and I retreive it with GetProp and all work fine!

Thanks very mutch for the support!!!

LeleB.



Relevant Pages

  • Re: Change a TextBox Font
    ... I would suspect something is happening to corrupt the object pointer ... you are passing then. ... I've run a test here using textboxes and ...
    (microsoft.public.vb.winapi)
  • Re: [PATCH] [0/9] Use 64bit x86 machine check code for 32bit too
    ... warning: passing argument 2 of ‘strict_strtoull’ makes integer from pointer without a cast ...
    (Linux-Kernel)
  • Re: Critical section shared betwen dll and main program
    ... I am discussing the case of dynamic DLL ... loading and passing PCRITICAL_SECTION between old version of DLL ... and an executable which was build in newer environment. ... without passing a pointer to the kernel32.dll? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [opensuse] Promise SATA300-4TX kernel Module Fails to Build?
    ... passing argument 2 of ‘writeb’ makes pointer from integer without a cast ... missing whitespace after the macro name ...
    (SuSE)
  • TRICK: Unique IDing
    ... Sometimes it's hard to get straight when passing or storing or returning an ... pointer to a copy of the target instance. ... class MyClass ... ID) and compare it against the suspect. ...
    (microsoft.public.dotnet.languages.vc)