From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,529481ac2d77d9f6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y80g2000hsf.googlegroups.com!not-for-mail From: vienapl@hotmail.com Newsgroups: comp.lang.ada Subject: Re: Translating a VB dll header to Ada Date: 14 Apr 2007 05:16:33 -0700 Organization: http://groups.google.com Message-ID: <1176552993.629014.137900@y80g2000hsf.googlegroups.com> References: <1176320910.543255.74730@b75g2000hsg.googlegroups.com> <1176387466.525266.257670@n59g2000hsh.googlegroups.com> <1iye22k0o4obx$.naanhqgipkpf.dlg@40tude.net> <1176477928.918685.283010@b75g2000hsg.googlegroups.com> <1176512718.219589.63270@w1g2000hsg.googlegroups.com> <13poyps5u5uo8$.rzkmixdov6tr.dlg@40tude.net> NNTP-Posting-Host: 217.126.90.204 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1176552993 1818 127.0.0.1 (14 Apr 2007 12:16:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 14 Apr 2007 12:16:33 +0000 (UTC) In-Reply-To: <13poyps5u5uo8$.rzkmixdov6tr.dlg@40tude.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.10 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y80g2000hsf.googlegroups.com; posting-host=217.126.90.204; posting-account=s-5BYg0AAACg_1u2WqCKSiLkbvMBVIC_ Xref: g2news1.google.com comp.lang.ada:15010 Date: 2007-04-14T05:16:33-07:00 List-Id: 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" 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