Recent

Author Topic: dev-cpp ported to Free Pascal  (Read 20635 times)

tbreina

  • Guest
Re: dev-cpp ported to Free Pascal
« Reply #15 on: February 18, 2006, 11:49:38 am »
Quote from: "glober"

Can you post the .dpr here ? As far as I know the .dpr file is not XML (going by Delphi 7 PE and Kylix 3 OE).


Sure. Here's the devcpp.dpr file (Delphi 6 PE).

Code: [Select]

<?xml version="1.0"?>
<CONFIG>
  <ProjectOptions>
    <PathDelim Value="\"/>
    <Version Value="5"/>
    <General>
      <IconPath Value="./"/>
      <TargetFileExt Value=".exe"/>
      <ActiveEditorIndexAtStart Value="56"/>
    </General>
    <LazDoc Paths=""/>
    <PublishOptions>
      <Version Value="2"/>
      <IgnoreBinaries Value="False"/>
      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
    </PublishOptions>
    <RunParams>
      <local>
        <FormatVersion Value="1"/>
        <LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
      </local>
    </RunParams>
    <Units Count="73">
      <Unit0>
        <Filename Value="AboutFrm.pas"/>
        <UnitName Value="AboutFrm"/>
        <CursorPos X="9" Y="36"/>
        <TopLine Value="19"/>
        <UsageCount Value="10"/>
      </Unit0>
      <Unit1>
        <Filename Value="AddToDoFm.pas"/>
        <UnitName Value="AddToDoFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="16"/>
        <UsageCount Value="10"/>
      </Unit1>
      <Unit2>
        <Filename Value="CFGData.pas"/>
        <UnitName Value="CFGData"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="15"/>
        <UsageCount Value="10"/>
      </Unit2>
      <Unit3>
        <Filename Value="CFGINI.pas"/>
        <UnitName Value="CFGINI"/>
        <CursorPos X="5" Y="28"/>
        <TopLine Value="16"/>
        <UsageCount Value="10"/>
      </Unit3>
      <Unit4>
        <Filename Value="CFGReg.pas"/>
        <UnitName Value="CFGReg"/>
        <CursorPos X="1" Y="29"/>
        <TopLine Value="11"/>
        <UsageCount Value="10"/>
      </Unit4>
      <Unit5>
        <Filename Value="cfgTypes.pas"/>
        <UnitName Value="cfgTypes"/>
        <CursorPos X="13" Y="33"/>
        <TopLine Value="19"/>
        <UsageCount Value="10"/>
      </Unit5>
      <Unit6>
        <Filename Value="CheckForUpdate.pas"/>
        <UnitName Value="CheckForUpdate"/>
        <CursorPos X="12" Y="38"/>
        <TopLine Value="19"/>
        <UsageCount Value="10"/>
      </Unit6>
      <Unit7>
        <Filename Value="CheckFrm.pas"/>
        <UnitName Value="CheckFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="18"/>
        <UsageCount Value="10"/>
      </Unit7>
      <Unit8>
        <Filename Value="CodeIns.pas"/>
        <UnitName Value="CodeIns"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <UsageCount Value="10"/>
      </Unit8>
      <Unit9>
        <Filename Value="CompileProgressFm.pas"/>
        <UnitName Value="CompileProgressFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="18"/>
        <UsageCount Value="10"/>
      </Unit9>
      <Unit10>
        <Filename Value="CVSPasswdFm.pas"/>
        <UnitName Value="CVSPasswdFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="16"/>
        <UsageCount Value="10"/>
      </Unit10>
      <Unit11>
        <Filename Value="compiler.pas"/>
        <UnitName Value="compiler"/>
        <CursorPos X="12" Y="38"/>
        <TopLine Value="19"/>
        <UsageCount Value="10"/>
      </Unit11>
      <Unit12>
        <Filename Value="CompilerOptionsFrame.pas"/>
        <UnitName Value="CompilerOptionsFrame"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="20"/>
        <UsageCount Value="10"/>
      </Unit12>
      <Unit13>
        <Filename Value="CompOptionsFrm.pas"/>
        <UnitName Value="CompOptionsFrm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="20"/>
        <UsageCount Value="10"/>
      </Unit13>
      <Unit14>
        <Filename Value="CPUFrm.pas"/>
        <UnitName Value="CPUFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="18"/>
        <UsageCount Value="10"/>
      </Unit14>
      <Unit15>
        <Filename Value="CVSFm.pas"/>
        <UnitName Value="CVSFm"/>
        <CursorPos X="38" Y="22"/>
        <TopLine Value="19"/>
        <UsageCount Value="10"/>
      </Unit15>
      <Unit16>
        <Filename Value="WindowListFrm.pas"/>
        <UnitName Value="WindowListFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="20"/>
        <EditorIndex Value="0"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit16>
      <Unit17>
        <Filename Value="CVSThread.pas"/>
        <UnitName Value="CVSThread"/>
        <CursorPos X="23" Y="37"/>
        <TopLine Value="20"/>
        <EditorIndex Value="1"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit17>
      <Unit18>
        <Filename Value="datamod.pas"/>
        <UnitName Value="datamod"/>
        <CursorPos X="1" Y="29"/>
        <TopLine Value="20"/>
        <EditorIndex Value="2"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit18>
      <Unit19>
        <Filename Value="debugfrm.pas"/>
        <UnitName Value="debugfrm"/>
        <CursorPos X="25" Y="35"/>
        <TopLine Value="21"/>
        <EditorIndex Value="3"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit19>
      <Unit20>
        <Filename Value="debugger.pas"/>
        <UnitName Value="debugger"/>
        <CursorPos X="12" Y="34"/>
        <TopLine Value="18"/>
        <EditorIndex Value="4"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit20>
      <Unit21>
        <Filename Value="debugreader.pas"/>
        <UnitName Value="debugreader"/>
        <CursorPos X="12" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="5"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit21>
      <Unit22>
        <Filename Value="debugwait.pas"/>
        <UnitName Value="debugwait"/>
        <CursorPos X="12" Y="34"/>
        <TopLine Value="18"/>
        <EditorIndex Value="6"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit22>
      <Unit23>
        <Filename Value="devcfg.pas"/>
        <UnitName Value="devcfg"/>
        <CursorPos X="29" Y="50"/>
        <TopLine Value="36"/>
        <EditorIndex Value="7"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit23>
      <Unit24>
        <Filename Value="devconnect.pas"/>
        <UnitName Value="devconnect"/>
        <CursorPos X="11" Y="34"/>
        <TopLine Value="21"/>
        <EditorIndex Value="8"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit24>
      <Unit25>
        <Filename Value="devExec.pas"/>
        <UnitName Value="devExec"/>
        <CursorPos X="12" Y="34"/>
        <TopLine Value="17"/>
        <EditorIndex Value="9"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit25>
      <Unit26>
        <Filename Value="devrun.pas"/>
        <UnitName Value="devrun"/>
        <CursorPos X="12" Y="38"/>
        <TopLine Value="18"/>
        <EditorIndex Value="10"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit26>
      <Unit27>
        <Filename Value="DevThemes.pas"/>
        <UnitName Value="DevThemes"/>
        <CursorPos X="1" Y="29"/>
        <TopLine Value="11"/>
        <EditorIndex Value="11"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit27>
      <Unit28>
        <Filename Value="editor.pas"/>
        <UnitName Value="editor"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="18"/>
        <EditorIndex Value="12"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit28>
      <Unit29>
        <Filename Value="EditorOptfrm.pas"/>
        <UnitName Value="EditorOptfrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="21"/>
        <EditorIndex Value="13"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit29>
      <Unit30>
        <Filename Value="Envirofrm.pas"/>
        <UnitName Value="Envirofrm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="21"/>
        <EditorIndex Value="14"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit30>
      <Unit31>
        <Filename Value="ExceptionsAnalyzer.pas"/>
        <UnitName Value="ExceptionsAnalyzer"/>
        <CursorPos X="3" Y="41"/>
        <TopLine Value="21"/>
        <EditorIndex Value="15"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit31>
      <Unit32>
        <Filename Value="FileAssocs.pas"/>
        <UnitName Value="FileAssocs"/>
        <CursorPos X="12" Y="34"/>
        <TopLine Value="17"/>
        <EditorIndex Value="16"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit32>
      <Unit33>
        <Filename Value="FilePropertiesFm.pas"/>
        <UnitName Value="FilePropertiesFm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="22"/>
        <EditorIndex Value="17"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit33>
      <Unit34>
        <Filename Value="Findfrm.pas"/>
        <UnitName Value="Findfrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="19"/>
        <EditorIndex Value="18"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit34>
      <Unit35>
        <Filename Value="FunctionSearchFm.pas"/>
        <UnitName Value="FunctionSearchFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="19"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit35>
      <Unit36>
        <Filename Value="GotoLineFrm.pas"/>
        <UnitName Value="GotoLineFrm"/>
        <CursorPos X="12" Y="41"/>
        <TopLine Value="25"/>
        <EditorIndex Value="20"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit36>
      <Unit37>
        <Filename Value="helpfrm.pas"/>
        <UnitName Value="helpfrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="16"/>
        <EditorIndex Value="21"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit37>
      <Unit38>
        <Filename Value="IconFrm.pas"/>
        <UnitName Value="IconFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="18"/>
        <EditorIndex Value="22"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit38>
      <Unit39>
        <Filename Value="ImageTheme.pas"/>
        <UnitName Value="ImageTheme"/>
        <CursorPos X="12" Y="42"/>
        <TopLine Value="24"/>
        <EditorIndex Value="23"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit39>
      <Unit40>
        <Filename Value="ImportMSVCFm.pas"/>
        <UnitName Value="ImportMSVCFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="24"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit40>
      <Unit41>
        <Filename Value="Incrementalfrm.pas"/>
        <UnitName Value="Incrementalfrm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="19"/>
        <EditorIndex Value="25"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit41>
      <Unit42>
        <Filename Value="LangFrm.pas"/>
        <UnitName Value="LangFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="26"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit42>
      <Unit43>
        <Filename Value="Macros.pas"/>
        <UnitName Value="Macros"/>
        <CursorPos X="5" Y="28"/>
        <TopLine Value="17"/>
        <EditorIndex Value="27"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit43>
      <Unit44>
        <Filename Value="main.pas"/>
        <UnitName Value="main"/>
        <CursorPos X="31" Y="40"/>
        <TopLine Value="26"/>
        <EditorIndex Value="28"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit44>
      <Unit45>
        <Filename Value="MemCheck.pas"/>
        <UnitName Value="MemCheck"/>
        <CursorPos X="1" Y="121"/>
        <TopLine Value="105"/>
        <EditorIndex Value="29"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit45>
      <Unit46>
        <Filename Value="ModifyVarFrm.pas"/>
        <UnitName Value="ModifyVarFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="30"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit46>
      <Unit47>
        <Filename Value="MultiLangSupport.pas"/>
        <UnitName Value="MultiLangSupport"/>
        <CursorPos X="3" Y="48"/>
        <TopLine Value="27"/>
        <EditorIndex Value="31"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit47>
      <Unit48>
        <Filename Value="NewClassFm.pas"/>
        <UnitName Value="NewClassFm"/>
        <CursorPos X="29" Y="35"/>
        <TopLine Value="16"/>
        <EditorIndex Value="32"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit48>
      <Unit49>
        <Filename Value="NewMemberFm.pas"/>
        <UnitName Value="NewMemberFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="16"/>
        <EditorIndex Value="33"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit49>
      <Unit50>
        <Filename Value="NewProjectFrm.pas"/>
        <UnitName Value="NewProjectFrm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="20"/>
        <EditorIndex Value="34"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit50>
      <Unit51>
        <Filename Value="NewTemplateFm.pas"/>
        <UnitName Value="NewTemplateFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="35"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit51>
      <Unit52>
        <Filename Value="NewVarFm.pas"/>
        <UnitName Value="NewVarFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="16"/>
        <EditorIndex Value="36"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit52>
      <Unit53>
        <Filename Value="oysUtils.pas"/>
        <UnitName Value="oysUtils"/>
        <CursorPos X="5" Y="28"/>
        <TopLine Value="11"/>
        <EditorIndex Value="37"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit53>
      <Unit54>
        <Filename Value="ParamsFrm.pas"/>
        <UnitName Value="ParamsFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="38"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit54>
      <Unit55>
        <Filename Value="PrintFrm.pas"/>
        <UnitName Value="PrintFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="39"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit55>
      <Unit56>
        <Filename Value="prjtypes.pas"/>
        <UnitName Value="prjtypes"/>
        <CursorPos X="1" Y="29"/>
        <TopLine Value="11"/>
        <EditorIndex Value="40"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit56>
      <Unit57>
        <Filename Value="ProcessListFrm.pas"/>
        <UnitName Value="ProcessListFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="41"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit57>
      <Unit58>
        <Filename Value="ProfileAnalysisFm.pas"/>
        <UnitName Value="ProfileAnalysisFm"/>
        <CursorPos X="38" Y="31"/>
        <TopLine Value="17"/>
        <EditorIndex Value="42"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit58>
      <Unit59>
        <Filename Value="project.pas"/>
        <UnitName Value="project"/>
        <CursorPos X="1" Y="29"/>
        <TopLine Value="17"/>
        <EditorIndex Value="43"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit59>
      <Unit60>
        <Filename Value="ProjectOptionsFrm.pas"/>
        <UnitName Value="ProjectOptionsFrm"/>
        <CursorPos X="3" Y="41"/>
        <TopLine Value="20"/>
        <EditorIndex Value="44"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit60>
      <Unit61>
        <Filename Value="RemoveUnitFrm.pas"/>
        <UnitName Value="RemoveUnitFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="21"/>
        <EditorIndex Value="45"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit61>
      <Unit62>
        <Filename Value="Replacefrm.pas"/>
        <UnitName Value="Replacefrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="46"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit62>
      <Unit63>
        <Filename Value="ResourceSelector.pas"/>
        <UnitName Value="ResourceSelector"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="47"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit63>
      <Unit64>
        <Filename Value="Search_Center.pas"/>
        <UnitName Value="Search_Center"/>
        <CursorPos X="1" Y="27"/>
        <TopLine Value="14"/>
        <EditorIndex Value="48"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit64>
      <Unit65>
        <Filename Value="Splash.pas"/>
        <UnitName Value="Splash"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="20"/>
        <EditorIndex Value="49"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit65>
      <Unit66>
        <Filename Value="Templates.pas"/>
        <UnitName Value="Templates"/>
        <CursorPos X="1" Y="27"/>
        <TopLine Value="11"/>
        <EditorIndex Value="50"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit66>
      <Unit67>
        <Filename Value="TipOfTheDayFm.pas"/>
        <UnitName Value="TipOfTheDayFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="51"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit67>
      <Unit68>
        <Filename Value="ToolEditFrm.pas"/>
        <UnitName Value="ToolEditFrm"/>
        <CursorPos X="3" Y="39"/>
        <TopLine Value="20"/>
        <EditorIndex Value="52"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit68>
      <Unit69>
        <Filename Value="ToolFrm.pas"/>
        <UnitName Value="ToolFrm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="19"/>
        <EditorIndex Value="53"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit69>
      <Unit70>
        <Filename Value="utils.pas"/>
        <UnitName Value="utils"/>
        <CursorPos X="12" Y="34"/>
        <TopLine Value="18"/>
        <EditorIndex Value="54"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit70>
      <Unit71>
        <Filename Value="version.pas"/>
        <UnitName Value="version"/>
        <CursorPos X="10" Y="26"/>
        <TopLine Value="11"/>
        <EditorIndex Value="55"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit71>
      <Unit72>
        <Filename Value="ViewToDoFm.pas"/>
        <UnitName Value="ViewToDoFm"/>
        <CursorPos X="3" Y="38"/>
        <TopLine Value="17"/>
        <EditorIndex Value="56"/>
        <UsageCount Value="10"/>
        <Loaded Value="True"/>
      </Unit72>
    </Units>
    <JumpHistory Count="0" HistoryIndex="-1"/>
  </ProjectOptions>
  <CompilerOptions>
    <Version Value="5"/>
    <PathDelim Value="\"/>
    <CodeGeneration>
      <Generate Value="Faster"/>
    </CodeGeneration>
    <Other>
      <CompilerPath Value="$(CompPath)"/>
    </Other>
  </CompilerOptions>
  <Debugging>
    <Exceptions Count="2">
      <Item1>
        <Name Value="ECodetoolError"/>
      </Item1>
      <Item2>
        <Name Value="EFOpenError"/>
      </Item2>
    </Exceptions>
  </Debugging>
