home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3462 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!bdwheele
  3. From: bdwheele@silver.ucs.indiana.edu (Brian Wheeler)
  4. Subject: Can somebody help me?
  5. Message-ID: <Bxtuzz.DD0@usenet.ucs.indiana.edu>
  6. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  7. Nntp-Posting-Host: silver.ucs.indiana.edu
  8. Organization: Indiana University
  9. Date: Mon, 16 Nov 1992 21:14:23 GMT
  10. Lines: 22
  11.  
  12.     I need a DLL that will allow me to:
  13.         Allocate & Free Memory, and will let me read/write byte data
  14. values to the allocated memory.  Here's the problem:
  15.     Visual Basic will allow me to use GlobalAlloc and the other memory 
  16. functions, but being BASIC, I can't access it.
  17.     Here's the functions I'd need:
  18.     (in BASIC prototype form)
  19.     Function PEEK (Ptr As Long) as Integer 'Using integers because there
  20.     Sub POKE (Ptr As Long, Value as Integer) 'is no single byte type.
  21.     Function MemoryAllocate (Size as Long) as Long
  22.     Sub MemoryFree (Ptr as Long)
  23.  
  24. Is there such a DLL?  Can someone write one?  
  25. Any help would be appriciated.
  26.  
  27. Thanx in advance
  28. Brian Wheeler
  29. -- 
  30. ******************************************************************************
  31. * Brian 'Nautical' Wheeler - These are my opinions, do you hear me?  MINE!
  32. * "Wombats are our friends" - Me
  33. ******************************************************************************
  34.