Error Creating Form Identifier Expected On Line
Forum Index -> TsiLang Components Suite View previous topic :: View next topic Author Message DadeurJoined: 04 Apr 2003Posts: 5 Posted: Tue Apr 08, 2003 3:10 pm Post subject: Sil Editor problem Hello I've modified a sil file with the editor and after I've reloaded the file with the expert, Delphi can't compile the project saying: RLINK32: Unsupported 16bit resurce in file xxxxx.dfm If I tray to open the form Delphi says: Error creating form: Identifier expected on line xxx on line xxx there is this line of code: ValuesEx = {50617373776F72640150617373776F72640101} Has the Editor corrupted my file? How can I fix the problem? Please help me Thanks a lot Back to top gaivansJoined: 29 Nov 2002Posts: 71 Posted: Wed Apr 09, 2003 6:47 am Post subject: Hello, We will fix this issue in the next version release. Please, modify the unit siComp.pas as follows: In the procedure TsiCustomLang.LoadExtendedFromFile(const FileName: Tstring; const CanRewrite: Boolean); Before the line: EI.PropertyType := TTypeKind(GetEnumValue(TypeInfo(TTypeKind), S1)); Add the line: if AnsiPos(delim, S1) <> 0 then Delete(S1, AnsiPos(delim, S1), MaxWord); // 5.2.3 After that, re-build the package and load the translations from SIL file. Back to top DadeurJoined: 04 Apr 2003Posts: 5 Posted: Wed Apr 09, 2003 7:32 am Post subject: Hi gaivans, thanks for your kind reply. This will surely fix siComp but my actual problem is to fix the corrupted files because I was in a hurry and I missed the backup of my project ... Back to top gaivansJoined: 29 Nov 2002Posts: 71 Posted: Wed Apr 09, 2003 7:49 am Post subject: Hello, This will help to restore the corrupted files: 1. Open the corrupted .dfm file in a text editor, i.e., in Notepad.exe. 2. Select File|Replace..., and replace: PropertyType = with: PropertyType = tkInteger 3. Press "Replace All". 4. Save the file. After that the .dfm file could be opened in the IDE. Back to top DadeurJoined: 04 Apr 2003Posts: 5 Posted: Wed Apr 09, 2003 8:05 am Post subject: Yeah ! it works ! I really appreciated your help gaivans. You saved my life Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT Page 1 of 1 Jump to:Select a forumPublic----------------GeneralTsiLang Components SuiteResource BuilderVCL Scheduling AgentRegKeeperMSEWRegistration Problems You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in
users. Common questions. Bug and problem reports Moderator: Alex Zencovich Post a reply 6 posts • Page 1 of 1 Error compiling with new version by altink » Fri Sep 08, 2006 7:27 pm Hi Alex First let me congratulate you for this fine job. I have seen PivotCube for some time, thougt it was right what I was lookin for and testing it a bit. I have recently downloaded the latest PivotCube VCL Freeware and installed it (I am using Delphi 2006). When I reopened my project (compiled successfully with previous PivotCube) I had this problem. 1. Just when I open my project I receive "Error creating form: Identifier expected on line http://www.sicomponents.com/forum/viewtopic.php?t=46&sid=a0b3241ff31efd77d614bca1d0706f74 429" 2. I cannot open my form from this point. 3. Compiler's error message at Ctrl+F9 is: [Pascal Fatal Error] MainDemo.pas(15): F2051 Unit PivotCube_SRC was compiled with a different version of zCube_TLB.ICube 4. Unknown appearing in the uses list are: PivotCube_SRC, PivotGrid_SRC and PivotToolBar_SRC. Meanwhile I have no problem running the demo unicode provided with this latest PivotCube version. My project was completely based in the previous version's demo also. I just changed http://pivotcube.com/forum/viewtopic.php?t=80 the datas and left all rest as it was Please advise wish you success Altin altink Guest Posts: 3Joined: Fri Sep 08, 2006 6:37 pm Top Re: Error compiling with new version by AlexZencovich » Fri Sep 08, 2006 8:46 pm First let me congratulate you for this fine job. I have seen PivotCube for some time, thougt it was right what I was lookin for and testing it a bit. 1. Just when I open my project I receive "Error creating form: Identifier expected on line 429"Hmm. Usually it happened when dfm contain enum value which does not exists in installed bpl. Line 429 of MainDemo.dfm have codeSettings.PrintSettings.TrueTypeFont.Color = clWindowTextProbably it does not mean same in your project. Could you see?3. Compiler's error message at Ctrl+F9 is:[Pascal Fatal Error] MainDemo.pas(15): F2051 Unit PivotCube_SRC was compiled with a different version of zCube_TLB.ICube It is mean you have zCube_TLB.dcu (or pas) somewhere in your IDE search paths, before IDE find zCube_TLB.dcu from installed package. Check IDE \Imports at first - sometimes Delphi IDE install used OLE import files autoomatically and \Imports placed before all most other library path's. Also check your project directory. 4. Unknown appearing in the uses list are:PivotCube_SRC, PivotGrid_SRC and PivotToolBar_SRC. ??? I could not understand what you mean here. Seems like you install new ver
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel https://msdn.microsoft.com/en-us/library/cf3kzcs0.aspx 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Visual Basic http://freepascal.ru/forum/viewtopic.php?f=23&t=9669 Reference Visual Basic Language Reference Error Messages Error Messages Identifier expected Identifier expected Identifier expected '#ElseIf' must be preceded by a matching '#If' or '#ElseIf' '#Region' and '#End error creating Region' statements are not valid within method bodies/multiline lambdas '
не существует. Список форумов Наша команда • Удалить cookies конференции • Часовой пояс: UTC + 3 часа [ Летнее время ] Powered by phpBB Forum Software © phpBB Group Русская поддержка phpBB