home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / tools / 1875 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.6 KB  |  38 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!crux.scs.uiuc.edu!mcdonald
  3. From: mcdonald@aries.scs.uiuc.edu (J. D. McDonald)
  4. Subject: Re: Peek and Poke in Visual Basic 1.0 ???
  5. References: <54540003@hpgrla.gr.hp.com> <aXcXwB1w165w@salzo.Cary.NC.US>
  6. Message-ID: <mcdonald.652@aries.scs.uiuc.edu>
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: UIUC SCS
  9. Date: Wed, 6 Jan 1993 00:23:37 GMT
  10. Lines: 26
  11.  
  12. In article <aXcXwB1w165w@salzo.Cary.NC.US> charvel@salzo.Cary.NC.US (Jeff Cogswell) writes:
  13.  
  14. >galenr@hpgrla.gr.hp.com (Galen Raben) writes:
  15.  
  16. >> In comp.windows.ms.programmer, harti@mikro.ee.tu-berlin.de (Stefan Hartmann (
  17. >> 
  18. >> >I have just bought Visual Basic 1.0 standard edition and wanted
  19. >> >to program a special hardware board inside the PC with it....
  20. >> >  **stuff deleted **
  21. >> 
  22. >> Stefan,
  23. >> It is possible, but not for the faint-of-heart.  On CompuServe (and probably
  24. >> a good number of ftp sites as well) in the MSBASIC forum VB library the file 
  25. >> is called "inout.zip".  The reason MS doesn't include this functionality in
  26. >> VB 1.0 or 2.0 is that it is EXCEPTIONALLY EASY to corrupt the Windows 
  27. >> environment by directly writing to hardware - definitely not for the average
  28. >> software hacker (therefore MS limited their liability).
  29.  
  30. >Always be careful when using peek & poke; [they remap locations in
  31. protected mode]
  32.  
  33. Yes, but is what he wants "peek and poke" or "in and out". In and out
  34. do NOT change locations in protected mode. I use them all the time;
  35. no problem. (But not using vbasic).
  36.  
  37. Doug McDonald
  38.