CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: funwithdolphin

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    2,603

    Re: Libraries and compiler compatibility

    Really nice information.

    Many Thanks to Lindley and Paul McKenzie.
  2. Replies
    8
    Views
    2,603

    Re: Libraries and compiler compatibility

    Hi Again,

    I have an application built on VS2005 which uses a static library built using VS6.0.

    I have noticed an issue of incorrect function getting called from a static library linked at...
  3. Re: function with ... as its parameter?

    You can use va_start() to initialize variable argument list pointer and then va_arg() to get next argument in variable argument list.

    Refer...
  4. Re: OnInitDialog is not getting called from DoModal in VS2005

    Thanks Igor, VictorN and Paul. It is working fine now. I unregistered the ocx control, then rebuilt the control and then registered it with regsvr32.exe. Now OnInitDialog of CPpSelectDn is getting...
  5. Re: OnInitDialog is not getting called from DoModal in VS2005

    Yes, it is a activex control. It is for displaying LDAP directory entries in a tree view which user can browse and select DN of a entry from. Yeah, it did take long time to reach to this stage as I...
  6. Re: OnInitDialog is not getting called from DoModal in VS2005

    Many Thanks all.

    Here is what I did with VS6.0:
    - As I mentioned earlier, it was working fine with VS6.0. So What I did now is , I created a fresh VS6.0 setup on a new machine and built the code....
  7. Re: OnInitDialog is not getting called from DoModal in VS2005

    I see that a page for IDD_ISOCMN_SELECTDN is displayed; but this page doesn't show any control like CIsoDirBrowser m_ctlBrowser. This CIsoDirBrowser is a class which shows tree view of LDAP Directory...
  8. Re: OnInitDialog is not getting called from DoModal in VS2005

    I debugged. I see that it calls 'INT_PTR CPropertySheet:: DoModal()' which internally calls CPropertySheet::OnInitDialog().

    Here is the stack trace in case this helps you in pointing out anu...
  9. Re: OnInitDialog is not getting called from DoModal in VS2005

    Yes, I rebuilt it on Visual Studio 2005.
  10. Re: Error in BEGIN_MESSAGE_MAP: explicit specialization requires 'template '

    I need a customized BEGIN_TEMPLATE_MESSAGE_MAP named BEGIN_TEMPLATE_MESSAGE_MAP_2 with 2 template arguments:



    #define BEGIN_TEMPLATE_MESSAGE_MAP(theClass, type_name, baseClass) \
    ...
  11. Re: OnInitDialog is not getting called from DoModal in VS2005

    I also added Message Box in OnInitDialog() function to see if it is getting called or not. But it is not getting called.

    I know that in VS6.0, CPropertySheet :: DoModal() does load the added Pages...
  12. Re: OnInitDialog is not getting called from DoModal in VS2005

    When I debug on VS6.0 for below code, OnInitDialog function of CPpSelectDn class gets called when I execute 'if (sheet.DoModal() == IDOK)' line below



    CPpSelectDn pageSelect(&ctx);...
  13. OnInitDialog is not getting called from DoModal in VS2005

    Hi,

    I am porting code from VS 6.0 to VS2005. However I am seeing that OnInitDialog() function is not getting called from DoModal() in VS2005.

    I already tried adding breakpoints and messagebox...
  14. Re: Error in BEGIN_MESSAGE_MAP: explicit specialization requires 'template '

    Thanks for the input.

    Error C2906: 'const AFX_MSGMAP *CListDataCtrl<B,T>::GetThisMessageMap(void)' : explicit specialization requires 'template <>'
    with
    [
    B=CGridListCtrl,
    T=CEntryListCtrlData...
  15. Re: Error in BEGIN_MESSAGE_MAP: explicit specialization requires 'template '

    BEGIN_TEMPLATE_MESSAGE_MAP takes 3 arguments (theClass, type_name, baseClass ):

    theClass: Specifies the name of the class whose message map this is.
    type_name: The name of the template parameter...
  16. Re: Error in BEGIN_MESSAGE_MAP: explicit specialization requires 'template '

    Thanks; I already tried passing 3 arguments similar to what is mentioned there. But I was getting errors.

    My question is what should be these 3 arguments, considering the code I pasted above?
  17. Error in BEGIN_MESSAGE_MAP: explicit specialization requires 'template '

    Hi,

    I am porting code from VC++ 6.0 to Visual Studio 2005.

    I am getting error as below:
    Error C2906: 'const AFX_MSGMAP *CListDataCtrl<B,T>::GetThisMessageMap(void)' : explicit specialization...
  18. Re: VS2005: explicit specialization error

    Many Thanks. I changed it as below and and it compiled rightly.

    BEGIN_TEMPLATE_MESSAGE_MAP (CTreeDataCtrl, CLogicTreeData, CTreeCtrl)
  19. VS2005: explicit specialization error

    I am getting error with below code while compiling with VS2005:



    BEGIN_MESSAGE_MAP(CTreeDataCtrl<CLogicTreeData>, CTreeCtrl)
    //{{AFX_MSG_MAP(CTreeDataCtrl)
    // NOTE - the ClassWizard will...
  20. Re: VS2005: Converting from 'CString' to 'const unsigned short *'

    The issue is resolved now.

    I noticed that the declaration of AddInitialGlobalNodes was as below:



    __declspec( dllexport ) int __stdcall AddInitialGlobalNodes(CDsaInfo& dsaInfo,const unsigned...
  21. Re: VS2005: Converting from 'CString' to 'const unsigned short *'

    Thanks VictorN. Just found the difference between _UNICODE and UNICODE as below:
    UNICODE macro affects the character set the Windows header files treat as default whereas _UNICODE macro (with...
  22. Re: VS2005: Converting from 'CString' to 'const unsigned short *'

    Thanks Both.

    I get below error after making change as suggested by VictorN:

    error C2664: 'AddInitialGlobalNodes' : cannot convert parameter 2 from 'LPCTSTR' to 'const unsigned short *'
    ...
  23. VS2005: Converting from 'CString' to 'const unsigned short *'

    Hi,

    I am getting error about converting from 'CString' to 'const unsigned short *'

    Code is as below:


    int ret = AddInitialGlobalNodes(dsaInfo, m_csDefaultDsaPath, bEntryPresent,...
  24. Re: Template declaration issue with the scope

    Thanks a lot Yves M. It did solve the issue.
  25. Re: Template declaration issue with the scope

    I changed the names; but still no effect. The same errors are still coming. :(
Results 1 to 25 of 122
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured