home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21972 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!netnews.upenn.edu!netnews.noc.drexel.edu!king.mcs.drexel.edu!queen.mcs.drexel.edu!udmorrow
  2. From: udmorrow@mcs.drexel.edu (Daniel Morrow)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: help with IPCListPorts (was IPCListPorts hell)
  5. Message-ID: <1993Jan22.172316.24594@mcs.drexel.edu>
  6. Date: 22 Jan 93 17:23:16 GMT
  7. Sender: udmorrow@mcs.drexel.edu (Daniel Morrow)
  8. Distribution: usa
  9. Organization: Drexel University
  10. Lines: 23
  11.  
  12. Recently I posted a question about IPCListPorts (saying that I was
  13. in hell and was ready to pull my hair out).
  14.  
  15. Anyway, I've narrowed down the problem.
  16.  
  17. I've noticed that when a program launches, a port is created for it
  18. (by what, I don't know.)
  19.  
  20. Anyway, I've noticed that the "portTypeStr" (of the PPCPortRec which you
  21. are interested in) is _always_ a Pascal string.
  22.  
  23. This Pascal string always looks something like this:
  24.     <length-byte><4-byte app creator type> 'ep01'.
  25.  
  26. What is this 'ep01' and why is it there?
  27. Who puts it there?
  28.  
  29. Also, how can I change this portname from within the application it 
  30. belongs to?
  31.  
  32. Thanks, I haven't been able to find any info about this in IM-6.
  33.  
  34. -Dan.
  35.