Article View: comp.os.ms-windows.programmer.tools
Article #742Re: ProtoGen from Borland
From: John Grant
Date: Tue, 17 Nov 1992 17:12
Date: Tue, 17 Nov 1992 17:12
32 lines
2019 bytes
2019 bytes
In article <KIM.92Nov16092705@kim.Software.Mitel.COM> kim@Software.Mitel.COM (Kim Letkeman) writes: >In article <1992Nov15.022508.252@panix.com> rryan@panix.com (Rob Ryan) writes: > >| In <BxoA25.KrJ@usenet.ucs.indiana.edu> ezachris@cochiti.ucs.indiana.edu writes: [stuff discussing Protogen pros & cons deleted] >I found what may be a bug (but still might be my misuse of the >package.) I painted a dialog to serve as the main window for a small >test application and the application code that Protogen generated did >not successfully run. I received the classic error -5 indicating that >the dialog window could not be created. I suspect that this error is created by not being able to load BWCC.DLL for some reason. Did you generate code for OWL? >After much fumbling around I looked at the calc sample application >that comes with application frameworks and found that Protogen does >not appear to use the dialog name correctly in the handling of the >dialog window. > >Anyway, I changed the code by hand to match calc's mechanism, which >only took a couple of minutes, and everything worked fine. I went into >a second directory and, using everything I had learned about the >naming conventions to use for the icon and dialog, I regenerated a >fresh application. It still failed, so I don't think Protogen (version >2.2) handles dialog boxes as main windows all that well. Try it again, and make sure it can find BWCC.DLL -- John A. Grant jagrant@emr1.emr.ca Airborne Geophysics Geological Survey of Canada, Ottawa
Technical Details
Message-ID:
<1992Nov17.171251.10615@emr1.emr.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!nott!emr1!jagrantReferences:
<BxoA25.KrJ@usenet.ucs.indiana.edu> <1992Nov15.022508.252@panix.com> <KIM.92Nov16092705@kim.Software.Mitel.COM>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!nott!emr1!jagrant From: jagrant@emr1.emr.ca (John Grant) Subject: Re: ProtoGen from Borland Message-ID: <1992Nov17.171251.10615@emr1.emr.ca> Organization: Energy, Mines, and Resources, Ottawa References: <BxoA25.KrJ@usenet.ucs.indiana.edu> <1992Nov15.022508.252@panix.com> <KIM.92Nov16092705@kim.Software.Mitel.COM> Date: Tue, 17 Nov 1992 17:12:51 GMT Lines: 32