Page 1 of 1

Compilar con xEdit 3.0, problema

Posted: Tue Aug 20, 2013 6:36 pm
by noe aburto
Saludos.

me encontre con un detalle de xEdit 3.0 que ya no habia visto durante tiempo, y no recuerdo como resolverlo:

Al compilar mi aplicacion, no indica ningun error, pero al ejecutarla no inicia en la funcion principal main(), se supone que le indicamos al xedit cual es modulo principal en propiedades del proyecto.

Aunque renombre mi prorama principal para que lo ponga a la cabecera de todos hace lo mismo.

Al final, inicia con funciones que no son llamadas por la principal main().

Ayuda.

Re: Compilar con xEdit 3.0, problema

Posted: Tue Aug 20, 2013 11:00 pm
by carlos vargas
Noe, por favor pon el contenido del proyecto acá por favor, me refiero al archivo de definición de proyecto de xedit.
mas que todo para ver el orden y las opciones de compilación.

salu2

Re: Compilar con xEdit 3.0, problema

Posted: Tue Aug 20, 2013 11:43 pm
by joseluisysturiz
Has una limpieza de proyecto, a mi me pasaba que compilaba pero no ejecutaba el .exe y resulto que era un llamado a una funcion que no estaba definida y no me da el error de warning ni nada, recompila con otro proyecto haber si el problema es ese proyecto o si es el xEdit, saludos... :shock:

Re: Compilar con xEdit 3.0, problema

Posted: Wed Aug 21, 2013 1:17 am
by noe aburto
Los archivos son:

refaccio.xdt

[DESKTOP]
1=..\..\REFACCIO\AUTO.PRG,20,0,20,0,6,0,1176
2=..\..\REFACCIO\RCATALMA.PRG,0,0,0,0,0,0,1512
3=..\..\REFACCIO\RCATARTI.PRG,0,0,0,0,0,0,2168
4=..\..\REFACCIO\RCATMOVI.PRG,0,0,0,0,0,0,1400
5=..\..\REFACCIO\RCATPARA.PRG,0,0,0,0,0,0,752
6=..\..\REFACCIO\RCATRUTA.PRG,0,0,0,0,0,0,1440
7=..\..\REFACCIO\RCATVEND.PRG,0,0,0,0,0,0,1088
8=..\..\REFACCIO\RCIEMENS.PRG,0,0,0,0,0,0,976
9=..\..\REFACCIO\RCOMFACT.PRG,0,0,0,0,0,0,1440
10=..\..\REFACCIO\RDEPBACK.PRG,0,0,0,0,0,0,800
11=..\..\REFACCIO\REFACCIO.CH,0,0,0,0,0,0,1864
12=..\..\REFACCIO\REFACCIOF.CH,0,0,0,0,0,0,688
13=..\..\REFACCIO\RENLBOLE.PRG,0,0,0,0,0,0,1008
14=..\..\REFACCIO\RINVALMA.PRG,0,0,0,0,0,0,1336
15=..\..\REFACCIO\RINVFISI.PRG,0,0,0,0,0,0,1040
16=..\..\REFACCIO\RKARMOVI.PRG,0,0,0,0,0,0,2752
17=..\..\CAJA\CAJREGI.PRG,0,0,0,0,0,0,1312
18=..\..\CXC\cxcclie.prg,0,0,0,0,0,0,2224
19=..\..\CONTAB\CONCATA.PRG,0,0,0,0,0,0,1736
20=..\..\REFACCIO\RAJUALMA.PRG,14,15,14,15,0,0,1376
21=..\..\REFACCIO\RPREPEDI.PRG,0,0,0,0,0,0,1328
22=..\..\REFACCIO\RREFFUNC.PRG,2929,34,2929,34,2921,0,1832
23=..\..\REFACCIO\RREFINIC.PRG,0,0,0,0,0,0,928
24=..\..\REFACCIO\RREPANAL.PRG,0,0,0,0,0,0,1576
25=..\..\REFACCIO\RREPDIAR.PRG,0,0,0,0,0,0,1464
26=..\..\REFACCIO\RREPESPE.PRG,0,0,0,0,0,0,2120
27=..\..\REFACCIO\RREPMENS.PRG,0,0,0,0,0,0,1832
28=..\..\REFACCIO\RREPREFA.PRG,0,0,0,0,0,0,1104
29=..\..\REFACCIO\RREQTALL.PRG,0,0,0,0,0,0,1424
30=..\..\REFACCIO\RTRAALMA.PRG,0,0,0,0,0,0,1744
31=..\..\REFACCIO\RVENFACT.PRG,0,0,0,0,0,0,1912
32=..\..\FUN\calc.rc,0,0,0,0,0,0,984
33=..\..\FUN\sicom.rc,0,0,0,0,0,0,488
Current=1
************************************************************************************
refaccio.xpj

