Try building your app with hbmk2.
Brgds,
Viktor

On Fri, Apr 17, 2009 at 3:29 PM, Horodyski Marek (PZUZ) <
[email protected]> wrote:

> I don't can compile this simple sample test.prg with ow :
>
> Function Main()
>  Request createobject
>  inkey( 0)
> Return Nil
>
> In raport have I :
> -----------------------
> 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: IID_IDispatch is an undefined reference
> Error! E2028: IID_IClassFactory2 is an undefined reference
> Error! E2028: GUID_NULL is an undefined reference
> Error! E2028: IID_IEnumVARIANT is an undefined reference
> creating a WIN386 executable
> file d:\harbour\Lib\hbwin.lib(D:\harbour\contrib\hbwin\win_ole.c):
> undefined symbol IID_IDispatch
> file d:\harbour\Lib\hbwin.lib(D:\harbour\contrib\hbwin\win_ole.c):
> undefined symbol IID_IClassFactory2
> file d:\harbour\Lib\hbwin.lib(D:\harbour\contrib\hbwin\win_ole.c):
> undefined symbol GUID_NULL
> file d:\harbour\Lib\hbwin.lib(D:\harbour\contrib\hbwin\win_ole.c):
> undefined symbol IID_IEnumVARIANT
> -----------------------
>
> When I search where there is, I found oaidl.h in Watcom include
> directory : \WATCOM\h\nt\oaidl.h ( too in Borland !) :
>
> EXTERN_C const IID  IID_IDispatch;
>
> but this file is  never included in \harbour\contrib\hbole\ files.
>
> How we can use ole ?
>
> 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

Reply via email to