home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5293 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.0 KB  |  50 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!hellgate.utah.edu!lanl!beta.lanl.gov!jtc
  3. From: jtc@beta.lanl.gov (Jason T. Cavender)
  4. Subject: Please Help with DDE and Lost Resources...
  5. Message-ID: <1993Jan22.233130.25382@newshost.lanl.gov>
  6. Followup-To: jtc@lanl.gov
  7. Sender: news@newshost.lanl.gov
  8. Organization: Los Alamos National Laboratory
  9. Date: Fri, 22 Jan 1993 23:31:30 GMT
  10. Lines: 38
  11.  
  12.  
  13. I am writing one of my first windows programs (in C) and I am having some 
  14. trouble.  I am using DDE to write a front end to a commerical product.  Most 
  15. things are going well, but I am curious how to use the XTYP_EXECUTE message.  
  16. I don't understand what you put in the command string.  Does this give access 
  17. to functions in menus but not supported thru DDE?  If not then what do they do?
  18. What is the format?  I have been thru the documentation but haven't seen an 
  19. explanation, but with 5000+ pages it is quite possible I just missed it.
  20.  
  21. I have another question about some disappearing resources according to 
  22. sysmeter.  Every couple of times you run my program the GDI or MEM goes down 
  23. a percent or two.
  24.  
  25. I have been looking at Heap Walker (from SDK 3.1) and there are some bitmaps
  26. of mine in there even though my program is no longer running.  Are these my
  27. lost resources, or is it normal for there to be old resources there.  There
  28. are quite a few bitmaps from the server (a beta version of a commercial 
  29. package) is why I ask.  It seems if this is due to improper clean up they 
  30. should know better.  I have looked thru the Programming Tools book about 
  31. Heap Walker but it doesn't really help (me) much.
  32.  
  33. Is there a better way to find lost resources? 
  34.  
  35. Oh, one more thing.  The server supports a DDE close message to quit the 
  36. application.  How do you close an app with DDE and then disconnect?  I have
  37. taken out the call (so the DDE connection is properly closed) and I still
  38. lose resources though, so that doesn't appear to be the cause of my lost 
  39. resources.
  40.  
  41.  
  42. Thanks for any suggestions.  E-mail or posting is fine.
  43.  
  44.  
  45. Jason Cavender
  46.  
  47. jtc@lanl.gov
  48.  
  49.  
  50.