Search:
Type: Posts; User: funwithdolphin
Search:
Search took 0.03 seconds.
-
September 14th, 2010, 07:55 AM
Really nice information.
Many Thanks to Lindley and Paul McKenzie.
-
September 13th, 2010, 05:51 AM
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...
-
September 2nd, 2010, 02:01 AM
You can use va_start() to initialize variable argument list pointer and then va_arg() to get next argument in variable argument list.
Refer...
-
September 1st, 2010, 04:22 AM
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...
-
September 1st, 2010, 03:17 AM
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...
-
September 1st, 2010, 02:16 AM
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....
-
August 31st, 2010, 10:13 AM
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...
-
August 31st, 2010, 08:42 AM
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...
-
August 31st, 2010, 04:25 AM
Yes, I rebuilt it on Visual Studio 2005.
-
August 31st, 2010, 01:03 AM
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) \
...
-
August 31st, 2010, 12:05 AM
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...
-
August 30th, 2010, 09:38 AM
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);...
-
August 30th, 2010, 07:50 AM
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...
-
August 2nd, 2010, 10:33 AM
Thanks for the input.
Error C2906: 'const AFX_MSGMAP *CListDataCtrl<B,T>::GetThisMessageMap(void)' : explicit specialization requires 'template <>'
with
[
B=CGridListCtrl,
T=CEntryListCtrlData...
-
August 2nd, 2010, 05:03 AM
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...
-
August 2nd, 2010, 04:40 AM
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?
-
August 2nd, 2010, 04:11 AM
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...
-
Many Thanks. I changed it as below and and it compiled rightly.
BEGIN_TEMPLATE_MESSAGE_MAP (CTreeDataCtrl, CLogicTreeData, CTreeCtrl)
-
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...
-
The issue is resolved now.
I noticed that the declaration of AddInitialGlobalNodes was as below:
__declspec( dllexport ) int __stdcall AddInitialGlobalNodes(CDsaInfo& dsaInfo,const unsigned...
-
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...
-
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 *'
...
-
Hi,
I am getting error about converting from 'CString' to 'const unsigned short *'
Code is as below:
int ret = AddInitialGlobalNodes(dsaInfo, m_csDefaultDsaPath, bEntryPresent,...
-
Thanks a lot Yves M. It did solve the issue.
-
I changed the names; but still no effect. The same errors are still coming. :(
|
Click Here to Expand Forum to Full Width
|