<?xml version="1.0"?>
<Project>
<Type Value="exe"/>
<Description Value="refacciones"/>
<Output Value="d:\prgs\refaccio\refaccio.exe"/>
<Environment Value="xHarbour"/>
<MainModule Value="AUTO.PRG"/>
<MultipleInstances Value="Y"/>
<XPManifest Value="Y"/>
<Icon Value=""/>
<Parameters Value=""/>
<OEM Value="N"/>
<Version>
<VersionInfo Value="N"/>
<Version Value="1.0"/>
<Release Value="0"/>
<Build Value="0"/>
<Company Value=""/>
<CopyRight Value=""/>
<TradeMarks Value=""/>
<Comments Value=""/>
</Version>
<Directories>
<SourceDir Value="Source"/>
<IncludeDir Value="Include"/>
<ResourceDir Value="Resource"/>
<ObjDir Value="Obj"/>
</Directories>
<Options>
<AutomaticMemvarDeclaration Value="N"/>
<DebugInfo Value="N"/>
<SuppressLineNumberInformation Value="N"/>
<SuppressShortcutting Value="N"/>
<WarnningLevel Value="1"/>
<MoreOptions Value=""/>
<MoreCOpt Value=""/>
<MapFile Value="N"/>
<ConsoleMode Value="N"/>
<MoreLinkOpt Value=""/>
</Options>
<Export>
<Dir Value=""/>
<Source Value="Y"/>
<Exe Value="N"/>
<Bin Value="N"/>
<Resource Value="Y"/>
<ResourceAll Value="N"/>
<ErrorLog Value="N"/>
<Subprojects Value="Y"/>
</Export>
<Clean>
<All Value="N"/>
</Clean>
<FinalExe>
<FullCompile Value="N"/>
<UpxCompress Value="N"/>
<CompressFlags Value=""/>
<Installer Value="N"/>
<InstallerFlags Value=""/>
<TlbInfo Value="N"/>
</FinalExe>
<VCS>
<Type Value="None"/>
</VCS>
<Files>
<File Filename="..\..\REFACCIO\AUTO.PRG"/>
<File Filename="..\..\REFACCIO\RAJUALMA.PRG"/>
<File Filename="..\..\REFACCIO\RCATALMA.PRG"/>
<File Filename="..\..\REFACCIO\RCATARTI.PRG"/>
<File Filename="..\..\REFACCIO\RCATMOVI.PRG"/>
<File Filename="..\..\REFACCIO\RCATPARA.PRG"/>
<File Filename="..\..\REFACCIO\RCATRUTA.PRG"/>
<File Filename="..\..\REFACCIO\RCATVEND.PRG"/>
<File Filename="..\..\REFACCIO\RCIEMENS.PRG"/>
<File Filename="..\..\REFACCIO\RCOMFACT.PRG"/>
<File Filename="..\..\REFACCIO\RDEPBACK.PRG"/>
<File Filename="..\..\REFACCIO\REFACCIO.CH"/>
<File Filename="..\..\REFACCIO\REFACCIOF.CH"/>
<File Filename="..\..\REFACCIO\RENLBOLE.PRG"/>
<File Filename="..\..\REFACCIO\RINVALMA.PRG"/>
<File Filename="..\..\REFACCIO\RINVFISI.PRG"/>
<File Filename="..\..\REFACCIO\RKARMOVI.PRG"/>
<File Filename="..\..\REFACCIO\RPREPEDI.PRG"/>
<File Filename="..\..\REFACCIO\RREFFUNC.PRG"/>
<File Filename="..\..\REFACCIO\RREFINIC.PRG"/>
<File Filename="..\..\REFACCIO\RREPANAL.PRG"/>
<File Filename="..\..\REFACCIO\RREPDIAR.PRG"/>
<File Filename="..\..\REFACCIO\RREPESPE.PRG"/>
<File Filename="..\..\REFACCIO\RREPMENS.PRG"/>
<File Filename="..\..\REFACCIO\RREPREFA.PRG"/>
<File Filename="..\..\REFACCIO\RREQTALL.PRG"/>
<File Filename="..\..\REFACCIO\RTRAALMA.PRG"/>
<File Filename="..\..\REFACCIO\RVENFACT.PRG"/>
<File Filename="..\..\FUN\calc.rc"/>
<File Filename="..\..\FUN\sicom.rc"/>
<File Filename="..\..\CAJA\CAJREGI.PRG"/>
<File Filename="..\..\CXC\cxcclie.prg"/>
<File Filename="..\..\CONTAB\CONCATA.PRG"/>
</Files>
<Libraries>
<Library Filename="D:\Prgs\FUN\sicom.lib"/>
<Library Filename="[xharbour]tip.lib"/>
<Library Filename="[xharbour]png.lib"/>
<Library Filename="C:\Autosys\Prgs\TSBUTTON\LIB\SButtonX.LIB"/>
<Library Filename="C:\Autosys\Prgs\TSBROWSE\LIB\SBrowseX.LIB"/>
<Library Filename="[bcc]PSDK\psapi.lib"/>
<Library Filename="[xharbour]ct.lib"/>
<Library Filename="C:\Autosys\Prgs\FWH\lib\XBROWSEX.lib"/>
<Library Filename="C:\Autosys\Prgs\RMChart\rmchart.lib"/>
<Library Filename="C:\Autosys\Prgs\FWH\lib\Fivehx.lib"/>
<Library Filename="C:\Autosys\Prgs\FWH\lib\Fivehc.lib"/>
<Library Filename="[xharbour]rtl.lib"/>
<Library Filename="[bcc]PSDK\iphlpapi.lib"/>
<Library Filename="[xharbour]vm.lib"/>
<Library Filename="[xharbour]debug.lib"/>
<Library Filename="[bcc]PSDK\nddeapi.lib"/>
<Library Filename="[bcc]PSDK\rasapi32.lib"/>
<Library Link="N" Filename="[xharbour]dbfdbt.lib"/>
<Library Filename="[xharbour]gtwin.lib"/>
<Library Filename="[xharbour]gtgui.lib"/>
<Library Link="N" Filename="[xharbour]gtnul.lib"/>
<Library Filename="[xharbour]lang.lib"/>
<Library Filename="[xharbour]macro.lib"/>
<Library Filename="[xharbour]rdd.lib"/>
<Library Filename="[xharbour]dbfntx.lib"/>
<Library Filename="[xharbour]dbfcdx.lib"/>
<Library Filename="[xharbour]dbffpt.lib"/>
<Library Link="N" Filename="[xharbour]sixcdx.lib"/>
<Library Filename="[xharbour]hbsix.lib"/>
<Library Link="N" Filename="[xharbour]rddads.lib"/>
<Library Link="N" Filename="[xharbour]ace32.lib"/>
<Library Filename="[xharbour]codepage.lib"/>
<Library Filename="[xharbour]common.lib"/>
<Library Filename="[xharbour]pp.lib"/>
<Library Filename="[xharbour]pcrepos.lib"/>
<Library Filename="[xharbour]hbzip.lib"/>
<Library Filename="[xharbour]zlib.lib"/>
<Library Filename="[bcc]c0w32.obj"/>
<Library Filename="[bcc]psdk\odbc32.lib"/>
<Library Filename="[bcc]psdk\msimg32.lib"/>
<Library Filename="[bcc]cw32.lib"/>
<Library Filename="[bcc]import32.lib"/>
<Library Link="N" Filename="[bcc]wininet.lib"/>
<Library Filename="[bcc]uuid.lib"/>
</Libraries>
</Project>

Re: Compilar con xEdit 3.0, problema

Posted: Wed Aug 21, 2013 1:24 am
by noe aburto
El xEdit.cfg, todo es igual exepto que en lugar de unidad D: e C:

[OPTIONS]
CreateBAK=.T.
SaveOnRun=.T.
SaveDesktop=.T.
OpenLastProject=.T.
AskQuit=.T.
StopOnErrors=.F.
ShowAllMessages=.F.
AutoDepend=1
Processes=1
DontRunOnWarnings=.T.
DebugMemoryLeaks=.T.
MinimizeToTray=.F.
UIFont=MS Sans Serif,8
Language=10
[TOOLBARS]
File=.T.
Project=.T.
Navigation=.T.
NavigationWidth=340
Edit=.T.
Find=.T.
Marks=.T.
[-]
Root=C:\Prgs\xedit
Bin=C:\Prgs\xedit\Bin
Lib=C:\Prgs\xedit\Lib
Include=C:\Prgs\xedit\Include
[VCS]
CVS=
SVN=
StateOk=1
StateModified=3
StateConflict=4
StateAdded=5
[USER]
Root=C:\Prgs\xedit
Projects=C:\Prgs\xedit\Projects
Template=C:\Prgs\xedit\Template
Plugins=C:\Prgs\xedit\Plugins
Components=C:\Prgs\xedit\Components
[EDITOR]
AutoIndent=.T.
TabIndents=.T.
Indent=3
BackSpaceUnindents=.T.
UseTabs=.F.
TabWidth=3
Charset=0
BackgroundColor=ffffff
InlineCColor=e8f4f4
IndentationGuides=.F.
LineNumbers=.F.
HiliteLine=.F.
HiliteColor=c0ffff
Folding=.T.
HotSpots=.F.
Style1=Courier New,10,808080,.T.,.F.
Style2=FixedSys,10,ff,.F.,.F.
Style3=Fixedsys,10,c0,.F.,.F.
Style4=Fixedsys,10,6060,.F.,.F.
Style5=Fixedsys,10,c0,.F.,.F.
Style6=Fixedsys,10,808000,.F.,.F.
Style7=Fixedsys,10,c00000,.F.,.F.
Style8=Fixedsys,10,8000,.F.,.F.
Style9=Fixedsys,10,c0,.F.,.F.
Style10=Fixedsys,10,800000,.F.,.T.
Style11=Fixedsys,10,800000,.F.,.F.
Calltips=.T.
CalltipDoc=.F.
CalltipDelay=1.5
CalltipDocEx=.F.
CalltipFore=808080
CalltipBack=8e1ffff
CalltipHlt=800000
CalltipFont=Verdana
IntellisenseMode=1
IntellisenseTime=1.5
VarCaseMatching=.T.
IntellisensePrj=.T.
IntellisenseFont=Verdana
IntellisenseBold=.F.
IntellisenseItalic=.F.
[PRINT]
Units=.F.
ColorMode=0
WrapMode=2
PrintHeader=.T.
HeaderText=Proyecto: %J - Archivo: %F
PrintFooter=.T.
FooterText=Página: %P
LineNumbers=.T.
FrameStyle=0

Code: Select all

nEol=-1
lFCaseLow=.F.
lIndent=.T.
lCase=.T.
lSpaces=.T.
lIndFunc=.F.
lIndVar=.T.
lIndDrt=.F.
lIndRet=.F.
nIndLeft=3
nIndNext=3
nIndCont=3
lCnvAst=.T.
lCnvAmp=.T.
nSpaceComment=-1
lCnvNot=.T.
nCaseCmd=1
nCaseBoo=1
nCaseFnc=4
nCaseDrt=2
nSpaceDrt=0
nLineFnc=1
nLineRet=1
nLineVar=1
nLineCode=1
nBr4Comma=1
nBr4Brac=2
[ProgrammingEnvironment]
1=FiveWin
2=xHarbour
[FiveWin]
Default=.F.
Include=C:\Prgs\Fun\include
Lib=C:\Prgs\Fun\lib
Libraries=
HBCompiler=xHarbour
HBDir=C:\Prgs\xHarbour
HBDirBin=C:\Prgs\xHarbour\Bin
HBDirInclude=C:\Prgs\xHarbour\Include
HBDirLib=C:\Prgs\xHarbour\Lib
HBFlags=/n
HBLibraries=+rtl,+vm,+gtwin,-gtgui,+lang,+macro,+rdd,+dbfntx,-dbfcdx,+dbffpt,-sixcdx,+hbsix,-rddads,-ace32,+codepage,+common,+pp,+pcrepos,-hbzip,-zlib
CCompiler=BCC
CDir=C:\Prgs\bcc
CDirBin=C:\Prgs\bcc\Bin
CDirInclude=C:\Prgs\bcc\Include
CDirLib=C:\Prgs\bcc\Lib
CFlags=-tWM -c -v- -O2 -X
CLibraries=+c0w32.obj,+psdk\odbc32,+psdk\msimg32,+cw32,+import32,+wininet
StripSymbols=.F.
RCDefault=.T.
RC=
RCFlags=
LinkFlags=-Gn -Tpe
StandardIcons=.F.
LibFlags=
[xHarbour]
Default=.T.
Include=
Lib=
Libraries=
HBCompiler=xHarbour
HBDir=C:\Prgs\xHarbour
HBDirBin=C:\Prgs\xHarbour\Bin
HBDirInclude=C:\Prgs\xHarbour\Include
HBDirLib=C:\Prgs\xHarbour\Lib
HBFlags=/n
HBLibraries=+rtl,+vm,+gtwin,-gtgui,+lang,+macro,+rdd,+dbfntx,-dbfcdx,+dbffpt,-sixcdx,+hbsix,-rddads,-ace32,+codepage,+common,+pp,+pcrepos,-hbzip,-zlib
CCompiler=BCC
CDir=C:\Prgs\bcc
CDirBin=C:\Prgs\bcc\Bin
CDirInclude=C:\Prgs\bcc\Include
CDirLib=C:\Prgs\bcc\Lib
CFlags=-tWM -c -v- -O2 -X
CLibraries=+c0w32.obj,+psdk\odbc32,+psdk\msimg32,+cw32,+import32,+wininet
StripSymbols=.F.
RCDefault=.T.
RC=
RCFlags=
LinkFlags=-Gn -Tpe
StandardIcons=.F.
LibFlags=
[Abbreviations]
//-=//------------------------------------------------------------------------------\n|
fn=FUNCTION |()\nRETURN
if=IF |\nENDIF
ife=IF |\nELSE\nENDIF
me=METHOD |() CLASS\nRETURN
pr=PROCEDURE |()\nRETURN
to=// TODO:
tom=/* TODO: |\n*/
tr=TRY |\nCATCH\nEND
wi=WITH OBJECT |\nEND
[PROJECTS]
1=C:\Prgs\xedit\contab.xpj
2=C:\Prgs\xedit\amor.xpj
3=C:\Prgs\xedit\autosys.xpj
4=C:\Prgs\xedit\SBROWSEX.xpj
5=C:\Prgs\xedit\prg.xpj
6=C:\Prgs\xedit\XBROWSEX.xpj
7=C:\Prgs\xedit\rmchart.xpj
8=C:\Prgs\xedit\SBUTTONX.xpj
9=C:\Prgs\xedit\maupant.xpj
10=C:\Prgs\xedit\texcels.xpj

Re: Compilar con xEdit 3.0, problema

Posted: Wed Aug 21, 2013 2:35 am
by carlos vargas
lo he revisado y todo aparenta ok, el auto.prg definido como el programa principal y los parametros del compilador correcto. el order correcto.
que raro, elimina por favor todos los obj y reintenta, por favor
si gustas te pedo dar soporte por teamviewer