hi: I can remote debug MFC code thought tcp/ip with VC6 . But I cann't do it with VC7. I set the remote IP address in project settins ,and copy msvcmon.exe... to remote PC and run it. then I press F5,but it didn't work. Are there have any difference settings? thanks answer.
willyfu
Posts
-
How can I setup remote debug mode in VC.net? -
Why .net create new project error?OS:winxp professional 2002 SP2 IDE: .net 7.1 When I create new project (MFC Application or C# Application), then an error prompted. Error dialog says: Automation server can’t create object. (Summary, my .net not English version) And I reinstall .net and Office, but the error still occurs. How can I do?
-
A CRecordset Problem.finally,I found the ODBC API solution. CString strSQL; SQLLEN nRecCount,nFieldLen; strSQL.Format("Show table mytable;"); CRecordset set(&database);//Create a CRecordset object SQLExecDirect(set.m_hstmt,(SQLCHAR*)strSQL.GetBuffer(strSQL.GetLength()),strSQL.GetLength()); SQLRowCount(set.m_hstmt,&nRecCount); for(int n = 0;n < nRecCount; n++) { SQLFetch(set.m_hstmt); SQLGetData(set.m_hstmt,1,1,str1.GetBuffer(32000),32000,&nFieldLen); str1.ReleaseBuffer(); } that's all.
-
A CRecordset Problem.I use Teradata database. Teradata has a SQL Statement :show table mytable; This statement can return the definition of mytable. But CRecordset class cann't run this SQL. CDatabase can do it,but CDatabase.ExecuteSQL function has no return . strSQL = "Show table mytable;"; set.Open(CRecordset::forwardOnly,(LPCTSTR)strSQL,CRecordset::none);//Error ! database.ExecuteSQL(strSQL);//OK,but how can I get the result? How can I run this SQL and get the result? Thanks.
-
How to create a win32 static library?hi How to create a win32 static library and export a function? with VC6 + sp4 thanks.