Click here to Skip to main content
12,350,653 members (25,831 online)

ATL / WTL / STL

 
AnswerRe: locals not valid in debugger Pin
Albert Holguin13-Feb-13 4:42
memberAlbert Holguin13-Feb-13 4:42 
GeneralRe: locals not valid in debugger Pin
Richard MacCutchan13-Feb-13 5:36
mvpRichard MacCutchan13-Feb-13 5:36 
Question64 bit MFC application failed to create mdb and mdw files ? Pin
khaliloenit12-Feb-13 3:28
memberkhaliloenit12-Feb-13 3:28 
AnswerRe: 64 bit MFC application failed to create mdb and mdw files ? Pin
Richard MacCutchan12-Feb-13 4:57
mvpRichard MacCutchan12-Feb-13 4:57 
GeneralATL how get the name of the target class inside of a template? Pin
Frank Coder12-Feb-13 3:16
memberFrank Coder12-Feb-13 3:16 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Richard MacCutchan12-Feb-13 4:55
mvpRichard MacCutchan12-Feb-13 4:55 
GeneralRe: ATL how get the name of the target class inside of a template? Pin
Frank Coder15-Feb-13 19:51
memberFrank Coder15-Feb-13 19:51 
Questionadd sys dsn failed on windows 7 64 Pin
khaliloenit11-Feb-13 5:59
memberkhaliloenit11-Feb-13 5:59 
I try to create sys dsn from my C++ application
but i have always the same error:

The installation routines ODBC Microsoft Access Driver (*. Mdb) are not found. Please reinstall the driver.

I have Office 2007 installed but always error

For example this a VB test which return failed:

Public Class Form1
    Private Declare Function SQLConfigDataSource Lib "ODBCCP32.DLL" (ByVal hwndParent As Integer, ByVal ByValfRequest As Integer, ByVal lpszDriver As String, ByVal lpszAttributes As String) As Integer
    Private Const ODBC_ADD_SYS_DSN As Short = 4
    Private Const vbAPINull As Integer = 0 ' NULL Pointer

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        CreateSystemDSN()
 
    End Sub
    Public Sub CreateSystemDSN()
        Dim ReturnValue As Integer
        Dim Driver As String
        Dim Attributes As String
        Driver = "Microsoft Access Driver (*.mdb)"
        Attributes = "SERVER=SomeServer" & Chr(0)
        Attributes = Attributes & "DESCRIPTION=New DSN" & Chr(0)
        Attributes = Attributes & "DSN=DSN_TEMP" & Chr(0)
        Attributes = Attributes & "DATABASE=pubs" & Chr(0)
        ReturnValue = SQLConfigDataSource(vbAPINull, ODBC_ADD_SYS_DSN, Driver, Attributes)
        If ReturnValue <> 0 Then
            MsgBox("DSN Created")
        Else
            MsgBox("Create Failed")
        End If
    End Sub
End Class




Thank you.
QuestionSQL Server Compact Edition Pin
Haakon S.11-Feb-13 4:23
memberHaakon S.11-Feb-13 4:23 
AnswerRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 4:42
mvpRichard MacCutchan11-Feb-13 4:42 
GeneralRe: SQL Server Compact Edition Pin
Haakon S.11-Feb-13 5:37
memberHaakon S.11-Feb-13 5:37 
GeneralRe: SQL Server Compact Edition Pin
Richard MacCutchan11-Feb-13 5:58
mvpRichard MacCutchan11-Feb-13 5:58 
Questionerror while trying to uplaod the file in current directory using c language Pin
raghvendrapanda30-Jan-13 19:34
memberraghvendrapanda30-Jan-13 19:34 
AnswerRe: error while trying to uplaod the file in current directory using c language Pin
Richard MacCutchan30-Jan-13 22:03
mvpRichard MacCutchan30-Jan-13 22:03 
AnswerRe: error while trying to uplaod the file in current directory using c language Pin
«_Superman_»1-Feb-13 20:34
member«_Superman_»1-Feb-13 20:34 
QuestionTCP/IP CAsyncSocket and pointers to same Pin
bkelly1324-Jan-13 15:16
memberbkelly1324-Jan-13 15:16 
Answerclasses don't call upwards Pin
bkelly1326-Jan-13 8:55
memberbkelly1326-Jan-13 8:55 
QuestionATL and exceptions Pin
imagiro14-Jan-13 8:10
memberimagiro14-Jan-13 8:10 
AnswerRe: ATL and exceptions Pin
Jonathan Davies18-Jan-13 9:39
memberJonathan Davies18-Jan-13 9:39 
AnswerRe: ATL and exceptions Pin
bkelly1324-Jan-13 15:24
memberbkelly1324-Jan-13 15:24 
GeneralRe: ATL and exceptions Pin
Jonathan Davies6-Feb-13 7:23
memberJonathan Davies6-Feb-13 7:23 
GeneralRe: ATL and exceptions Pin
Albert Holguin11-Feb-13 5:12
memberAlbert Holguin11-Feb-13 5:12 
Questionunicode and non-unicode Pin
bkelly1314-Jan-13 3:45
memberbkelly1314-Jan-13 3:45 
AnswerRe: unicode and non-unicode Pin
Richard MacCutchan14-Jan-13 6:24
mvpRichard MacCutchan14-Jan-13 6:24 
GeneralRe: unicode and non-unicode Pin
bkelly1314-Jan-13 8:43
memberbkelly1314-Jan-13 8:43 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 21 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid