home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / os2delph.txt < prev    next >
Text File  |  1996-04-08  |  2KB  |  37 lines

  1. Running Delphi 1.x on OS/2 Warp
  2. 3/1/96
  3.  
  4. Hi there.  Let me start with the disclaimer:  I am not associated with 
  5. either Borland or IBM.  I just use their products.
  6.  
  7. I began using Delphi under Warp (for Windows) when it came out and did
  8. not have any significant problems.  In preparation for a new project, 
  9. however, I upgraded my environment to Warp Connect (no fix packs) and 
  10. the updated Delphi. (My original setup used the shipping Delphi CD, and 
  11. then later added Delphi patch 1.  My updated Delphi is a CD containing 
  12. DELPHI.EXE dated 8-24-95 that I mail-ordered from Borland.) With this new 
  13. setup my PC would lock up every time I hit the Delphi IDE "GO" button on 
  14. the tool bar.
  15.  
  16. It took me several days to figure out the problem, so I am posting it
  17. here in the hope that it will save you some time. According to Borland's
  18. TI2816, the Delphi IDE tries to intercept system calls in order to provide
  19. "Integrated Debugging" when you run a program from within Delphi.  In order
  20. to run programs from within Delphi, I had to to disable the integrated
  21. debugger by un-selecting Options|Enviroment|Integrated Debugging.
  22. This works for me; obviously, your mileage may vary.
  23.  
  24. You can identify this problem by compiling a Delphi program and running it
  25. from the File Manager instead of from Delphi.  If the app runs from the
  26. File Manager but not from inside Delphi, you probably need this fix.
  27.  
  28. Above all, please note that this problem stems from a Delphi feature. The
  29. fact that it can make Warp lock up should in no way reflect badly
  30. on OS/2.  OS/2 is definitely the best platform for developing database
  31. front ends with Delphi.  The Delphi designers apparently took advantage of 
  32. some weedy unauthorized features of Windows 3.x and didn't notice the side 
  33. effects until after releasing the update CD.  
  34.  
  35. -David Peterson
  36. CIS 75030,1300
  37.