home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4552 < prev    next >
Encoding:
Text File  |  1993-01-02  |  825 b   |  35 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!phshl
  3. From: phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566)
  4. Subject: combo box problem
  5. Message-ID: <1993Jan3.153508.1@wombat.newcastle.edu.au>
  6. Lines: 24
  7. Sender: news@seagoon.newcastle.edu.au
  8. Organization: University of Newcastle, AUSTRALIA
  9. Date: Sun, 3 Jan 1993 04:35:08 GMT
  10.  
  11. Hi ,
  12.   
  13.  
  14.  
  15. hi
  16.   I am trying to read the content of the edit control in a combobox by
  17. using the "transfer mecahnism"
  18.  
  19. type
  20.   rec = record
  21.     str : pstrcollection
  22.     selected : array [0..10] of char;
  23.   end;
  24.  
  25. and
  26.  
  27.   p^.transferbuffer := @RecVar;
  28.  
  29. where p is an instance of a dialog with the combobox.
  30.  
  31. Could someone tell me what's wrong with this code? The program
  32. crashed with protection fault error.
  33.  
  34. Lee
  35.