| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 51329 | 2004-11-18 02:26:00 | Delphi 5 - missing file | AaronM (4647) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 293386 | 2004-11-18 02:26:00 | Hi, I'm using Delphi 5, with the update patch. when using a TExcelApplication with a workbook and a worksheet Delphi adds oleserver.pas to my uses declaration. However there is no oleserver.pas on my system or on the install disk. Does anyone know where I can get a copy or who would send me a copy? I haven't been able to find one on the web, and Borland weren't much help. Here's hoping. |
AaronM (4647) | ||
| 293387 | 2004-11-18 02:36:00 | I haven't done any Delphi, but from TP I wouldn't put "oleserver.pas" in a uses declaration. Try it without any extension because it looks to be a standard unit from my quick Googling. | Graham L (2) | ||
| 293388 | 2004-11-18 03:59:00 | As Graham says, don't include the .pas in the USES clause. Are there any oleserver.* (dcu) files on your pc; you may not have the path correct so it can see it. I have Delphi 5 here, I'll have to connect up the pc. | Dolby Digital (160) | ||
| 293389 | 2004-11-18 22:11:00 | Hi, sorry I wasn't clear, I didn't put oleserver.pas in the uses statement, Delphi automatically inserted "oleserver" when I used one of the excel components. When I come to compile however it comes up with an error that it can't find the file oleserver.pas which seems to be missing from my system. I do have oleserver.dcu, but not the .pas file and its not on the install CD either. Thanks for your help. |
AaronM (4647) | ||
| 293390 | 2004-11-18 22:20:00 | As Dolby said you probably don't have the path set correctly in the Enviroment Options | mikebartnz (21) | ||
| 293391 | 2004-11-18 22:32:00 | Delphi is asking for a .pas file to compile, because it can't find the unit. And the curious thing is that it looks as if there shouldn't be any "oleserver.PAS". My guess is that there are some units built from C code (.dcu) and others built from Pascal source (.dpu). Google shows a path for a oleserver.DCU. That does look like a path problem (and Delphi looking for Pascal sources first when there are "missing" units -- assuming that users will be using Pascal for their own units). But, are all of the base Borland units ".dpu"? Is this the first .dcu unit being used? |
Graham L (2) | ||
| 293392 | 2004-11-19 11:42:00 | > Is this the first .dcu unit being used? In which case it indicates the Environment Options paths are wrong. |
mikebartnz (21) | ||
| 1 | |||||