Click here to Skip to main content
15,886,362 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: how to implement pass a struct parameter from a com Pin
User 21559712-Oct-05 12:00
User 21559712-Oct-05 12:00 
GeneralRe: how to implement pass a struct parameter from a com Pin
Anonymous12-Oct-05 17:42
Anonymous12-Oct-05 17:42 
GeneralRe: how to implement pass a struct parameter from a com Pin
wlwlxj14-Oct-05 21:07
wlwlxj14-Oct-05 21:07 
QuestionGUI Framework Pin
Al Baraki11-Oct-05 6:20
Al Baraki11-Oct-05 6:20 
AnswerRe: GUI Framework Pin
HeartFriend12-Oct-05 15:07
HeartFriend12-Oct-05 15:07 
GeneralRe: GUI Framework Pin
Anonymous13-Oct-05 2:05
Anonymous13-Oct-05 2:05 
AnswerADVERTISING Pin
Anonymous13-Oct-05 2:11
Anonymous13-Oct-05 2:11 
QuestionATL Composite control - help Pin
v_srinu_26_f9-Oct-05 23:13
v_srinu_26_f9-Oct-05 23:13 
I have created ATL Composite control in VC++, it is running fine from Activex control test container. I have created a VB client program for the control it is running fine if i press F5 inside VB. but when I generated a .exe file of the vb program it generates an assertion.
Sigh | :sigh:
assertion details:
if (m_spInPlaceSite->GetWindow(&hwndParent) == S_OK)
{
    m_spInPlaceSite->GetWindowContext(&spInPlaceFrame,
        &spInPlaceUIWindow, &rcPos, &rcClip, &frameInfo);

    if (!m_bWndLess)
    {
        if (m_hWndCD)
        {
            ShowWindow(m_hWndCD, SW_SHOW);
            if (!::IsChild(m_hWndCD, ::GetFocus()))
                ::SetFocus(m_hWndCD);
        }
        else
        {
            HWND h = CreateControlWindow(hwndParent, rcPos);
            </code><FONT color=red>ATLASSERT(h != NULL); // will assert if creation failed</font><code>
            ATLASSERT(h == m_hWndCD);
            h;  // avoid unused warning
        }
    }

    pIPO->SetObjectRects(&rcPos, &rcClip);
}

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: D:\Work\vbtemp5\Debug\Project1.exe
File: c:\program files\microsoft visual studio\vc98\atl\include\atlctl.h
Line: 842

Expression: h != 0

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort   Retry   Ignore   
---------------------------

AnswerRe: ATL Composite control - help Pin
Jeffrey Walton14-Oct-05 4:50
Jeffrey Walton14-Oct-05 4:50 
QuestionWhy my composite control receives WM_PAINT frequently when in the IE container. Pin
at200019-Oct-05 21:49
at200019-Oct-05 21:49 
AnswerRe: Why my composite control receives WM_PAINT frequently when in the IE container. Pin
Sheng Jiang 蒋晟24-Oct-05 19:20
Sheng Jiang 蒋晟24-Oct-05 19:20 
Questionhow to get the hwnd of activex control Pin
jie_h9-Oct-05 21:40
jie_h9-Oct-05 21:40 
Questionnew to atl Pin
6-Oct-05 22:10
suss6-Oct-05 22:10 
AnswerRe: new to atl Pin
Kevin McFarlane7-Oct-05 6:34
Kevin McFarlane7-Oct-05 6:34 
QuestionBoost Pin
Ed K6-Oct-05 10:06
Ed K6-Oct-05 10:06 
GeneralRe: Boost Pin
Rob Caldecott6-Oct-05 11:24
Rob Caldecott6-Oct-05 11:24 
QuestionHow to convert a CString to DWORD in C++ Pin
ClockDivider6-Oct-05 8:28
ClockDivider6-Oct-05 8:28 
AnswerRe: How to convert a CString to DWORD in C++ Pin
Michael Dunn7-Oct-05 9:16
sitebuilderMichael Dunn7-Oct-05 9:16 
GeneralRe: How to convert a CString to DWORD in C++ Pin
ClockDivider8-Oct-05 3:45
ClockDivider8-Oct-05 3:45 
QuestionRe: How to convert a CString to DWORD in C++ Pin
James R. Twine10-Oct-05 8:05
James R. Twine10-Oct-05 8:05 
Questionwhere is CB_GETCURSEL posted to/from? Pin
petevam5-Oct-05 9:34
petevam5-Oct-05 9:34 
AnswerRe: where is CB_GETCURSEL posted to/from? Pin
petevam6-Oct-05 8:37
petevam6-Oct-05 8:37 
QuestionATL7 idl enum Pin
Member 22968885-Oct-05 8:28
Member 22968885-Oct-05 8:28 
AnswerRe: ATL7 idl enum Pin
JonEngle14-Oct-05 8:29
JonEngle14-Oct-05 8:29 
Question.Activex From Third Party Library Pin
Project Leader5-Oct-05 4:40
Project Leader5-Oct-05 4:40 

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

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