comp.lang.ada
 help / color / mirror / Atom feed
From: vienapl@hotmail.com
Subject: Re: Translating a VB dll header to Ada
Date: 14 Apr 2007 05:16:33 -0700
Date: 2007-04-14T05:16:33-07:00	[thread overview]
Message-ID: <1176552993.629014.137900@y80g2000hsf.googlegroups.com> (raw)
In-Reply-To: <13poyps5u5uo8$.rzkmixdov6tr.dlg@40tude.net>

Yes, it does work with only those two functions.

I don't know which parameter could be wrong on the CTHSetText
function. If I change a Char_Array for a WChar_Array I get a raised
PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION instead, but the debugger
prompts the same message.

On Apr 14, 9:17 am, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> On 13 Apr 2007 18:05:18 -0700, vien...@hotmail.com wrote:
>
> > The program crashes even if I comment that out, when debugging what I
> > get is:
>
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x10002f19 in WindowerHelper!?SetText@CTextHelper@@QAEXPAD0@Z ()
>
> > even if the program got past that function without crashing. I don't
> > understand why.
>
> This is probably a symptom of parameters mismatch. If you do just
> CreateTextHelper and DeleteTextHelper, does it work?
>
> --
> Regards,
> Dmitry A. Kazakovhttp://www.dmitry-kazakov.de





  reply	other threads:[~2007-04-14 12:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-11 19:48 Translating a VB dll header to Ada vienapl
2007-04-12  8:06 ` Dmitry A. Kazakov
2007-04-12 14:17   ` vienapl
2007-04-12 17:16     ` Dmitry A. Kazakov
2007-04-13 15:25       ` vienapl
2007-04-13 16:55         ` Dmitry A. Kazakov
2007-04-14  1:05           ` vienapl
2007-04-14  7:17             ` Dmitry A. Kazakov
2007-04-14 12:16               ` vienapl [this message]
2007-04-14 14:01                 ` Philippe Bertin
2007-04-14 15:30                 ` Dmitry A. Kazakov
2007-04-14 21:37                   ` vienapl
2007-04-15 14:03                     ` vienapl
2007-04-15 15:32                       ` Dmitry A. Kazakov
2007-04-18 18:47                       ` Tarjei T. Jensen
2007-04-12 11:34 ` gautier_niouzes
2007-04-12 14:24   ` vienapl
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox