Click here to Skip to main content
14,880,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiontiff file creation [modified] Pin
Kiran Pinjala9-Aug-06 19:26
MemberKiran Pinjala9-Aug-06 19:26 
Questionwhat am I doing wrong? [modified] Pin
freakinn00b9-Aug-06 19:21
Memberfreakinn00b9-Aug-06 19:21 
AnswerRe: what am I doing wrong? Pin
sunit59-Aug-06 19:28
Membersunit59-Aug-06 19:28 
AnswerRe: what am I doing wrong? Pin
_AnsHUMAN_ 9-Aug-06 19:28
Member_AnsHUMAN_ 9-Aug-06 19:28 
AnswerRe: what am I doing wrong? Pin
ThatsAlok9-Aug-06 22:21
MemberThatsAlok9-Aug-06 22:21 
GeneralRe: what am I doing wrong? Pin
freakinn00b9-Aug-06 19:38
Memberfreakinn00b9-Aug-06 19:38 
GeneralRe: what am I doing wrong? Pin
sunit59-Aug-06 19:41
Membersunit59-Aug-06 19:41 
GeneralRe: what am I doing wrong? Pin
sunit59-Aug-06 19:46
Membersunit59-Aug-06 19:46 
GeneralRe: what am I doing wrong? Pin
_AnsHUMAN_ 9-Aug-06 19:51
Member_AnsHUMAN_ 9-Aug-06 19:51 
GeneralRe: what am I doing wrong? Pin
ThatsAlok9-Aug-06 22:24
MemberThatsAlok9-Aug-06 22:24 
GeneralRe: what am I doing wrong? Pin
Hamid_RT9-Aug-06 22:44
MemberHamid_RT9-Aug-06 22:44 
GeneralRe: what am I doing wrong? Pin
David Crow10-Aug-06 3:32
MemberDavid Crow10-Aug-06 3:32 
AnswerRe: what am I doing wrong? Pin
Zac Howland10-Aug-06 4:30
MemberZac Howland10-Aug-06 4:30 
AnswerRe: what am I doing wrong? Pin
freakinn00b11-Aug-06 5:30
Memberfreakinn00b11-Aug-06 5:30 
Questionvariable type [modified] Pin
With_problem9-Aug-06 19:18
MemberWith_problem9-Aug-06 19:18 
AnswerRe: variable type Pin
_AnsHUMAN_ 9-Aug-06 19:24
Member_AnsHUMAN_ 9-Aug-06 19:24 
QuestionRe: variable type Pin
David Crow10-Aug-06 3:37
MemberDavid Crow10-Aug-06 3:37 
Questionprint in list box Pin
With_problem9-Aug-06 18:22
MemberWith_problem9-Aug-06 18:22 
AnswerRe: print in list box Pin
_AnsHUMAN_ 9-Aug-06 18:37
Member_AnsHUMAN_ 9-Aug-06 18:37 
GeneralRe: print in list box Pin
With_problem9-Aug-06 19:10
MemberWith_problem9-Aug-06 19:10 
GeneralRe: print in list box Pin
_AnsHUMAN_ 9-Aug-06 19:22
Member_AnsHUMAN_ 9-Aug-06 19:22 
GeneralRe: print in list box Pin
With_problem9-Aug-06 20:25
MemberWith_problem9-Aug-06 20:25 
AnswerRe: print in list box [modified] Pin
Amar Sutar9-Aug-06 19:49
MemberAmar Sutar9-Aug-06 19:49 
Try this if m_Log is control variable

#define LOG \
if (::IsWindow(m_Log.m_hWnd)) \
m_Log.InsertString // Use Insert String

void CWartzDlg::Onconnect()
{
CString login= m_arielapi.Login("wwtest2","RD9234","wwtest2");
CString serveradd=m_arielapi.GetServerAddress(login);


BOOL bSuccess=FALSE;

for(int n=0;n<3;n++)
{
if(login)
{
bSuccess=TRUE;
break;
}
}
if(bSuccess)
{
CString cstrDispData;
cstrDispData.Format(_T("==>Connected to server[%s]"),serveradd);
LOG(0,cstrDisplayData);

}
}

Regards
AmarSmile | :)


-- modified at 1:52 Thursday 10th August, 2006
GeneralRe: print in list box [modified] Pin
With_problem9-Aug-06 20:26
MemberWith_problem9-Aug-06 20:26 
AnswerRe: print in list box Pin
Hamid_RT9-Aug-06 21:54
MemberHamid_RT9-Aug-06 21:54 

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.