none
W2A macro usage

    Question

  • How do we use the W2A macro?

    I have a ATL C++ project, creating a DLL for a windows mobile 5 device.

    When I try to compile this code:

    #include <atlbase.h>

    STDMETHODIMP CISPEncrypt::encrypt(BSTR* data, BSTR* password, BSTR* encData)

    {

    LPCSTR* x = W2A(data);

    it complains with:

    '_lpw': undeclared identifier

     

     

    Tuesday, March 07, 2006 9:18 AM

Answers

All replies