Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

source compiled and linked, exe don't work

25 views
Skip to first unread message

Moyses Aronis

unread,
May 23, 2012, 10:46:26 AM5/23/12
to
Hi

I'm trying thexHarbour Builder Demo-November-2011-Build1119.

I compiled and linked the source code with xhb and xlink. All worked
fine but the executable didn't work. The demo message appears and when
I click OK the DOS window vanishes.

Can someone help me?

The link command is :

c:\xHB\bin\xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -
MACHINE:IX86 -SUBSYSTEM:console -LIBPATH:"c:\xhb\lib" -LIBPATH:"c:\xhb
\c_lib" -LIBPATH:"c:\xhb\c_lib\win" vec.obj mtisenha.obj vecacr.obj
vecant.obj vecarq.obj vecbib.obj vecccc.obj VECCCF.obj vecche.obj
VECCLI.obj VECCMI.obj VECCOM.obj VECCP.obj VECCR.obj VECCTB.obj
veccte.obj VECCTO.obj VECDEV.obj VECDOL.obj VECFCH.obj vecfei.obj
VECFLU.obj VECFOR.obj vecfun.obj VECIND.obj VECINV.obj VECLOJ.obj
VECMBA.obj vecpp1.obj vecpp2.obj vecpp3.obj vecpp4.obj vecpp5.obj
VECNF.obj VECOPE.obj VECPED.obj vecpri.obj VECPRO.obj VECPXF.obj
vecrep.obj VECTAB.obj VECTPRO.obj VECTRA.obj vectrn.obj vecuti.obj
vecvan.obj vecvan2.obj VECVAN3.obj VECVAN4.obj VECVEN.obj vFILEMAN.obj
vdcslog.obj "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib"
"rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib
winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib
wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib
msimg32.lib mpr.lib OleDlg.lib version.lib -out:"vec.exe"

ella....@xharbour.com

unread,
May 23, 2012, 1:34:58 PM5/23/12
to
Hello,

> I'm trying thexHarbour Builder Demo-November-2011-Build1119.
>
> I compiled and linked the source code with xhb and xlink. All worked
> fine but the executable didn't work. The demo message appears and when
> I click OK the DOS window vanishes.

Please start with testing a very simple project, and in case it does not work for you, list here the source code and the .XBP and the .windows.ini file content.


Ella

dlzc

unread,
May 23, 2012, 2:40:23 PM5/23/12
to
Dear Moyses Aronis:

On Wednesday, May 23, 2012 7:46:26 AM UTC-7, Moyses Aronis wrote:
...
> I compiled and linked the source code with xhb and xlink.

What "the source code" did you compile?

Console windows by default are 300 lines tall, so any displayed error messages will be down around line 150 or so, with the first 25 or so shown on the screen. Was an error file generated by the executable?

David A. Smtih
0 new messages