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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,58ca990a20ca948e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!p2g2000prn.googlegroups.com!not-for-mail From: tworoses1@gmail.com Newsgroups: comp.lang.ada Subject: Re: QtSql problem Date: Fri, 6 Feb 2009 10:21:34 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <498bf574_4@news.bluewin.ch> NNTP-Posting-Host: 210.9.136.124 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1233944494 30546 127.0.0.1 (6 Feb 2009 18:21:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 6 Feb 2009 18:21:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p2g2000prn.googlegroups.com; posting-host=210.9.136.124; posting-account=05OINgoAAADfiq4DulD09_zpTpfxY_RZ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:4550 Date: 2009-02-06T10:21:34-08:00 List-Id: I should have mentioned in my first post that if I comment out the line 'Filename := Query.Value(0).To_String;' I don't get the error. Here's what I get after binding with -E Execution terminated by unhandled exception Exception name: PROGRAM_ERROR Message: EXCEPTION_ACCESS_VIOLATION Call stack traceback locations: 0x2b31dc5 0x77cc3097 0x77cc3069 0x77cc2efd 0x61f0129e [2009-02-07 05:06:38] process exited with status1 (elapsed time: 00.41s) When I make tb_wrap I get: Builder results (1 item) b~tb_wrap.adb (1 item) 182:1 undefined reference to `_ada_tb_wrap' Line 182 of b~tb_wrap.adb is ' Ada_Main_Program;' Thanks for the help