Shellexecute

Peterg
Posts: 62
Joined: Mon Nov 28, 2005 5:36 pm
Location: Oxford UK
Contact:

Post by Peterg »

Not sure how to upload to this board but the prog code is

#include "fivewin.ch"

function Main()

ShellExecute(0,0, "CAPSLOCK","on",0,0)
MsgInfo( "done" )

return nil
The only lib I am linking in Xharbour builder is SQL.LIB
This is the xbp file

CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN =
LDEBUG = .F.
LGUI = .F.
LIBFOLDERS =
LMT = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
STARTIN =
TARGETFOLDER =

[Test.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =

[C:\xHB\lib\sql.lib]
Post Reply