Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
c++ x 32
Member Avatar for shizu

Hi all.. I saw a part of codes which I unable to understand.. pleaase all the expert teach me ya.. below is the part of codes.. UINT A; USHORT B; USHORT *C; CString D; if(!sscanf_s(D, "0x%x", &A)) sscanf_s(D, "%d", &A); *(C + B) = A; //<= what is the meaning..?? …

Member Avatar for NathanOliver
0
153
Member Avatar for shizu

Hi all.. I have a image taken by vision machine camera.. Object is arrange by different layers.. I able to get accurate object position for those drop in calibration layer.. For layers that before and after calibration layer,position is not accurate.. Working distance is fix.. Can u all provide me …

0
79
Member Avatar for shizu

Hi All.. I using VC++ 6.0..with windows XP.. I have bmp image which I would like convert it save as jpeg format.. can anyone teach me the steps..?? Thank you.. Shizu..

Member Avatar for mrnutty
0
2K
Member Avatar for shizu

Hi all.. I am using windows XP with vision studio C++ 6.0.. my software is using CAsyncSocket communication with TCP/IP.. during sending and receiving signal / data.. my software always face communication cannot delivered to server.. sometimes OK..sometimes not.. I called CAsyncSocket::Send(...) function to send data.. sometimes able to send, …

0
77
Member Avatar for shizu

Hi.. I would like to use microsoft visual studio C++ 6.0 to build a execute file to detect whether network drive is connected and ready to used.. can anyone of you teach me how do I do this..?? my situation is I have 2 PC connect using LAN.. PC A …

Member Avatar for graphicequalise
0
725
Member Avatar for shizu

Hi All.. I am using Microsoft Visual C++ 6.0 to build a software.. during software running, sometimes will happend application error, and force to shutdown the program. The application error detail like below.. Date : 1/25/2010 Source : Application Error Time : 2:14:09 PM Category : None Type : Error …

0
52
Member Avatar for shizu

Hi All.. I am using MsFlexGrid in my program.. normally after I double click, enter value, KillFocus then press OK to close the dialog.. now I would like to add a message box once I enter value. Then I found out that, after message box prompt out and I click …

Member Avatar for mitrmkar
0
128
Member Avatar for shizu

Hi all.. I had a part of code like below.. CPropertySheet oPropSheet("Page", NULL, 0); oPropSheet.m_psh.dwFlags |= PSH_NOAPPLYNOW; oPropSheet.m_psh.dwFlags &= ~(PSH_HASHELP); oPropSheet.AddPage(&oPropSettingCriteria); oPropSheet.AddPage(&oPropAdvancedSetting); if(oPropSheet.DoModal() == IDOK) { } ... now I would like to hide or disable OK button..just left only CANCEL button there.. I tried using oPropSheet.GetDlgItem(IDOK)->EnableWindow(FALSE); but will have …

Member Avatar for shizu
0
678
Member Avatar for shizu

Hi all, I have a question here.. I am using microsoft visual C++ 6.0 with SP4 and SP5.. I call a `DoModal()`, but there was nothing dialog show out.. below are my codes.. CDlgA oDlgA; oDlgA.DoModal(); but no dialog show out.. then I trace the debug code, found out that …

Member Avatar for shizu
0
475
Member Avatar for shizu

Hi all.. I would like to convert a hex to CString format.. I had try like below I shown, but failed to convert into CString format that I wish to.. Here is the example I tried.. CString sz; unsigned short test = 0xB0FF0000; sz.Format("%X", test); then I got sz = …

Member Avatar for hawash
0
1K
Member Avatar for shizu

Hi all, I'm using microsoft visual C++ 6.0 with SP4 and SP5.. I had a program which content a CScrollView.. Now I would like to add in a image into CScrollView.. but my image is buffer..not from resource.. I can save my image, bitmap form, into local drive.. but I …

Member Avatar for shizu
0
139
Member Avatar for shizu

Hi.. I'm using VC6++ with window xp.. and my coding is like below.. [code=cplusplus] try { CString szConn; hrResult = m_Connection.CreateInstance(__uuidof(Connection)); if(SUCCEEDED(hrResult)) { szConn = "Provider=Microsoft.JET.OLEDB.4.0;Data source=C:\\PSMotion\\Database\\IO.mdb"; _bstr_t bstrConn(szConn); hrResult = m_Connection->Open(bstrConn,"Admin","",-1); if(SUCCEEDED(hrResult)) { _CommandPtr pCommandResult; _variant_t vtEmpty1(DISP_E_PARAMNOTFOUND, VT_ERROR); _variant_t vtEmpty2(DISP_E_PARAMNOTFOUND, VT_ERROR); sprintf(sql,"DELETE * FROM IOList"); _bstr_t bstrResult(sql); pCommandResult.CreateInstance(__uuidof(Command)); pCommandResult->ActiveConnection …

0
56
Member Avatar for shizu

Hihi.. I would like to ask about ::FindWindow's function.. I execute a program call ABC.exe.. I have coding like below.. HWND window = ::FindWindow("ABC", NULL); but I get the window value is NULL.. may I know what is my mistake..?? I had execute the ABC program, suspose it can return …

Member Avatar for dubeyprateek
0
313
Member Avatar for shizu

Hi, I am new here.. I faced a problem when I tried to call two difference software function.. I name this two software as App A and App B.. I had create App B's pointer at App A, name as BPointerAtA.. I try to new the pointer at App A …

Member Avatar for shizu
0
162