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