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=2.1 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,9dfa884c1075e195 X-Google-Attributes: gid103376,public From: "Pascal Obry" Subject: Re: Aonix + Win32Ada/ODBC example = stuck. HELP! Date: 1998/10/23 Message-ID: <70q56h$edn$1@cf01.edf.fr>#1/1 X-Deja-AN: 404309226 References: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: EDF Newsgroups: comp.lang.ada Date: 1998-10-23T00:00:00+00:00 List-Id: I'am the author of this. It was written for GNAT but should works fine with OA. The problem here is that you must pass to the linker odbc32.lib. Look at the OA documentation on how to do that. After that you'll need to configure your ODBC driver... Anyway you'll find the latest version of that binding+demos on my homepage. Pascal. --|------------------------------------------------------------ --| Pascal Obry Team-Ada Member | --| | --| EDF-DER-IPN-SID- T T I | --| Intranet: http://cln46gb | --| Bureau N-023 e-mail: pascal.obry@edfgdf.fr | --| 1 Av G�n�ral de Gaulle voice : +33-1-47.65.50.91 | --| 92141 Clamart CEDEX fax : +33-1-47.65.50.07 | --| FRANCE | --|------------------------------------------------------------ --| --| http://ourworld.compuserve.com/homepages/pascal_obry --| --| "The best way to travel is by means of imagination" John *NOSPAM* Bunk a �crit dans le message ... >Hello, >I'm using Aonix ObjectAda for Windows v7.1.1 Pro, and in trying to build / >run the ODBC example given in /samples/Win32Ada/ODBC, but I run into the >following upon build time... > >--------------------Target: Win32 (Intel) Debug-------------------- >ObjectAda Professional Edition version 7.1.424: adabuild > Copyright (c) 1997, Aonix. All Rights Reserved. >obj\elt\demo.obj >db.obj : error LNK2001: unresolved external symbol _SQLError@32 >db.obj : error LNK2001: unresolved external symbol _SQLAllocEnv@4 >db.obj : error LNK2001: unresolved external symbol _SQLAllocConnect@8 >db.obj : error LNK2001: unresolved external symbol _SQLConnect@28 >db.obj : error LNK2001: unresolved external symbol _SQLDisconnect@4 >db.obj : error LNK2001: unresolved external symbol _SQLFreeConnect@4 >db.obj : error LNK2001: unresolved external symbol _SQLFreeEnv@4 >db.obj : error LNK2001: unresolved external symbol _SQLAllocStmt@8 >db.obj : error LNK2001: unresolved external symbol _SQLSetCursorName@12 >db.obj : error LNK2001: unresolved external symbol _SQLPrepare@12 >db.obj : error LNK2001: unresolved external symbol _SQLBindCol@24 >db.obj : error LNK2001: unresolved external symbol _SQLExecute@4 >db.obj : error LNK2001: unresolved external symbol _SQLFetch@4 >db.obj : error LNK2001: unresolved external symbol _SQLExecDirect@12 >db.obj : error LNK2001: unresolved external symbol _SQLBindParameter@40 >db.obj : error LNK2001: unresolved external symbol _SQLFreeStmt@8 >demo.exe : fatal error LNK1120: 16 unresolved externals >Linking... >Link of demo failed rc=0. >Tool execution failed. >