void wxDDECleanUp()
{
+ wxDDEClientObjects.DeleteContents(TRUE);
+ wxDDEClientObjects.Clear();
+ wxDDEClientObjects.DeleteContents(FALSE);
+
+ wxDDEServerObjects.DeleteContents(TRUE);
+ wxDDEServerObjects.Clear();
+ wxDDEServerObjects.DeleteContents(FALSE);
+
+ wxAtomTable.Clear();
+
if ( DDEIdInst != 0 )
{
DdeUninitialize(DDEIdInst);
// wxDDEConnection
// ----------------------------------------------------------------------------
-wxDDEConnection::wxDDEConnection(char *buffer, int size)
+wxDDEConnection::wxDDEConnection(wxChar *buffer, int size)
: wxConnectionBase(buffer, size)
{
m_client = NULL;
return ok;
}
-char *wxDDEConnection::Request(const wxString& item, int *size, wxIPCFormat format)
+wxChar *wxDDEConnection::Request(const wxString& item, int *size, wxIPCFormat format)
{
DWORD result;
wxString item_name = DDEStringFromAtom(hsz2);
int user_size = -1;
- char *data = connection->OnRequest(connection->m_topicName,
+ wxChar *data = connection->OnRequest(connection->m_topicName,
item_name,
&user_size,
(wxIPCFormat) wFmt);