🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #648

Using linked lists

#648
From: Brian Hoffman
Date: Sat, 17 Nov 1990 23:53
23 lines
1328 bytes
I'm an extremely novice win300 programmer with some (hopefully) simple
questions.

I'm writing an app that uses a linked list of small(<512 bytes) data
elements.  I've been reading pages 16-21 and 16-22 of the win3 Guide to
Programming and have basically decided that I need to learn how to use
handles to moveable data if I want to get this thing done right.

If someone could post a small bit of code demonstrating how to use linked
lists with handles I would greatly appreciate it.  Please include the
type declaration, the LocalAlloc() call, and a demonstration of how
to scoot down the list.

I know it's not that complicated, but the little demo code in the book
just doesn't cut it.

Mucho thanks.



|Brian Hoffman								|
|brian@cunixf.cc.columbia.edu						|
|Quote:	"A red sky at night may be a shepard's delight, but you're 	|
Technical Details
Message-ID: <1990Nov17.235305.5253@cunixf.cc.columbia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!rutgers!cunixf.cc.columbia.edu!brian

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!rutgers!cunixf.cc.columbia.edu!brian
From: brian@cunixf.cc.columbia.edu (Brian Hoffman)
Newsgroups: comp.windows.ms.programmer
Subject: Using linked lists
Summary: Linked lists
Keywords: linked, list
Message-ID: <1990Nov17.235305.5253@cunixf.cc.columbia.edu>
Date: 17 Nov 90 23:53:05 GMT
Organization: Columbia University
Lines: 23