🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Instantiate a TADOConnection

#1205
From: Viatcheslav V. Vassiliev
Date: Sat, 18 Sep 2004 17:15
30 lines
1796 bytes
Something is NULL (address is small), and it is m_padoCon. You should add
between your 2 lines:

m_padoConn = new TADOConnection(NULL);

or something similar.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Stephane Baillargeon" <info@solutionsgestico.com> �������/�������� �
�������� ���������: news:414c3d9b$1@newsgroups.borland.com...
> TADOConnection* m_padoCon;
> m_padoCon->ConnectionString = "connectionstring";
>
> when  the code arrives at this line I get this exception:
>
> Access violation at address ##### in module adortl.bpl. readof add.
> 00000044.
>
> Any hints???
>
>
>
>
Technical Details
Message-ID: <414c6d3f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <414c3d9b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,57c827ad91714332
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <414c3d9b$1@newsgroups.borland.com>
Subject: Re: Instantiate a TADOConnection
Date: Sat, 18 Sep 2004 21:15:44 +0400
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 213.234.218.42
Message-ID: <414c6d3f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1095527743 213.234.218.42 (18 Sep 2004 10:15:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail