Click here to Skip to main content
       

Windows API

 
GeneralRe: RegConnectRegistry : Access Denied Pinmembersan8023-Feb-12 3:09 
GeneralRe: RegConnectRegistry : Access Denied PinprotectorPete O'Hanlon23-Feb-12 3:59 
GeneralRe: RegConnectRegistry : Access Denied Pinmembersan8024-Feb-12 1:31 
QuestionSendInput() does not work after GetMessage() Pinmembersashok_bg9-Feb-12 2:46 
AnswerRe: SendInput() does not work after GetMessage() PinmemberDhiraj Pallin18-Feb-12 16:25 
GeneralRe: SendInput() does not work after GetMessage() Pinmembersashok_bg20-Feb-12 21:30 
AnswerRe: SendInput() does not work after GetMessage() PinmemberJohnCz27-Apr-12 9:24 
QuestionQuestion about (CX?) destructor? PinmemberSuper Lloyd24-Jan-12 4:19 
In the DirectX metro sample one can find a class named DirectXBase with roughly this header:
 
ref class DirectXBase abstract
{
public:
    DirectXBase();
 
    virtual void Render() = 0;
    virtual void Present();
    // ....

protected:
 
    Microsoft::WRL::ComPtr<ID2D1Factory1>           m_d2dFactory;
    Microsoft::WRL::ComPtr<ID2D1Device>             m_d2dDevice;
    Microsoft::WRL::ComPtr<ID2D1DeviceContext>      m_d2dContext;
    Microsoft::WRL::ComPtr<ID2D1Bitmap1>            m_d2dTargetBitmap;
    // ....
};
 
What I find strange is that there is no destructor!
What about all those ComPtr? are they automatically set to null because it's a ref class?
is it a bug?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.

AnswerRe: Question about (CX?) destructor? PinmemberAlbert Holguin3-Feb-12 5:18 
AnswerRe: Question about (CX?) destructor? PinmemberAescleal14-Apr-12 21:22 
QuestionThe Metro Tile expands: and then ... what ? PinmemberBillWoodruff13-Jan-12 0:35 
AnswerRe: The Metro Tile expands: and then ... what ? PinprotectorPete O'Hanlon13-Jan-12 0:56 
GeneralRe: The Metro Tile expands: and then ... what ? PinmemberBillWoodruff13-Jan-12 6:07 
AnswerRe: The Metro Tile expands: and then ... what ? PinmemberJeremy Hutchinson18-Jan-12 8:33 
GeneralRe: The Metro Tile expands: and then ... what ? PinmemberBillWoodruff2-Feb-12 13:59 
QuestionLoadLibrary error 127 on W7 X64 [modified] PinmemberDusanDusan13-Nov-11 7:31 
AnswerRe: LoadLibrary error 127 on W7 X64 PinmemberRichard Andrew x6419-Jan-12 9:46 
GeneralRe: LoadLibrary error 127 on W7 X64 PinmemberDusanDusan19-Jan-12 21:03 
QuestionMetro interaction with another application running in Win8 ? PinmemberBillWoodruff16-Oct-11 18:10 
AnswerRe: Metro interaction with another application running in Win8 ? PinmvpNishant Sivakumar17-Oct-11 5:16 
GeneralRe: Metro interaction with another application running in Win8 ? PinmemberBillWoodruff17-Oct-11 15:21 
AnswerRe: Metro interaction with another application running in Win8 ? PinmvpLuc Pattyn17-Oct-11 16:23 
GeneralRe: Metro interaction with another application running in Win8 ? PinmemberBillWoodruff17-Oct-11 17:22 
AnswerRe: Metro interaction with another application running in Win8 ? PinmvpLuc Pattyn17-Oct-11 17:59 
AnswerRe: Metro interaction with another application running in Win8 ? PinprotectorPete O'Hanlon17-Oct-11 5:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 25 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid