Re: [DUG]: ntdll.dll

1999-08-05 Thread Peter G Jones
We got this error when trying to access the registry, but I can't remember the exact details. I have seen mention of this for other things to do with user interface also. You could search the list archive if no-one helps here. From: "Steven Wild" [EMAIL PROTECTED] Reply-To: [EMAIL

Re: [DUG]: DCOM and NT

1999-08-05 Thread Peter G Jones
You can only run out-of-process servers remotely, ie: exe's - unless you provide a proxy, in which case you may as well just right an exe. Of course if your Web server is IIS then you will be using MTS so you can then use a Com DLL - forget OCX's they are crap - but you are still using an EXE

RE: [DUG]: DCOM and NT

1999-08-05 Thread Jeremy Coulter
Ok, yeah I have got that far sofar... Another question have is, can you setup or alter a setting in DCOMCNFG.EXE from code ?? I.e. at the moment, on the remote machine I have an IP address hard coded into it where the DCOM server is, (the machine where it is). Now, if thatIP addres changes, can I

RE: [DUG]: DCOM and NT

1999-08-05 Thread Kerry Sainsbury
--- Jeremy Coulter [EMAIL PROTECTED] wrote: I.e. at the moment, on the remote machine I have an IP address hard coded into it where the DCOM server is, (the machine where it is). Now, if thatIP addres changes, can I progmatically change thatIP address ? You could read the IP address in

RE: [DUG]: DCOM and NT

1999-08-05 Thread Jeremy Coulter
Kerry gave me an Idea...why not look in the registry, so I did, and I hve found my answerthe IP addess IS stored in the registry.so..leave me alone, I am sickmy brain isn't working right today. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

RE: [DUG]: ntdll.dll

1999-08-05 Thread Maurice Mutler
Check that you are not trying to update display components (ie labels etc) when there visible property is false. Maurice Butler Like Magic Ltd -Original Message- Hi An NT customer has started getting a the following error message when loading our Delphi app: Error in

[DUG]: Accessing IE5 (or Gecko/NS5) DOM from Delphi

1999-08-05 Thread Simon Mahony
Hi Team, I'm trying to build a web application which is capable of scanning the HTML of a loaded web page for specific tags, embedded instructions, and XML data islands. I started out with the Web Browser application sample that comes with Delphi, and found that it works fine as a way of

[DUG]: Strings, PChars, and TFileStream.Read

1999-08-05 Thread Carl Reynolds
Hi all. I thought it was safe to use PChar(MyString) in Delphi 4 whenever you needed a PChar, but I'm having a problem with the following code (somewhat simplified): var LChar: string; begin with TFileStream.Create(ParamStr(0), // Any file will do - this is just one guaranteed to exist

Re: [DUG]: ntdll.dll

1999-08-05 Thread Steven Wild
Thanks for the responses. To answer all of them so far: 1. We are doing some multi-threading but it is crashing before it gets a chance to use it 2. We are writing for Win9x in a Win9x environment (not so brave really) but we have a brave soul who decided to use it on NT. We are now

RE: [DUG]: ntdll.dll

1999-08-05 Thread Myles Penlington
Is this D3 or D4? (eg 3.01 or 4.01/4.02) One of these versions at some stage had problems with the registry on NT. It had to do with NT security - did not pay any further attention to it at the time. It may be documented on the Borland site or in the update notes, or maybe try one of the Delphi

[DUG]: RE: Strings, PChars, and TFileStream.Read

1999-08-05 Thread Myles Penlington
Read returning 0 has nothing (read should have nothing) to do with you buffer memory allocation. It is more likely it has failed to open the file on disk, or has actually reached the EOF. However for these purposes I do it this way. var Buffer: array [0..MaxBuf] of Char;{Compatible with

RE: [DUG]: Strings, PChars, and TFileStream.Read

1999-08-05 Thread Carl Reynolds
Ok, that does work. I'm confused about buffers and buffer locations though. If passing LChar[1] as an untyped var parameter passes a (constructed on the fly?) address pointing to the first character in LChar, which is then used as the address to Read into by TFileStream, shouldn't passing

RE: [DUG]: Strings, PChars, and TFileStream.Read

1999-08-05 Thread Carl Reynolds
Read returning 0 has nothing (read should have nothing) to do with you buffer memory allocation. It is more likely it has failed to open the file on disk, or has actually reached the EOF. Yes, "should have nothing" is correct. But as my test program reads a file which I know exists and is not

RE: [DUG]: DCOM and NT

1999-08-05 Thread Jeremy Coulter
that site seems to have goneit cant find the page anymoreand that after altering the URL too put a . where the / was... Jeremy Coulter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter G Jones Sent: Saturday, August 07, 1999 04:34