</CONFIG>

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: dev-cpp ported to Free Pascal
« Reply #16 on: February 18, 2006, 01:45:02 pm »
Quote
Yes, I tried renaming .dpr to .lpr and followed the other steps. Looks like Lazarus doesn't understand the .lpr file. On a "Build all", it wants the file to start with the line "BEGIN". My .dpr file appears to be an XML format (created with Delphi 6 PE).


Sorry .... I am just too used to seing .dpr files that are normal source files. This is a project file, not a source file.

The file you showed us doesn´t even correspond to a .lpr on Lazarus. I think it corresponds (kind of, at least) to a .lpi. You could try renaming to .lpi. If it doesn´t work you will have to create a new project. Isn´t much work, just add the main unit and let the compiler find the rest.

By the way, can you also post the main Unit here? The unit with the program key word (if it´s not huge).

tbreina

  • Newbie
  • Posts: 4
dev-cpp ported to Free Pascal
« Reply #17 on: February 18, 2006, 05:17:17 pm »
The CVS for the source code can be accessed online via Source Forge. Here's the listing of the main.pas file (http://cvs.sourceforge.net/viewcvs.py/dev-cpp/V5/source/main.pas?rev=1.347&view=markup).

-Tony

Anonymous

  • Guest
dev-cpp ported to Free Pascal
« Reply #18 on: February 18, 2006, 05:41:44 pm »
The source you posted does look like an .lpi file, which is type XML. It is not the .dpr file, the .dpr file is here: http://cvs.sourceforge.net/viewcvs.py/dev-cpp/V5/source/devcpp.dpr?rev=1.68&view=auto

