Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3547

Re: is _bstr_t not defined in Watcom ?

From Lynn McGuire <lynnmcguire5@gmail.com>
Newsgroups openwatcom.users.c_cpp
Subject Re: is _bstr_t not defined in Watcom ?
Date 2018-08-06 14:12 -0500
Organization OpenWatcom
Message-ID <pka6dt$hic$1@www.openwatcom.org> (permalink)
References <pjvsuv$4dd$1@www.openwatcom.org> <pk27h0$1mbd$1@gioia.aioe.org> <v8lbmdt7urktsk4vqurreesd5gvqdlvdle@4ax.com> <11p86vVJT4Oe-pn2-OdZLHYWKuBd6@slamain>

Show all headers | View raw


On 8/4/2018 8:34 PM, Steven Levine wrote:
> On Sat, 4 Aug 2018 16:33:55 UTC, Paul S. Person
> <psperson@ix.netscom.com.invalid> wrote:
> 
> Hi guys,
> 
>>>> I am trying to compile some of my Visual Studio code in OW 1.9.  My COM code references the function _bstr_t.  I cannot seem to find this function in OW.
>>>>     https://msdn.microsoft.com/en-us/library/zthfhkd6.aspx
> 
>>> Hmmm. wasn't there some general rule to avoid types
>>> starting in _ because those are implementation specific?
>>
>> I have /no/ experience working with this sort of thing, but it appears
>> to me that the /entire thing/ is specific to Microsoft, so why should
>> _bstr_t be any different?
> 
> Nor to do.  However, it seems to me that if _bstr_t is an OLE2
> specific class/type one is going to need an OLE2 SDK to build a
> working OLE2 app and that the SDK will provide the needed headers.
> 
> Best I can tell, OpenWatcom does not ship with a current OLE2 SDK.
> This is not to say that OpenWatcom knows nothing about OLE.  A search
> of the sources finds:
> 
>   bld\w32api.old\include\ole.h
>   bld\w32api.old\include\ole2.h
>   bld\w32api.old\include\ole2ver.h
>   bld\w32api.old\include\oleacc.h
>   bld\w32api.old\include\oleauto.h
>   bld\w32api.old\include\olectl.h
>   bld\w32api.old\include\olectlid.h
>   bld\w32api.old\include\oledlg.h
>   bld\w32api.old\include\oleidl.h
>   bld\w32api.old\lib\oleacc-uuid.c
>   bld\w32api.old\lib\olectlid-uuid.c
>   bld\w32api.old\lib\oleidl-uuid.c
> 
> However, I suspect this code is not useful for much.
> 
> Steven

Yes, OW is sadly getting out of date.

Lynn

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-02 16:29 -0500
  Re: is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-03 11:15 -0500
  Re: is _bstr_t not defined in Watcom ? Paul S. Person <psperson@ix.netscom.com.invalid> - 2018-08-03 09:18 -0700
    Re: is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-03 14:05 -0500
      Re: is _bstr_t not defined in Watcom ? Paul S. Person <psperson@ix.netscom.com.invalid> - 2018-08-04 09:31 -0700
  Re: is _bstr_t not defined in Watcom ? Johann Klammer <klammerj@NOSPAM.a1.net> - 2018-08-03 20:39 +0200
    Re: is _bstr_t not defined in Watcom ? Paul S. Person <psperson@ix.netscom.com.invalid> - 2018-08-04 09:33 -0700
      Re: is _bstr_t not defined in Watcom ? "Steven Levine" <steve53@nomail.earthlink.net> - 2018-08-05 01:34 +0000
        Re: is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-06 14:12 -0500
          Re: is _bstr_t not defined in Watcom ? Paul S. Person <psperson@ix.netscom.com.invalid> - 2018-08-07 09:32 -0700
            Re: is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-07 12:41 -0500
            Re: is _bstr_t not defined in Watcom ? Lynn McGuire <lynnmcguire5@gmail.com> - 2018-08-07 12:43 -0500

csiph-web