🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

combo box problem

#1941
From: S.H. LEE (61) 49 21 5566
Date: Sun, 03 Jan 1993 04:35
24 lines
859 bytes
Hi ,
  


hi
  I am trying to read the content of the edit control in a combobox by
using the "transfer mecahnism"

type
  rec = record
    str : pstrcollection
    selected : array [0..10] of char;
  end;

and

  p^.transferbuffer := @RecVar;

where p is an instance of a dialog with the combobox.

Could someone tell me what's wrong with this code? The program
crashed with protection fault error.

Lee
Technical Details
Message-ID: <1993Jan3.153508.1@wombat.newcastle.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!phshl

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!wombat.newcastle.edu.au!phshl
From: phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566)
Subject: combo box problem
Message-ID: <1993Jan3.153508.1@wombat.newcastle.edu.au>
Lines: 24
Sender: news@seagoon.newcastle.edu.au
Organization: University of Newcastle, AUSTRALIA
Date: Sun, 3 Jan 1993 04:35:08 GMT