Thank you both. I got the graphical menus to work through IDE. Now my next issue...
I want to have the menus call the old clipper code (which I was able to compile and run; without the graphical menus).
When I mix the two, and compile, I am getting a multiple definition error on some of the commone procedures and functions.
Any ideas? Here is the log when compiling/linking.
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Compiling Harbour sources...
Harbour 3.1.0dev (Rev. 17111)
Copyright (c) 1999-2011,
http://harbour-project.org/
Compiling 'C:\MyHMGProjects\Cashguard\main.prg'...
Compiling 'initialize.prg'...
Compiling 'reorg.prg'...
Lines 5999, Functions/Procedures 5
Generating C source output to '.hbmk\win\mingw\main.c'... Done.
Compiling 'C:\MyHMGProjects\Cashguard\initialize.prg'...
Compiling 'reorg.prg'...
Lines 5999, Functions/Procedures 4
Generating C source output to '.hbmk\win\mingw\initialize.c'... Done.
hbmk2: Compiling...
hbmk2: Linking... main.exe
.hbmk/win/mingw/initialize.o:initialize.c:(.text+0x0): multiple definition of `HB_FUN_ARMY'
.hbmk/win/mingw/main.o:main.c:(.text+0x0): first defined here
.hbmk/win/mingw/initialize.o:initialize.c:(.text+0x20): multiple definition of `HB_FUN_REORG'
.hbmk/win/mingw/main.o:main.c:(.text+0x20): first defined here
.hbmk/win/mingw/initialize.o:initialize.c:(.text+0x40): multiple definition of `HB_FUN_OPEN'
.hbmk/win/mingw/main.o:main.c:(.text+0x40): first defined here
.hbmk/win/mingw/initialize.o:initialize.c:(.text+0x60): multiple definition of `HB_FUN_INITIALIZE'
.hbmk/win/mingw/main.o:main.c:(.text+0x60): first defined here
.hbmk/win/mingw/network.o:network.c:(.text+0x0): multiple definition of `HB_FUN_GEN_ERROR'
.hbmk/win/mingw/gen_error.o:gen_error.c:(.text+0x0): first defined here
.hbmk/win/mingw/readonly.o:readonly.c:(.text+0x0): multiple definition of `HB_FUN_READONLY'
.hbmk/win/mingw/cl_add2.o:cl_add2.c:(.text+0x0): first defined here
.hbmk/win/mingw/reorg.o:reorg.c:(.text+0x0): multiple definition of `HB_FUN_ARMY'
.hbmk/win/mingw/main.o:main.c:(.text+0x0): first defined here
.hbmk/win/mingw/reorg.o:reorg.c:(.text+0x20): multiple definition of `HB_FUN_REORG'
.hbmk/win/mingw/main.o:main.c:(.text+0x20): first defined here
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/main.o .hbmk/win/mingw/client_information_button_1_action.o .hbmk/win/mingw/cl_add.o .hbmk/win/mingw/cl_add2.o .hbmk/win/mingw
/dbed.o .hbmk/win/mingw/gen_error.o .hbmk/win/mingw/initialize.o .hbmk/win/mingw/main_button_1_action.o .hbmk/win/mingw/network.o .hbmk/win/mingw/open
win.o .hbmk/win/mingw/readonly.o .hbmk/win/mingw/reorg.o .hbmk/win/mingw/yes_no.o .hbmk/win/mingw/_hbmkaut_main.o .hbmk/win/mingw/_hbmkcpp_main.o -
mwindows -Wl,--start-group -lgtwvg -lsupc++ -lhbqtcore -lQtCore4 -lhbqtgui -lQtGui4 -lhbqtnetwork -lQtNetwork4 -lhbqtsql -lQtSql4 -lgtqtc -lhmg -lhbct
-lxhb -lhbtip -lhbwin -lpng -lhbfship -lhbxpp -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgu
i -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel3
2 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -
lwininet -lhbpcre -lhbzlib -Wl,--end-group -omain.exe -Lc:/hmg.4/harbour/lib/win/mingw -Lc:/hmg.4/harbour/bin -LC:/HMG.4/SVN/lib -Lc:/hmg.4/harbour
/lib
Press any key to continue . . .