Function
Determine the application name from a poll.
DDEGetPollAppName ( LastTopic_IV )
•LastTopic_IV is an integer value returned from a call to DDEEnumeratePollTopics within the current response.
Description
Called by the client. This function determines the application name that resulted from a poll; use this function while looping through the poll list created by DDEPollTopics.
Example
# Display the application names of all servers who know
# about topic "mytopic"
copy 0 to LastTopic_IV
copy DDEPollTopics ("", "mytopic") to NumConvs_IV
while (NumConvs_IV > 0) loop
copy DDEEnumeratePollTopics (LastTopic_IV) to LastTopic_IV
add to TopicWindow insert at cursor
DDEGetPollAppName (LastTopic_IV) "\n"
copy (NumConvs_IV - 1) to NumConvs_IV
end loop