🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4617

Re: Please help me with my odbc program !

#4617
From: tinyfool
Date: Wed, 07 Nov 2001 16:25
28 lines
1739 bytes
My dear friend:
    In your mail,I get

#ifndef _INC_WINDOWS
#include <windows.h>
#endif

#ifndef WIN32
#define WIN32
#endif

use it got link error "Unresolved external "SQLAllocHandle" referenced from
module.I  change your code like follow

#ifndef _INC_WINDOWS
#include <windows.h>
#endif

#ifndef  _WIN32
#define _WIN32
#endif

Then can link no error.But I get the same Exception .
--
China BCB beginner tinyfool

Welcome to my website
http://tinydust.yeah.net
Technical Details
Message-ID: <3be9b9cd_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3be73456_1@dnews> <3BE92CF2.17EADFD0@hsl.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1084ed,aee087b7d43292b2
X-Google-Attributes: gid1084ed,public
X-Google-Thread: fc5f9,aee087b7d43292b2
X-Google-Attributes: gidfc5f9,public
X-Google-Thread: 103c8d,aee087b7d43292b2
X-Google-Attributes: gid103c8d,public
X-Google-Thread: 10698b,aee087b7d43292b2
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-11-07 14:50:11 PST
From: "tinyfool" <tinyfool@163.net>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.cppbuilder.database.sqlservers,borland.public.cppbuilder.language,borland.public.cppbuilder.ms_compatibility
References: <3be73456_1@dnews> <3BE92CF2.17EADFD0@hsl.de>
Subject: Re: Please help me with my odbc program !
Date: Thu, 8 Nov 2001 00:25:34 +0800
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 61.181.180.1
Message-ID: <3be9b9cd_2@dnews>
X-Trace: dnews 1005173197 61.181.180.1 (7 Nov 2001 14:46:37 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub1.nntpserver.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews