RE: [DUG]: Integrating a Delphi App with a Web server

1999-07-05 Thread Jeremy Coulter
The first thought I have is a singe or series of COM/ACTIVE-X objects that read values (from a DB or a file). The other thought would be to give the application the ability to run as a type of "SERVER" on a a specific port and having an active x control (prob. a dll) sending data requests to the

RE: [DUG]: Notification Bug on Remove???

1999-07-05 Thread Myles Penlington
That is what I expect for that case. Try this - Close the form after creating the components. ie press button 1, then close the form. You are correct, it you free them then you will get the notifications. The problem only arises when the Form (the components owners) does the destroy/free instea

RE: [DUG]: Notification Bug on Remove???

1999-07-05 Thread Carl Reynolds
Hmmm. Well, I knocked together a sample form to test things: unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TMyComponent = class(TComponent) protected procedure Notification(AComponent: TComponent; Operation:

[DUG]: Integrating a Delphi App with a Web server

1999-07-05 Thread Paul Faid
I am looking at adding some web functionality to a Delphi application, so the application can be 'used' via an intranet, and am wondering where to start. The application is used for monitoring hardware and what we want to do is allow an operator to navigate around the application and view data v

RE: [DUG]: Notification Bug on Remove???

1999-07-05 Thread Myles Penlington
That's the whole POINT it DOES NOT WORK. Have now spent several hours tracing through the source code using the Debugger to check what was occurring - I did not believe this was the problem initially. I only found it during testing of Creation Order of Components and having Contructors throw

RE: [DUG]: Notification Bug on Remove???

1999-07-05 Thread Carl Reynolds
If you want a component (TMyComponent) to be notified about another component being freed, eg. when one of its sub-components (TMySubComponent) is removed, call TMySubComponent.FreeNotification(TMyComponent) at some point, usually during TMySubComponent's construction. Then TMyComponent gets an O

RE: [DUG]: Stats for running windows apps.

1999-07-05 Thread Brendan Laing
still can, using perf mon api's (?) but it's not pretty - a recent (2-3months) vb mag (tsk tsk) had an article on doing this (it was a taskmanager type app), but it also discussed how to setup objects to be managed under perfmon - let me know if requried, as I can relocate the actual article if re

RE: [DUG]: Open GL question

1999-07-05 Thread Julien Thomas
Also on Project Jedi: http://www.delphi-jedi.org/DelphiGraphics/jedi-index.htm > -Original Message- > From: Colin Fraser [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 06, 1999 11:18 AM > To: Multiple recipients of list delphi > Subject: [DUG]: Open GL question > > Hi all, > >

RE: [DUG]: Open GL question

1999-07-05 Thread Julien Thomas
I presume you have seen the homepage on OpenGL and Delphi? http://www.geocities.com/SiliconValley/Way/2132/tutorial.html > -Original Message- > From: Colin Fraser [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 06, 1999 11:18 AM > To: Multiple recipients of list delphi > Subject:

RE: [DUG]: C to OBJ

1999-07-05 Thread Patrick Dunford
Yes I am sure the standard version of C++ builder is about $200, and should be more than adequate. The best solution which appears to me is to build a VCL component in C++. Can Delphi import VCL components that are compiled in C++? It certainly is possible the other way. > -Original Message-

[DUG]: Notification Bug on Remove???

1999-07-05 Thread Myles Penlington
What's your understanding of the Delphi Notification mechanism?? My understanding is that if a TComponent or its descendant is removed from a Form then all other components on the Form will be sent a Notification ( MyComponent, OpRemove) - of course its owner is the form - this all stuff in th

RE: [DUG]: C to OBJ

1999-07-05 Thread Grant Black
You should be able to pick up a C compiler pretty cheap this days (GNU C++ is free after all). Its quite useful to have something like C++ Builder (even just for the resource workshop), or even VC++ lying around for those awkward moments when all the sample source you can find is C++. Grant Bl

[DUG]: Open GL question

1999-07-05 Thread Colin Fraser
Hi all, I am just playing round (a little) with open GL. One thing that I can't find out how to do is to get a 2D co-ordinate (in pixels of the window client area) of a point in 3D space. I want to know this so that I can tell when an object flies off my window. Anyone have any ideas or pointer

RE: [DUG]: New Control Display

1999-07-05 Thread Wes Edwards
lblNewLabel.Parent := bndDetail; ? Wes Edwards Quality Assurance Manager CommSoft Group Limited [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Tony Sinclair > Sent: Tuesday, 6 July 1999 10:55 > To: Multiple recipients of l

[DUG]: New Control Display

1999-07-05 Thread Tony Sinclair
Back again, I am wondering as to how I get a label that I create at run -time to display itself on a QuickReport band? So far I have... //lblNewLabel := TQRLabel.CreateParented(bndDetail.Handle); lblNewLabel := TQRLabel.Create(bndDetail); lblNewLabel.Left := 20; lblNewLab

Re: [DUG]: FieldByName

1999-07-05 Thread Mark Derricutt
--On Tuesday, July 06, 1999, 8:27 AM +1200 Jeremy Coulter <[EMAIL PROTECTED]> wrote: > By that I mean HOW it works, i.e. how you can set data with it, i.e. > fieldbyname('name').asstring:='joe'; AND you can get data from it, i.e. > fieldbyname('Name').asstring. > So how do you create a property w

RE: [DUG]: C to OBJ

1999-07-05 Thread Alistair George
Acht so. That is what I was wondering; if I could do without the C compiler which I dont have and the project doesnt justify further purchases. I need to be able to do several changes to the C source and check it as I go along against the hardware, so I need to have a handle on it at all times. Ma

RE: [DUG]: FieldByName

1999-07-05 Thread Coulter, Jeremy
AH ok, I kinda thought that WAS the case, but was a little unsure. Thanks, Jeremy Coulter Application Developer Application Development Centre Compaq Computer New Zealand Ltd. Phone: 64 3 371 5724 (DD) Fax:64 3 371 5744 Cell:021 2150435 E-mail:

RE: [DUG]: FieldByName

1999-07-05 Thread Myles Penlington
The TDataset keeps an array of TFields. The fieldbyName does a linear search of this array for a field of the specified name. FieldByName returns a TField. If you look at TField - AsString etc is a property with read and write methods. To get the correct behaviour for each of the different fie

[DUG]: FieldByName

1999-07-05 Thread Jeremy Coulter
HI all. I was wondering if anyone could explain how FieldByName works. By that I mean HOW it works, i.e. how you can set data with it, i.e. fieldbyname('name').asstring:='joe'; AND you can get data from it, i.e. fieldbyname('Name').asstring. So how do you create a property with this type of func

RE: [DUG]: C to OBJ

1999-07-05 Thread Grant Black
> I like the JUST wrap it up - never having done that before. > So if what you are saying is as I read it - I know where the > problems in the C code are occuring and having done a bit of C in my time I > could sort it out. Now with this altered C source, can I JUST create a DLL > from it which

RE: [DUG]: RichEdit Controls

1999-07-05 Thread Chris Crowe
Thanks Max. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max Renshaw-Fox Sent: Monday, July 05, 1999 7:48 PM To: Multiple recipients of list Delphi Subject: RE: [DUG]: RichEdit Controls Can't seem to find it - sorry. It was for a contract I did on