BTW, in case you don't know, even though the .dpr and .lpr are virtually the same, the .lpr isn't used for opening up a Lazarus project, the .lpi is.

OnixJr

  • Full Member
  • ***
  • Posts: 172
    • http://www.brlazarus.kit.net
RE: Re: dev-cpp ported to Free Pascal
« Reply #19 on: February 25, 2006, 08:04:31 pm »
Dev-CPP use MDI Forms...
tbreina You pretender to use MultiDoc???

Why Dev-CPP and not Dev-Pascal???
Portal Lazarus Brasil - http://lazaruspascal.codigolivre.org.br/portal.php
Lazarus BOOK (in portuguese) - http://lazarus-book.blogspot.com
<hipernetjr@yahoo.com.br> - Curitiba/Brazil

tbreina

  • Newbie
  • Posts: 4
Re: RE: Re: dev-cpp ported to Free Pascal
« Reply #20 on: March 02, 2006, 07:58:44 pm »
Quote from: "OnixJr"
Dev-CPP use MDI Forms...
tbreina You pretender to use MultiDoc???

Why Dev-CPP and not Dev-Pascal???


I don't quiet understand your message. What are you asking about MDI forms?

Are you just asking me why I'm trying to port Dev-Cpp rather than Dev-Pascal? I suppose the answer is simply that I use DevCpp but not Dev-Pascal. However, it looks like it would require a fairly large re-write of the DevCpp code. So for now, I'm just playing with the code.

-Tony

OnixJr

  • Full Member
  • ***
  • Posts: 172
    • http://www.brlazarus.kit.net
RE: Re: RE: Re: dev-cpp ported to Free Pascal
« Reply #21 on: March 04, 2006, 11:23:46 pm »
My question is if you will use MultiDoc component (to emulate MDI Forms, presents in Dev-CPP) in this project...
Portal Lazarus Brasil - http://lazaruspascal.codigolivre.org.br/portal.php
Lazarus BOOK (in portuguese) - http://lazarus-book.blogspot.com
<hipernetjr@yahoo.com.br> - Curitiba/Brazil

 

TinyPortal © 2005-2018