SIB file not usable

All announcements, questions and issues related to the TsiLang Components Suite.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

SIB file not usable

Post by Thomas J. »

Hello support, I have a problem with the SIB file.
My app is crashing when the form is created due to reading the SIB file.
I tried to delete the file - not possible. Message "Other person or app is using the file, ....."
I start my WinXP again and tried to delete direct after startup - not possible.

Right now I cannot work - my app is crashing and I cannot delete the file.
If I'm able to delete the file, all my work regarding translation will also be deleted.

I use in the form several frames in the form.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

It is very strange. Are you sure none of applications use this file? If you're unable to even delete (but I recommend just move it to another location) this file then may be there are some OS settings or applications blocked this file?
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

I'm not able to move, delete, rename the file or the directory where the file is located. I downloaded a "Locked Files Wizard" from http://noeld.com/updates.asp
With this app I was able to rename the file. But my changes are lost.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

It looks like there is something wrong with your OS or some settings. The renaming file couldn't cause any changes lost or so since renaming doesn't changes the content of the files.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

Sorry for my english, but what I meant is that I cannot use the SIB file anymore due to the AV when using this. So my only chance to develop my app is to rename or delete the file. And due to this are my changes lost. The file still exist with another name but I cannot use the file with a dedicated form.

I found an old SIB file on another PC. I was able to rename this file, BUT if I tried to rename it again back (3 seconds between) it is not possible :roll: :shock: :evil:

I tried to rename the file from another PC with success, but the newest file I couldn't rename, delete, ...

I work with a notebook at home and a PC in the company maybe some rights from the notebook are existing? Or maybe during the store procedure of the file something happens.

Sorry for the crazy error
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Preamble: I really think there is something wrong with OS settings on your PC. Since you're unable to rename one file back right after renaming it.

1. Do you use registered version of TsiLang Components Suite? If yes, do you have source or DCU-only edition?
2. While running your project under IDE where AV error occurs? Can you trace it a little to detect the problematic place of code?
3. How do you load SIB file?
4. I'm sorry but, do you have access to the project sources? Because I actually can't understand the following phrase:
So my only chance to develop my app is to rename or delete the file. And due to this are my changes lost.
5. Is it possible to reproduce the problem on small sample project? If yes, please send it to us.
6. Does your application works fine on regular PC or it fails on both?
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

1. Yes I use a registered full source version (Thomas Juntgen)
2. In the past I could see the stack, (somewhere in your code something like LoadLanguage) but right now only AV at adress 00000000000
3. AnsiString langFile = ChangeFileExt(Application->ExeName, ".sib" );
LgDisp->FileName = langFile;
// load translations into already created forms
LgDisp->LoadAllFromFile(langFile);
4. I have access to the source. Right now I'm working on one frame out of 150 and exact this form cannot be used with SIB file.
5. I don't think so.
6. The app crash on all PC's (my and the customer PC too)


When ever I touch the file the explorer.exe CPU needs 99%
I will try to remove your complete components and install again.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

So after removing and creating the SIB file again the same problems like before. Sorry but I cannot use your components. I could send you the SIB file maybe you could something.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

If I try to delete from the frame the captions of the TsiLangLinked component and save I get a AV (Designer of C++Builder) I also cannot changes something. When ever I try to store I get the AV on address 0000000000000

So the problem is the frame and the TsiLangLinked component
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Does the same apply for any frame of your project and TsiLangLinked on it?
I doubt you SIB will be helpful. The sample project that reproduces your problem will be more helpful for sure.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

I could send you the frame files which are not working. It is the only file which is not working. And regarding this problem the SIB is not used. So the question is. If the problem could be solved with frame; could be the SIB file created correct.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Please send us the frame sources and SIB file to support at sicomponents dot com. We will try to find the origin of problem.
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

Done
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

1. SIB file gets locked due its size. When installing TsiLang Components Suite it is installed shell extention that display additional information in Widnows explorer about SIL and SIB files. It it just needs "some time" to load such huge SIB file. So if you wait several seconds after selecting SIB in explorer you will be able to delete/rename or copy it. But it is correct and was created correctly.
2. Your problematic frame (TFrRechnung) is not included into SIB file so the issues are not related.
3. Please set IsInheritedOwner property to True for all TsiLangs used on inherited frames/forms.
4. Please upgrade to the latest available (6.0.2) version from our web site. As far as I can see you use older version.

I can't see any reason of AV error while deleting TsiLang from frame, except: you cannot! delete it from TFrRechnung frame because it is inherited and in order to delete it you will need to delete it from the base frame, but this will cause all your frames inherited from base one will loose their TsiLangs. So I guess the error in your IDE caused you used some IDE extention because in reality there is displayed error like: "Unable to delete ... because it is used in base class..."
Best regards,
Igor Siticov.
Thomas J.
Posts: 129
Joined: Fri Jan 06, 2006 8:09 am

Post by Thomas J. »

1. that's correct, but huge SIB file < 800KB
2. that's also true
4. I'm using 6.0.2

5. You shouldn't delete the component you should try to delete the captions of the component. Or you can also change a caption of the property Captions. If you try to save by clicking on "Closed Saved" you should get the AV. ".... on address ... in module 'TSiLang_CB6.bpl'. Read from address 000000000"
Post Reply