🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2279

Please Help with DDE and Lost Resources...

#2279
From: Jason T. Cavender
Date: Fri, 22 Jan 1993 23:31
36 lines
2129 bytes
I am writing one of my first windows programs (in C) and I am having some 
trouble.  I am using DDE to write a front end to a commerical product.  Most 
things are going well, but I am curious how to use the XTYP_EXECUTE message.  
I don't understand what you put in the command string.  Does this give access 
to functions in menus but not supported thru DDE?  If not then what do they do?
What is the format?  I have been thru the documentation but haven't seen an 
explanation, but with 5000+ pages it is quite possible I just missed it.

I have another question about some disappearing resources according to 
sysmeter.  Every couple of times you run my program the GDI or MEM goes down 
a percent or two.

I have been looking at Heap Walker (from SDK 3.1) and there are some bitmaps
of mine in there even though my program is no longer running.  Are these my
lost resources, or is it normal for there to be old resources there.  There
are quite a few bitmaps from the server (a beta version of a commercial 
package) is why I ask.  It seems if this is due to improper clean up they 
should know better.  I have looked thru the Programming Tools book about 
Heap Walker but it doesn't really help (me) much.

Is there a better way to find lost resources? 

Oh, one more thing.  The server supports a DDE close message to quit the 
application.  How do you close an app with DDE and then disconnect?  I have
taken out the call (so the DDE connection is properly closed) and I still
lose resources though, so that doesn't appear to be the cause of my lost 
resources.


Thanks for any suggestions.  E-mail or posting is fine.
 

Jason Cavender

jtc@lanl.gov
Technical Details
Message-ID: <1993Jan22.233130.25382@newshost.lanl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!hellgate.utah.edu!lanl!beta.lanl.gov!jtc

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!hellgate.utah.edu!lanl!beta.lanl.gov!jtc
From: jtc@beta.lanl.gov (Jason T. Cavender)
Subject: Please Help with DDE and Lost Resources...
Message-ID: <1993Jan22.233130.25382@newshost.lanl.gov>
Followup-To: jtc@lanl.gov
Sender: news@newshost.lanl.gov
Organization: Los Alamos National Laboratory
Date: Fri, 22 Jan 1993 23:31:30 GMT
Lines: 38