🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
1 messages
1 total messages Started by readnews Wed, 16 Jun 1999 00:00
How to implement return Value of DispInterface ?
#1732
Author: readnews
Date: Wed, 16 Jun 1999 00:00
11 lines
872 bytes
in the interface implementation,
if I write the following codes,I mean that if the 'SQL' is empty
then return false (1) else return ok,
but in the client,I always get result S_OK (0),why?

STDMETHODIMP TAImpl::SetQuerySQL(BSTR SQL)
{
  if (AnsiString(SQL)=="")
     return S_FALSE;
  return S_OK;
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads