🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #373

My IAppServer function barfs using ScktSrvr

#373
From: Rob Whitehead
Date: Mon, 03 Dec 2001 12:31
15 lines
1500 bytes
Hi,

I have added a function to my IAppServer implementation class, for returning
an unsigned long value

HRESULT GetMaxKey(BSTR TableName, BSTR ColumnName, unsigned_long* Key)

Calling this function using a TDCOMConnection works without problem, however
calling the same function using a TSocketConnection throws an exception
'Error creating variant array'.

Other functions are working ok, it is only this one that is causing a
problem, should I be using an unsigned long * or not?

Regards
Technical Details
Message-ID: <3c0b70e0_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,c12d01b115d1ee84,start
X-Google-Attributes: gidfcd2b,public
X-Google-Thread: f6386,c12d01b115d1ee84,start
X-Google-Attributes: gidf6386,public
X-Google-ArrivalTime: 2001-12-03 04:38:52 PST
From: "Rob Whitehead" <rob@sabretech.co.nz>
Newsgroups: borland.public.cppbuilder.database.multi-tier,borland.public.delphi.database.multi-tier
Subject: My IAppServer function barfs using ScktSrvr
Date: Tue, 4 Dec 2001 01:31:35 +1300
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.109.148.172
Message-ID: <3c0b70e0_1@dnews>
X-Trace: dnews 1007382752 203.109.148.172 (3 Dec 2001 04:32:32 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews