Newsgroups: comp.os.os2.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!rice!uw-beaver!ubc-cs!unixg.ubc.ca!ballard From: ballard@ucs.ubc.ca (Alan Ballard) Subject: Re: How can I compile an .SQC file in the PWB? Message-ID: <1991Jun14.160901.20404@unixg.ubc.ca> Keywords: PWB Sender: news@unixg.ubc.ca (Usenet News Maintenance) Nntp-Posting-Host: swiss.ucs.ubc.ca Organization: University of B.C. Computing Services References: <4911@gmdzi.gmd.de> Date: Fri, 14 Jun 1991 16:09:01 GMT In article <4911@gmdzi.gmd.de> pfeifer@gmdzi.gmd.de (Gregor Pfeifer) writes: >I will use the Microsoft Programmers Workbench to develop >a C Programm. In some Moduls there will be embedded >SQL statements. The extention of these files are 'SQC'. >But the PWB don't know this extension. I've tried >to modifiy the tools.ini File, but it failed. (Sorry if this is a duplicate; my previous reply seems to have got lost.) I think the problem is that PWB isn't capable of deriving how to create a .O file from your .SQC.C and the built-in .C.O rules. You need to define build entries for a rule .SQC.O that does the preprocess and compile steps. There is a Microsoft technical note that describes this much better than the so-called documentation that comes with PWB. I don't have the details with me right now. Send me e-mail next week if you still can't figure it out from this and I'll type in the example. -- Alan Ballard | Internet: ballard@ucs.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-822-3074 Vancouver B.C. Canada V6T 1Z2 | Fax: 604-822-5116