🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #218

Please help! How to get the return value from Netscape DDE?

#218
From: tdj
Date: Sat, 08 Aug 1998 00:00
29 lines
1594 bytes
Hello,

Can someone please teach me how to get the return values from
Netcape DDE?  for example, to get the version number of Netscape,
I tried (in Delphi 2.0):

{get version number}
var
  result: string;
begin
     s := '';
     DDeNSClient.SetLink(Browserfn, 'WWW_Version');
     result:= StrPas(DDeNSClient.RequestData(s));
     DDeNSClient.CloseLink;
end;

result is always NIL, or empty.  What have I done wrong?

I also want to retrieve the Window ID of the current active
Netscape frame - any hint of how to do this?

Thank you in advance.

Regards

Ted

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
Technical Details
Message-ID: <6qht92$ngf$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb362,ed2358d04456f5f1,start
X-Google-Attributes: gidfb362,public
X-Google-Thread: fd817,ed2358d04456f5f1,start
X-Google-Attributes: gidfd817,public
X-Google-Thread: 1091e5,ed2358d04456f5f1,start
X-Google-Attributes: gid1091e5,public
X-Google-Thread: 10baee,ed2358d04456f5f1,start
X-Google-Attributes: gid10baee,public
From: tdj@mail.com
Subject: Please help! How to get the return value from Netscape DDE?
Date: 1998/08/08
Message-ID: <6qht92$ngf$1@nnrp1.dejanews.com>
X-Deja-AN: 379178937
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Sat Aug 08 16:10:09 1998 GMT
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.internet,borland.public.delphi.winapi
X-Http-User-Agent: Mozilla/4.04 [en] (Win95; I)