Doesn't link here either, but with slightly different errors. I'll fix the hb_oleInit() problem (which is missing #include), but I'll leave the rest for someone else, oaidl.h is included via oleauto.h which is included via ole2.h which is included by hbwinole.h. uuid lib is included so that can't be a problem.
--- C:\hb\harbour-11\bin>ow hbmk2 test.prg -lhbole -lhbwin -trace Setting environment for using Open Watcom 1.8 C:\hb\harbour-11\bin>hbmk2 test.prg -lhbole -lhbwin -trace hbmk: Harbour compiler command (internal): C:\hb\harbour-11\bin\harbour.exe -n2 test.prg -iC:\hb\harbour-11\include Harbour 1.1.0dev (Rev. 10854) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'test.prg'... Lines 4, Functions/Procedures 1 Generating C source output to 'test.c'... Done. hbmk: C compiler command: wpp386.exe -6s -fp6 -onaehtr -s -ei -zp4 -zt0 -oi+ -zq -bt=NT -bc -iC:\hb\harbour-11\include test.c hbmk: Linker command: wlink.exe @C:\DOCUME~1\vszakats\LOCALS~1\Temp\jw8w0y.lnk hbmk: Linker script: RU CON SYSTEM NT NAME test.exe FILE test.obj LIBPATH C:\hb\harbour-11\lib\win\owatcom LIBPATH C:\hb\harbour-11\lib LIB hbole.lib LI B hbwin.lib LIB hbcpage.lib LIB hblang.lib LIB hbcommon.lib LIB hbcplr.lib LIB hbdebug.lib LIB hbvm.lib LIB hbrdd.lib LIB hbusrrdd. lib LIB hbuddall.lib LIB hbhsx.lib LIB hbsix.lib LIB rddntx.lib LIB rddnsx.lib LIB rddcdx.lib LIB rddfpt.lib LIB hbrtl.lib LIB hbpp .lib LIB hbmacro.lib LIB hbextern.lib LIB gtcgi.lib LIB gtpca.lib LIB gtstd.lib LIB gtwin.lib LIB gtwvt.lib LIB gtgui.lib LIB hbpcr e.lib LIB hbzlib.lib LIB kernel32.lib LIB user32.lib LIB gdi32.lib LIB advapi32.lib LIB ws2_32.lib LIB winspool.lib LIB comctl32.li b LIB comdlg32.lib LIB shell32.lib LIB ole32.lib LIB oleaut32.lib LIB uuid.lib LIB mpr.lib LIB winmm.lib LIB mapi32.lib LIB imm32.l ib LIB msimg32.lib Open Watcom Linker Version 1.8 Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. Source code is available under the Sybase Open Watcom Public License. See http://www.openwatcom.org/ for details. loading object files searching libraries Error! E2028: hb_oleInit is an undefined reference Error! E2028: IID_IDispatch is an undefined reference Error! E2028: GUID_NULL is an undefined reference creating a Windows NT character-mode executable file hbole.lib(C:\harbour\contrib\hbole\olecore.c): undefined symbol hb_oleInit file hbole.lib(C:\harbour\contrib\hbole\olecore.c): undefined symbol IID_IDispatch file hbole.lib(C:\harbour\contrib\hbole\olecore.c): undefined symbol GUID_NULL hbmk: Error: Running linker. 1: wlink.exe @C:\DOCUME~1\vszakats\LOCALS~1\Temp\jw8w0y.lnk --- Brgds, Viktor 2009/4/17 Horodyski Marek (PZUZ) <[email protected]> > ________________________________ > From: Viktor Szakáts [mailto:[email protected]] > Sent: Friday, April 17, 2009 4:09 PM > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] Trouble with sample test of ole > > Try building your app with hbmk2. > > Brgds, > Viktor > ________________________________ > > Already tried. Without success :( > > Regards, > Marek Horodyski > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour >
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
