Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by HKafeman

  1. HKafeman

    GetServByName() and DNS SRV Records

    Can someone please help me out - I am new to W2K and DNS? We have been using the GetServByName() (in Visual C++) to obtain information from the "\%SystemRoot%\system32\drivers\etc\services" file (e.g. the Port number) on a Workstation with Windows NT v4.0. We are now migrating to W2K...
  2. HKafeman

    Services file, GetServByName() and DNS SRV Records

    Can someone please help me out - I am new to W2K and DNS? We have been using the GetServByName() (in Visual C++) to obtain information from the "\%SystemRoot%\system32\drivers\etc\services" file (e.g. the Port number) on a Workstation with Windows NT v4.0. We are now migrating to W2K...
  3. HKafeman

    GetServByName() and DNS SRV Records

    Can someone please help me out - I am new to W2K and DNS? We have been using the GetServByName() (in Visual C++) to obtain information from the "\%SystemRoot%\system32\drivers\etc\services" file (e.g. the Port number) on a Workstation with Windows NT v4.0. We are now migrating to W2K...
  4. HKafeman

    GetServByName() and DNS SRV Records

    Can someone please help me out - I am new to W2K and DNS? We have been using the GetServByName() (in Visual C++) to obtain information from the "\%SystemRoot%\system32\drivers\etc\services" file (e.g. the Port number) on a Workstation with Windows NT v4.0. We are now migrating to W2K...
  5. HKafeman

    GetServByName() and DNS SRV Records

    Can someone please help me out - I am new to W2K and DNS? We have been using the GetServByName() (in Visual C++) to obtain information from the "\%SystemRoot%\system32\drivers\etc\services" file (e.g. the Port number) on a Workstation with Windows NT v4.0. We are now migrating to W2K...
  6. HKafeman

    CRecordset - Retrieving SQL & Parameters on Fail

    Thanks, but all things I know about already and we already make use of in our code in various places!! It is the specific information within the CRecordset that I am having the problem with getting at.
  7. HKafeman

    CRecordset - Retrieving SQL & Parameters on Fail

    I am looking to log some meaningful information from my Release version in the Event of a problem! I already have a try/catch and reporting of the SQL Error returned by SQL Server. But I want to report enough information to know which particular Query with which particular Parameters is causing...
  8. HKafeman

    CRecordset - Retrieving SQL & Parameters on Fail

    Zyrenthian Thanks for that, but my problem is how to get at the actual SQL String and the Parameters used. The actual SQL is in m_strUpdateSQL in the CRecordset and looks like "INSERT INTO MyTable (Field1, Field2...) VALUES (?, ?...)", so I want to be able to dump this and the...
  9. HKafeman

    CRecordset - Retrieving SQL & Parameters on Fail

    Help please - I have an INSERT query of the form: INSERT INTO MyTable (Field1, Field2...) VALUES (Value1, Value2...) into a SQL Server Database. It is failing due to invalid text in one of the Parameters. Now, I want to report the SQL query and Parameter Values when the failure is detected to...
  10. HKafeman

    CRecordset - Retrieving SQL & Parameters on Fail

    Help please - I have an INSERT query of the form: INSERT INTO MyTable (Field1, Field2...) VALUES (Value1, Value2...) into a SQL Server Database. It is failing due to invalid text in one of the Parameters. Now, I want to report the SQL query and Parameter Values when the failure is detected to...

Part and Inventory Search

Back
Top