By writing into the registry the settings are stored only on one workstation. 0 LVL 20 Overall: Level 20 Delphi 18 Message Expert Comment by:Madshi ID: 68990382002-03-27 The following code The error being generated is Code 33: Another Process has locked a portion of the file. Porcelain View Public Profile Find More Posts by Porcelain 06-09-2010, 09:55 PM #2 Prog-Rocker just tryin to help Join Date: Jul 2006 Location: Local Space/Time Continuum Posts: 23,288 make Having the variable makes the value you pass into TIniFile easier to inspect and makes the logic you intended to write clearer to YOU, which makes the solution (the change to http://netfiscal.com/delphi-unable/delphi-unable-to-set-icon.html
The problem only occurs with Win2000. File Permissions in XP http://support.microsoft.com/kb/308419 (If you are not joined to a domain and want to view the Security tab, goto the "Set, view, change, or remove special permissions for files changing location of texmf folder for use across multiple computers (OS X / Apple) Word for fake religious people What does HR do for me? But what does that means? 0 LVL 20 Overall: Level 20 Delphi 18 Message Expert Comment by:Madshi ID: 68992112002-03-27 33 = The process can't access the specified file, because another
Regards, Madshi. 0 Message Author Comment by:ble ID: 69153062002-04-03 I found the problem. You have bookmarked an old page. I just don't see the logic of creating an TIniFile Object within a FormClose Event, more logical to create it within the FormCreate Event. -- Bitlogic Development Services. Connect with top rated Experts 19 Experts available now in Live!
Is ther a PtInCircle or PtInEllipse function. You have either misdiagnosed the problem (are you sure that everything really works out if you rename the INI in the line shown above?), or, perhaps, you already have a file more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed We had this same problem recently when trying to update an INI file under Terminal Server (W2K).
When an INI file that resides on a shared drive is cached, it makes sense for Windows to hold a lock on the file so other processes can't modify it. Article Details Views:850 Created on:Aug 06, 2014 Posted in: Delphi Poor 12345 Outstanding ©2016 QnE Software Sdn. For those of you not willing to disregard MS's warnings about SHGetSpecialFolderPath not being supported, here's an alternate version of GetFolderLocation using SHGetFolderPath, which is preferred: uses ShlObj, SHFolder, ActiveX, Windows; Quote> Delphi 5, XP, Novell 5.1 > When I try to save an ini file or write to a text file on the network, I get a message that it can't
Join the community of 500,000 technology professionals and ask your questions. http://netfiscal.com/delphi-unable/delphi-unable-to-load-libmysql.html Does a byte contain 8 bits, or 9? Output integers in negative order, increase the maximum integer everytime Is a Windows XP virtual machine with no network connection safe from hacking? Windows XP handles files differently to Windows 9x.
Thanks, You're in! That's why I wrote my second comment above, asking if the problem isn't misdiagnosed. Quote> Anne Go to page:   Other Threads 1. have a peek here Also, yes I have: Declared 'IniFiles' in the 'uses' clause (Locally) Declared IniFile I have placed that code under FormCreate, but the problem is this .ini file is not created when
Field 'MyField" not found2. As far as I am aware it is a drop-in replacement. share|improve this answer edited Oct 17 '12 at 17:31 Bo Persson 60.8k1380149 answered Oct 17 '12 at 17:28 Jp Silver 111 please use syntax highlighting: Indent everything at least
It is a drive I save to all the time. Covered by US Patent. I do have windows xp, but when I follow the steps I don't seem to have the same things to go by. I still have the error.
ble. Quote> Any suggestions would be greatly appreciated. > Thanks, > Anne Sainz Ken Whit Delphi Developer Tue, 09 Aug 2005 23:15:59 GMT Re:ini files, text files and XP Anne, Quote> When Watch this micro tutorial that describes how to configure prices for Magento super attributes. http://netfiscal.com/delphi-unable/delphi-unable-to-load.html Stu 0 Message Author Comment by:ble ID: 68988542002-03-27 The reason I am using inifiles is that users can log in on every computer and want to use their settings on
Process Stopped. Adding frmMain ties it to a single instance of the form instead of working on any instance. Get 1:1 Help Now Advertise Here Enjoyed your answer? A Paradox 7 database is handled by a Delphy 5 program made by our company.Another company uses this program and gets the error: unable to write to rbuilder.ini.