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: g2news1.google.com!postnews.google.com!y38g2000prg.googlegroups.com!not-for-mail From: tworoses1@gmail.com Newsgroups: comp.lang.ada Subject: Re: QtSql problem Date: Fri, 6 Feb 2009 12:44:00 -0800 (PST) Organization: http://groups.google.com Message-ID: <11f7dd27-c0ec-4e1a-b486-6e2d939744a0@y38g2000prg.googlegroups.com> References: <498bf574_4@news.bluewin.ch> <498c95db$1_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 1233953040 2911 127.0.0.1 (6 Feb 2009 20:44:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 6 Feb 2009 20:44:00 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y38g2000prg.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: g2news1.google.com comp.lang.ada:3581 Date: 2009-02-06T12:44:00-08:00 List-Id: Whoops, sorry about that. I made movie_tb.ads: with TB_Wrap, Movie; procedure Movie_TB is new TB_Wrap(Movie); but when I run it I still get Execution terminated by unhandled exception Exception name: PROGRAM_ERROR Message: EXCEPTION_ACCESS_VIOLATION Call stack traceback locations: 0x2ed1dc5 0x77cc3097 0x77cc3069 0x77cc2efd 0x61f0129e [2009-02-07 07:39:01] process exited with status1 (elapsed time: 00.42s) I think it's working though, because I've been deleting the sqlite db file before running the program and if I don't delete it and run movie_tb.ads I get: --------------------[ Unhandled exception ]----------------- > Name of exception . . . . .: PROGRAM_ERROR > Message for exception . . .: qt4-sql_queries.adb:424 explicit raise > Trace-back of call stack: 03108ECB in ?? at ??:0 0040261C in ?? at crtstuff.c:0 00402C1D in ada_movie_tb at tb_wrap.adb:8 00401CD8 in main at b~movie_tb.adb:624 00401235 in ?? at crtstuff.c:0 00401286 in ?? at crtstuff.c:0 7656E3F1 in ?? at ??:0 77D1CFEB in ?? at ??:0 77D1D1FD in ?? at ??:0 [2009-02-07 07:27:20] process terminated successfully (elapsed time: 00.28s)