[DUG]: Declaration of XXXXXXXXXXXXX differs from previous declaration

2000-01-31 Thread Chris Crowe
Hi, Under Delphi 5 I get an error stating that the "Declaration of Assign differs from previous declaration", I also get the same problem for the function "Equals" I really can't see the problem. This is the declaration for the Object, TInternal TInternal = object m_type :

Re: [DUG]: Declaration of XXXXXXXXXXXXX differs from previous declaration

2000-01-31 Thread Aaron Scott-Boddendijk
Is TInternal inheriting from anyother object or is this pasted code... Anything that inherits from tpersistent would get a warning that your declaration of Assign hides the declaration on TPersistent. Under Delphi 5 I get an error stating that the "Declaration of Assign differs from previous

RE: [DUG]: Declaration of XXXXXXXXXXXXX differs from previous declaration

2000-01-31 Thread Chris Crowe
There should not be anything like that Aaron, the code I pasted is from the source file. The file is Delphi 3 source code to make a MMC (Microsoft Management Console) plugin. I can not find anything that is wrong The file can be downloaded from

RE: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Dennis Chuah
If it really was a showstopper you could still have used ClientDataSets, running dbaware controls off them. and limit your data representation to tabular format ..., plus your business rules will be ties to data controls, ie, UI. No reuse here. Then there's always the problems of queries

[DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Donovan J. Edye
G'Day All, I have a TDatabase connected via an alias to a MS-SQL7 database. I then have a TTable connected to the database. The table has a primary key of Field1, Field2, Field3, Field4. However as soon as I call the refresh method for the TTable I get the folowing error: Table does not support

Re: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Neven MacEwan
Dennis Re: RequestLive can only work if: a. The query is very simple, like an address book type query (select * from table - you might just as well use TTable), not generally suitable for C/S programming. Can't use joins. b. The datasource supports updates - which means no stored

Re: [DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Neven MacEwan
Welcome to the zone between ISAM and SQL Databases The refresh method never works on TQuerys (though I thought it would work on a TTable if you select an index). I wont go into why here but remember that ANSII SQL 'hides' the inplementation of indexes, these are 'exposed' by ODBC drivers for

Re: [DUG]: Thin Client

2000-01-31 Thread Neven MacEwan
Nic Free != Open. MSDE is definatly NOT open, and its only just free Oh thank you , thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you Neven --- New Zealand Delphi Users

Re: [DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Kerry Sainsbury
I asked this the other day on the database list, but got no response... it sure looks like there might be some folks on this list who can do a little experiment for me... (Thanks Neven!) Just wondering if anybody knows if the problem with parameterised stored procedures against MS-SQL 7

[DUG]: Kylix and other cough medicines

2000-01-31 Thread Neven MacEwan
Hiya all Just a quick Kylix question - What are they goning to do about database access or are just going to use Kylix to write screen savers Regards Neven --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Neven MacEwan
Kerry That 'bug' seems to just be a naming problem - nothing serious I use parameterised queries all the time - the bugbear is setting all the datatype on the parameters Regards - Original Message - From: Kerry Sainsbury [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL

Re: [DUG]: Thin Client

2000-01-31 Thread Nic Wise
Nic Free != Open. MSDE is definatly NOT open, and its only just free Oh thank you , thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you Oh, your welcome, your welcome, your welcome, your welcome, your welcome, your welcome, your welcome, your

RE: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Paul Heinz
Neven wrote: Just a quick Kylix question - What are they goning to do about database access or are just going to use Kylix to write screen savers I'd guess it will just support TDatasets just like now and anything they choose to write a TDataset against will be available. Unlike the UI

RE: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Carl Reynolds
Surely you must be joking! CachedUpdates? That creates paradox files all over the show! Its a nightmare - the ultimate in fat client technology! Just imagine, *WHEN* your program crashes, it leaves these MB files in the client's hard disk - it soon fills up. Shurely?! :) I don't know

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Simon Mahony
I think it's worth noting that programming for Linux requires a bit of a paradigm shift for those of us used to working in Windoze. You have to remember that Linux is a flavour of Unix, and there's a very good reason why most people don't have a Unix box on their desktop :-) It's not designed as

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Neven MacEwan
Excuse me!!! (Mock shock horror and disbelief) I think it's worth noting that programming for Linux requires a bit of a paradigm shift for those of us used to working in Windoze. You have to remember that Linux is a flavour of Unix, and there's a very good reason why most people don't have a

RE: [DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Donovan J. Edye
N, The refresh method never works on TQuerys (though I thought it would work on a TTable if you select an index). I wont go into why here but MS-SQL7 -- BDE -- TDataBase -- TTable.Refreh does work once you have set TTable.IndexFieldNames - Use TQuery not TTable, why make SQL look like dBase

[DUG]: ADO IBX installation issues.....

2000-01-31 Thread Donovan J. Edye
G'Day, Just trying to get a handle on what is required when using the above and what has to be installed on the client machine. ADO : Has to have drivers installed (Essentially another form of BDE ala M$ style) IBX : What is required to be installed client side??

RE: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Dennis Chuah
a. The query is very simple, like an address book type query (select * from table - you might just as well use TTable), not generally suitable for C/S programming. Can't use joins. b. The datasource supports updates - which means no stored procedures, or complex views. a.

[DUG]: Temp dir

2000-01-31 Thread Juan Manuel Gomez Ramos
Hi there: There must be an API call which returns de path to the Windows Temp directory (e.g "c:\Temp" on WinNT and "c:\Windows\Temp" on Win95/98). Does anyone know which is it (or could/should be)? Juan Manuel Gomez Ramos Computer Science student at Havana University Paraglider pilot

RE: [DUG]: Temp dir

2000-01-31 Thread Stacey Verner
In the Windows API there is a function called GetTempPath; Stacey -Original Message- From: Juan Manuel Gomez Ramos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 February 2000 14:20 To: Multiple recipients of list delphi Subject: [DUG]: Temp dir Hi there: There must be an

RE: [DUG]: Temp dir

2000-01-31 Thread Alistair George
Yea, gotta handle on that one; I use it for my freeware software to clear out the temporary directory of junk on startup HEREYAGO: function TAnybodiesForm.GetTheTempDIR: string; var Tmp: array[0..255] of char; Ret: string; begin if GetTempPath(255, Tmp) 0 then begin Ret :=

Re: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Neven MacEwan
Dennis My tables are always normalised :). Very brave statement - unlikely that your tables are past 2 normal form Regards --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Nic Wise
Neven Wrote.: Excuse me!!! (Mock shock horror and disbelief) your excused. Dunno why tho. Someone else wrote: I think it's worth noting that programming for Linux requires a bit of a paradigm shift for those of us used to working in Windoze. You have to remember that Linux is a

Re: [DUG]: ADO IBX installation issues.....

2000-01-31 Thread Nic Wise
the Interbase Client - its on the Interbase Media kit (same installer as the server, I think???) - basically, gds32.dll (I think you might need a few other bits tho) N - Original Message - From: "Donovan J. Edye" [EMAIL PROTECTED] To: "Multiple recipients of list delphi" [EMAIL

Re: [DUG]: Temp dir

2000-01-31 Thread Kerry Sainsbury
Yea, gotta handle on that one; I use it for my freeware software to clear out the temporary directory of junk on startup HEREYAGO: I hope that doesn't translate to "When my program starts, I delete all files in the temp directory". That would seriously annoy me!

Re: [DUG]: [Q] SQ7 D5 using BDE....

2000-01-31 Thread Neven MacEwan
Donovan But isnt a TTable merely a SQL statement with no WHERE clause?? Though you could consider a TTable as 'Select * from TableName Order By IndexFields' It is not It connects at a ISAM level and therefore you lose some of the portability that you have in a query (ie if you redefine the

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Kerry Sainsbury
Inprise (ie, the US) have stated, I beleive, that they will have native drivers for Interbase and ((I think) mSQL. Other than that, the product is not even close to ALPHA let alone containing anything that might be workable. Not that I've seen it, mind you. In one of the documents on

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Matt Powell
Simply because Linux has a command line utilities doesn't mean in was designed that way No, the fact that Linux was designed that way means that it has a command-line interface ;) Linux was designed as a free alternative to Unix, and as such has to provide a lot of the functionality of Unix.

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Simon Mahony
Excuse me!!! (Mock shock horror and disbelief) I think it's worth noting that programming for Linux requires a bit of a paradigm shift for those of us used to working in Windoze. You have to remember that Linux is a flavour of Unix, and there's a very good reason why most people don't

Re: [DUG]: Temp dir

2000-01-31 Thread Aaron Scott-Boddendijk
There must be an API call which returns de path to the Windows Temp directory (e.g "c:\Temp" on WinNT and "c:\Windows\Temp" on Win95/98). Does anyone know which is it (or could/should be)? Yea, gotta handle on that one; I use it for my freeware software to clear out the temporary

[DUG]: Detecting if Outlook is installed

2000-01-31 Thread Mason, John
I've written a document management system to automate creation and management of Word files. It can display a list of names in the Outlook contact folder and insert fax numbers or addresses automatically. But if Outlook is not installed it gives a ClassID error. Does anybody know how to check if

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Neven MacEwan
Simon Netscape is free, and it's nearly dead - now less than 25% market share and dropping.. Funnily enough Netscape is not free (is for personal use) Hence they relied heavily on OEM agreements Regards Neven ---

RE: [DUG]: Detecting if Outlook is installed

2000-01-31 Thread Coulter, Jeremy
I would search the registry, see if you can narrow down on an entry that points to outlook, then check another machine to see if the same entry exists on that machine (if outlook is on that machine too), then use this to check if outlook is installed on other machines. Jeremy Coulter Application

Re: [DUG]: Declaration of X differs from previous declaration

2000-01-31 Thread Aaron Scott-Boddendijk
Under Delphi 5 I get an error stating that the "Declaration of Assign differs from previous declaration", I also get the same problem for the function "Equals" TInternal = object m_type : DATA_OBJECT_TYPES; // What context is the data object. m_cookie : LongInt;

RE: [DUG]: Temp dir

2000-01-31 Thread Alistair George
Ah, yes, I cater for all - ClrTEMPorary is an optional operation! I like, it cause my tempdir is a real tempdir, and I allocate interum work to workdirectories; well that makes sense to me. Cheers. I hope that doesn't translate to "When my program starts, I delete all files in the temp

[DUG]: Chinese characters....

2000-01-31 Thread Donovan J. Edye
G'Day All, I know nothing about the above so this question may seem too general but.. How would I go about dealing with chinese characters: - Screen Display - Writing to a file (text / binary??) Some general pointers to FAQ's, HOWTO's etc. would be great. TIA

Re: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Tony Blomfield
Surely you must be joking! CachedUpdates? That creates paradox files all over the show! Its a nightmare - the ultimate in fat client technology! Just imagine, *WHEN* your program crashes, it leaves these MB files in the client's hard disk - it soon fills up. Shurely?! :) I don't know

[DUG]: JPEG and text contents in the file

2000-01-31 Thread Alistair George
Can anyone remind me - there is allowances in a JPEG file for various comments to be included in it. Does anyone know of a component which takes advantage of this feature, or where I can find out more information for example how much text and how to insert/remove it from the header information.

RE: [DUG]: Chinese characters....

2000-01-31 Thread Alistair George
This might be of help (work your way through it) procedure TPlayerForm.UpdateLanguage; var LanFile: TIniFile; offset: Cardinal; S: string; begin //Open language file LanFile := TIniFile.Create(AppPath + CurrentLanguage + '.ini'); //Update PlayerForm menu offset :=

Re: [DUG]: JPEG and text contents in the file

2000-01-31 Thread Phil Scadden
Can anyone remind me - there is allowances in a JPEG file for various comments to be included in it. Does anyone know of a component which takes advantage of this feature, or where I can find out more information for example how much text and how to insert/remove it from the header

RE: [DUG]: Chinese characters....

2000-01-31 Thread Dennis Chuah
You have just open a can of worms ... Firstly, you will need a version of OS that can display the characters (or get an add-on font). If you have Chinese Windows installed (get it from MSDN), the Unicode characters ought to display automatically. If you are looking at displaying on the

RE: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Grant Black
About time for off topic I guess but... -Original Message- From: Neven MacEwan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 1 February 2000 14:43 To: Multiple recipients of list delphi Subject: Re: [DUG]: Kylix and other cough medicines Simon Netscape is free, and it's nearly

[DUG]: using MAP files properly

2000-01-31 Thread Peter Hyde
Hi folks, For years I've depended on debugging within the IDE, but once in a while we get an exception only in a running app and thus need to track it down. Of late, we've been generating MAP files in the hope we could use these to isolate the culprit program or data areas in such cases.

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Neven MacEwan
N, IMO, naturally. what happened to the H N --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Mark Derricutt
On Tue, 1 Feb 2000, Neven MacEwan wrote: Funnily enough Netscape is not free (is for personal use) Hence they relied heavily on OEM agreements I installed Mozilla M13 the other day, not tooo bad, still a bit to go I reckon thou, but is looking very nice. Mark

RE: [DUG]: Declaration of X differs from previous declaration

2000-01-31 Thread Chris Crowe
Yes that was it thanks, I looked at that but did not think of changing it to = class(TObject). Cheers Chris --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website:

RE: [DUG]: using MAP files properly

2000-01-31 Thread Dennis Chuah
Peter, Hi. If you compile with map files turned on, you ought to be able to do Search | Find Error from the IDE. Doesn't always work though. Regards, Dennis. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Hyde Sent: Tuesday, 1 February

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Nic Wise
I didn't feel like being humble- just not in the mood today. hm, can I say this again: Delphi+VisiforDelphi+Java+Visi(ForLinux) rocks my corner of the world. Delphi client (thin, IMU), java backend on my linux server (or on my laptop, it fails over automatically), interbase 5.6 on linux serving

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Leo Ramakers
Mark Derricutt wrote: On Tue, 1 Feb 2000, Neven MacEwan wrote: Funnily enough Netscape is not free (is for personal use) Hence they relied heavily on OEM agreements I installed Mozilla M13 the other day, not tooo bad, still a bit to go I reckon thou, but is looking very nice. care to

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Mark Derricutt
On Tue, 1 Feb 2000, Leo Ramakers wrote: care to say more, like where to get it, does it do mail, does it browse (to save me the time of fooling with it) Hmm, www.mozilla.org would be a good shot (i just followed the slashdot.org link). Mail is there, IMAP/POP3, it does browse and actually

RE: [DUG]: using MAP files properly

2000-01-31 Thread Paul Heinz
Peter wrote: Hi folks, For years I've depended on debugging within the IDE, but once in a while we get an exception only in a running app and thus need to track it down. Of late, we've been generating MAP files in the hope we could use these to isolate the culprit program or data

RE: [DUG]: Data aware controls [was: ADO access]

2000-01-31 Thread Patrick Dunford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neven MacEwan Sent: Tuesday, 1 February 2000 14:18 To: Multiple recipients of list delphi Subject: Re: [DUG]: Data aware controls [was: ADO access] Dennis My tables are always normalised :).

RE: [DUG]: Detecting if Outlook is installed

2000-01-31 Thread Patrick Dunford
Have you tried this topic in MSDN? There may be an OLE call you can try. I assume that is what you are using? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mason, John Sent: Tuesday, 1 February 2000 14:48 To: Multiple recipients of list delphi

RE: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Patrick Dunford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nic Wise Sent: Tuesday, 1 February 2000 15:58 To: Multiple recipients of list delphi Subject: Re: [DUG]: Kylix and other cough medicines Funnily enough Netscape is not free (is for personal use)