Jump to content

AndrewHoward

Members
  • Content Count

    18
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. AndrewHoward

    "Fatal: F2048 Bad unit format" error in Delphi 10 Seattle

    I found out that version 32.0 comes from this command which needs to be executed when you run Install.bat: "C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\dcc32.exe" -q -w -E..\bin -I..\source\include JediIncCheck.dpr If you run dcc32, this is what you get: C:\Program Files (x86)\Embarcadero\Studio\17.0\bin>dcc32 Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. I still don't know what's causing my error! Can anyone help ? Thanks
  2. AndrewHoward

    "Fatal: F2048 Bad unit format" error in Delphi 10 Seattle

    I'm definately using Delphi 10 and not 10.2. I think something else is confustion Delphi. I think error is related to library paths or platform variable or BDSLIB variable.
  3. Hi, I'm using Delphi 10 Seattle & I'm trying to install JEDI VCL but I'm getting this error: Compiling JediIncCheck... Using Embarcadero RAD Studio 10 Seattle Using search path: C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. JediIncCheck.dpr(2) Fatal: F2048 Bad unit format: 'C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\System.dcu' - Expected version: 32.0, Windows Unicode(x86) Found version: 30.0, Windows Unicode(x86) An error occured while compiling the installer. Installation aborted. This error isn't specific to JEDI as I had a similar error when I was trying to install another third party compoent. I got this error when I run the install.bat. I get something similar when I try to install using the Delphi GetIt manager. What causes the error & how to fix it? Thanks
  4. Hi, I'm trying to build an old Delphi project but IDE can't find these units: JvWizard & JvWizardRouteMapList What are they ? Where can I find them ? Thanks
  5. AndrewHoward

    Install Raize components 6.1.10 in Delphi 10

    Hi, According to this website, it should work for Dephi Belin version too. https://www.caseagainstfaith.com/using-raize-components.html But RaizeComponents_LibSuffix.inc file needs to be amended 1st. My files seem to be correct but I still can't get Raize to build using cmd, am I missing something ? I'm still getting the same error: Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. RaizeComponentsVcl_Reg.pas(25) Fatal: E2213 Bad packaged unit format: C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\rtl.dcp.System - Expected version: 32.0, Windows Unicode(x86) Found version: 30.0, Windows Unicode(x86) **ERROR** I have attached my RzComps.inc & RaizeComponents_ibSuffix.inc files. Thanks. RaizeComponents_LibSuffix.inc RzComps.inc
  6. AndrewHoward

    Install Raize components 6.1.10 in Delphi 10

    I removed everything except pas & dfm files. When I run build sript it complained about RzComps.inc being missing: *************************************************** Building Raize Components 6 *************************************************** #### RAD Studio 10 Seattle : 32-bit ############ Compiling RaizeComponentsVcl_Reg.pas File... Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. RaizeComponentsVcl_Reg.pas(22) Fatal: F1026 File not found: 'RzComps.inc' **ERROR** When I added RzComps.inc back in it gave me the same error: Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. RaizeComponentsVcl_Reg.pas(25) Fatal: E2213 Bad packaged unit format: C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\rtl.dcp.System - Expected version: 32.0, Windows Unicode(x86) Found version: 30.0, Windows Unicode(x86) **ERROR** The RzComps.inc file I'm using is attached. These are the contents of the original Raize 6 soure folder: [.] [..] !Build_RC6.cmd RaizeComponentsSplash.res RaizeComponentsVcl.dpk RaizeComponentsVcl.res RaizeComponentsVclDb.dpk RaizeComponentsVclDb.res RaizeComponentsVclDb_Description.inc RaizeComponentsVclDb_Design.dpk RaizeComponentsVclDb_Design.res RaizeComponentsVclDb_Reg.pas RaizeComponentsVcl_16x16.dcr RaizeComponentsVcl_24x24.dcr RaizeComponentsVcl_32x32.dcr RaizeComponentsVcl_Description.inc RaizeComponentsVcl_Design.dpk RaizeComponentsVcl_Design.res RaizeComponentsVcl_Reg.pas RaizeComponents_LibSuffix.inc RzAboutEditor.dfm RzAboutEditor.pas RzAnimtr.pas RzBckgnd.pas RzBHints.pas RzBmpBtn.pas RzBorder.pas RzBtnEdt.pas RzBtnEdt.res RzButton.pas RzButtonEditor.dfm RzButtonEditor.pas RzCaptionEditor.dfm RzCaptionEditor.pas RzCheckGroupEditor.dfm RzCheckGroupEditor.pas RzCheckListEditor.dfm RzCheckListEditor.pas RzCheckListItemForm.dfm RzCheckListItemForm.pas RzCheckListTabStopEditor.dfm RzCheckListTabStopEditor.pas RzChkLst.pas RzCmboBx.pas RzCmboBx.res RzColorNamesEditor.dfm RzColorNamesEditor.pas RzComboBoxEditor.dfm RzComboBoxEditor.pas RzCommon.pas RzCommonBitmaps.pas RzCommonBitmaps.res RzCommonCursors.pas RzCommonCursors.res RzComps.inc RzDBBnEd.pas RzDBChk.pas RzDBCmbo.pas RzDBComboBoxEditor.dfm RzDBComboBoxEditor.pas RzDBDesignEditors.pas RzDBDTP.pas RzDBEdit.pas RzDBGrid.pas RzDBLbl.pRzComps.incas RzDBList.pas RzDBLook.pas RzDBLookupForm.dfm RzDBLookupForm.pas RzDBNav.pas RzDBNav.res RzDBNavEditor.pas RzDBProg.pas RzDBRadioGroupEditor.dfm RzDBRadioGroupEditor.pas RzDBRGrp.pas RzDBSpin.pas RzDBStat.pas RzDBStat.res RzDBTrak.pas RzDesignEditors.pas RzDesignEditors.res RzDlgBtn.pas RzDTP.pas RzEdit.pas RzFilSys.pas RzFilSys.res RzForms.pas RzGrafx.pas RzGrids.pas RzGroupBar.pas RzGroupBarEditor.dfm RzGroupBarEditor.pas RzImageListEditor.pas RzIntLst.pas RzLabel.pas RzLabelEditor.dfm RzLabelEditor.pas RzLaunch.pas RzLine.pas RzListVw.pas RzLookup.pas RzLookupForm.dfm RzLookupForm.pas RzLstBox.pas RzPanel.pas RzPanelEditor.dfm RzPanelEditor.pas RzPathBar.pas RzPathBarEditor.pas RzPopups.pas RzPrgres.pas RzRadChk.pas RzRadGrp.pas RzRadioGroupEditor.dfm RzRadioGroupEditor.pas RzSelDir.pas RzSelDirForm.dfm RzSelDirForm.pas RzSelectImageEditor.dfm RzSelectImageEditor.pas RzShellConsts.pas RzShellCtrls.pas RzShellDesignEditors.dfm RzShellDesignEditors.pas RzShellDialogs.pas RzShellFolderForm.dfm RzShellFolderForm.pas RzShellIntf.pas RzShellOpenForm.dfm RzShellOpenForm.pas RzShellUtils.pas RzSndMsg.pas RzSplit.pas RzSplit.res RzSplitterEditor.dfm RzSplitterEditor.pas RzSpnEdt.pas RzStatus.pas RzStringListEditor.dfm RzStringListEditor.pas RzStringModule.pas RzSysRes.pas RzTabs.pas RzTabStopEditor.dfm RzTabStopEditor.pas RzToolbarEditor.dfm RzToolbarEditor.pas RzToolbarForm.dfm RzToolbarForm.pas RzToolbarPrefixForm.dfm RzToolbarPrefixForm.pas RzTray.pas RzTreeVw.pas RzTrkBar.pas RzTrkBar.res Thanks RzComps.inc
  7. AndrewHoward

    Install Raize components 6.1.10 in Delphi 10

    Hi, I installed Raize 6.1.10. I had to choose XE8 as Seattle option wasn't available. I went to the Raize source folder & updated the build script !Build_RC6.cmd (attached) . When I run the build script I get this error: #### RAD Studio 10 Seattle : 32-bit ############ Compiling RaizeComponentsVcl_Reg.pas File... Embarcadero Delphi for Win32 compiler version 32.0 Copyright (c) 1983,2016 Embarcadero Technologies, Inc. RaizeComponentsVcl_Reg.pas(25) Fatal: E2213 Bad packaged unit format: C:\Program Files (x86)\Embarcadero\Studio\17.0\lib\win32\release\rtl.dcp.System - Expected version: 32.0, Windows Unicode(x86) Found version: 30.0, Windows Unicode(x86) **ERROR** Press any key to continue . %DCC32% evaluates to "C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\DCC32.exe" -Q -W -H -NSSystem;System.Win;Winapi;Vcl;Vcl.Imaging;Data; -$D- -$L- -$Y- %Options% evaluates to: -LUDclStd And %ND_RegFile% evaluates to: RaizeComponentsVcl_Reg.pas Does anyone know a soultion to this problem? Note: I'd like to use Raize 6.1.10 (specifically this version) with Delphi 10 Seattle. Thanks. !Build_RC6_SND.txt
  8. Hi, I'd like to install Raize components 6.1.10 (specifically this version) in Delphi 10 Seattle, does anyone know how ? I have the components & the serials. I know there are newer versions but I need version 6.1.10. Thanks
  9. Hi, I have a Raize components 6.1.10 (with reg keys) & I'd like to install them in Delphi 10 Seattle, does anyone know how ? Thanks
  10. AndrewHoward

    What's the equivalent of this ?

    Hi, What's the equivalent of this code in C# ? procedure FetchFromIStream( myStream : TStream ; myIStream : IStream ) ; var TOS : TOLEStream ; begin TOS:=TOLEStream.Create(myIStream) ; try TOS.position:=0 ; myStream.position:=0 ; myStream.copyFrom(TOS,TOS.Size) ; myStream.Position:=0 ; TOS.position:=0 ; finally FreeAndNil(TOS); End ; end ; TIA
  11. AndrewHoward

    Managed dll instead of an unmanaged one

    Thank you. Would using a managed C# DLL in unmanaged Delphi app cause any CLR issues ? Thanks
  12. Hi, I have an application which loads & uses an unmanaged dll. All I have to do is drop the dll it in a specific folder. Can I use a .Net dll instead ? (I know the .Net dll needs to expose the same functions which are in the unmanaged dll) Can an unmanaged & managed DLLs be used interchangeably ? Thanks
  13. AndrewHoward

    Delphi books

    Hi, Which delphi books do you recommend ? Thanks
  14. Hi, Why do these two statemets give different results ? Pos('#$02','bla,bla,#$02,bla');// Pos = 9 const STX=#$02; Pos(STX,'bla,bla,#$02,bla'); // Pos = 0 Thanks
  15. Hello, I am receiving data about different holidays in a delimited string e.g: Booking number, flight details, package type, etc... There are serveral holiday types e.g Beach holidays Ski holidays All-inclusive City breaks Most of the holiday types have the same fields but there are some differences, e.g. some holidays don't have fight details. I would like to create a function to which I pass the delimited string & it returns the object which represents the booked holiday: Booking number, flight details, package type Booking number, cruise details, package type, pick-up point Which is the best to achieve this ? I can create a record which holds all possible fields & return that as a result. Is there a better way? Thank you.
×