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

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!utcsri!torn!nott!emr1!jagrant
  3. From: jagrant@emr1.emr.ca (John Grant)
  4. Subject: Re: ProtoGen from Borland
  5. Message-ID: <1992Nov17.171251.10615@emr1.emr.ca>
  6. Organization: Energy, Mines, and Resources, Ottawa
  7. References: <BxoA25.KrJ@usenet.ucs.indiana.edu> <1992Nov15.022508.252@panix.com> <KIM.92Nov16092705@kim.Software.Mitel.COM>
  8. Date: Tue, 17 Nov 1992 17:12:51 GMT
  9. Lines: 32
  10.  
  11. In article <KIM.92Nov16092705@kim.Software.Mitel.COM> kim@Software.Mitel.COM (Kim Letkeman) writes:
  12. >In article <1992Nov15.022508.252@panix.com> rryan@panix.com (Rob Ryan) writes:
  13. >
  14. >| In <BxoA25.KrJ@usenet.ucs.indiana.edu> ezachris@cochiti.ucs.indiana.edu writes:
  15.  
  16.     [stuff discussing Protogen pros & cons deleted]
  17.  
  18. >I found what may be a bug (but still might be my misuse of the
  19. >package.) I painted a dialog to serve as the main window for a small
  20. >test application and the application code that Protogen generated did
  21. >not successfully run. I received the classic error -5 indicating that
  22. >the dialog window could not be created.
  23.     I suspect that this error is created by not being able to load
  24.     BWCC.DLL for some reason.  Did you generate code for OWL?
  25.  
  26. >After much fumbling around I looked at the calc sample application
  27. >that comes with application frameworks and found that Protogen does
  28. >not appear to use the dialog name correctly in the handling of the
  29. >dialog window.
  30. >
  31. >Anyway, I changed the code by hand to match calc's mechanism, which
  32. >only took a couple of minutes, and everything worked fine. I went into
  33. >a second directory and, using everything I had learned about the
  34. >naming conventions to use for the icon and dialog, I regenerated a
  35. >fresh application. It still failed, so I don't think Protogen (version
  36. >2.2) handles dialog boxes as main windows all that well.
  37.  
  38.     Try it again, and make sure it can find BWCC.DLL
  39. -- 
  40. John A. Grant                        jagrant@emr1.emr.ca
  41. Airborne Geophysics
  42. Geological Survey of Canada, Ottawa
  43.