home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / apps / 2128 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.os.ms-windows.apps
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!news
  3. From: jimmy@namao.ucs.ualberta.ca 
  4. Subject: ANY owl EXPERTS OUT THERE...
  5. Message-ID: <1992Aug21.153730.12035@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: namao.ucs.ualberta.ca
  8. Organization: University of Alberta
  9. Date: Fri, 21 Aug 1992 15:37:30 GMT
  10. Lines: 22
  11.  
  12.  
  13. Environment: 386, Windows 3.1, Borland C++ 3.1, OWL
  14.  
  15. I am trying to create a dialog box in Borland C++ 3.1 by the following call:
  16.             GetApplication()->ExecDialog(new UIEditInterruptsDlg(this, SD_MyDialogBox));
  17.  
  18. If I cd to the appropriate directory and open a project and run it, everything
  19. works fine. However, if I do a File Run from the program manager and specify
  20. the full path of my .exe, I get the following message:
  21.             Error received: error code = -5
  22.             OK to process ?
  23.             Yes  No
  24.  
  25. Its seems as if the code does not know where to find the dialog box. How can
  26. I fix this ?
  27.  
  28. Thanks,
  29. Jimmy
  30. P.S. Please email
  31.  
  32. --
  33. jimmy@namao.ucs.ualberta.ca
  34.