VS2012 compatibility

Aug 16, 2012 at 6:33 PM

I tried compiling with VS2012 recently, and it told me it couldn't find dbgautoattach.h when atlisapi.h tried to #include it. The issue appears at microsoft connect too, but they offer no solution except to remove the offending reference.

So I removed the #include <dbgautoattach.h> from atlisapi.h, and everything still works.

What purpose did that file serve, and what is going to stop working now it's been removed? Should we accept this as a full and proper resolution of the problem, and if so, should a new release of ATL Server be made with it removed? If not, what else can be done?

Dec 19, 2012 at 11:57 PM

I've got the same question...

Jul 17, 2013 at 3:10 PM
Same here.
Has this now been resolved?
Mar 18 at 5:03 AM
Edited Mar 18 at 5:04 AM
#ifdef __cplusplus
extern "C"

    DEFINE_GUID(CLSID_DebugAutoAttach, 0x70f65411, 0xfe8c, 0x4248, 0xbc, 0xff, 0x70, 0x1c, 0x8b, 0x2f, 0x45, 0x29);

    enum __MIDL_IDebugAutoAttach_0001

    EXTERN_C const IID IID_IDebugAutoAttach;

        IDebugAutoAttach : public IUnknown
        virtual HRESULT STDMETHODCALLTYPE AutoAttach(
            /* [in] */ REFGUID guidPort,
            /* [in] */ DWORD dwPid,
            /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
            /* [in] */ DWORD dwProgramId,
            /* [in] */ LPCWSTR pszSessionId) = 0;

#ifdef __cplusplus