Re: Hello, question regarding odbc
Filip Cacic <[email protected]> Wed, 8 Jan 2020 11:23:42 +0100
| Newsgroups | gmane.comp.db.postgresql.odbc |
|---|---|
| Message-ID | <CAMDk46E4+pTm9RG1dFQq=p0xdh4agJkwf=geBTJ586=emSdAJw@mail.gmail.com> |
--000000000000fe7260059b9e4955 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, it is. It returns 0. uto, 7. sij 2020. u 20:49 Danny Severns <[email protected]> napisao je: > *I notice you don=E2=80=99t check the rc from SQLSetEnvAttr. Are you sur= e it is > executing properly before using hEnv in the connection handle call?* > > > > *From:* Filip Cacic <[email protected]> > *Sent:* Tuesday, January 7, 2020 9:33 AM > *To:* [email protected] > *Subject:* Hello, question regarding odbc > > > > Hello my name is Filip and in short I have question regarding ODBC. > > > > Before, I am very sorry for disturbing, but little bit desperate in tryin= g > to solve my problem regarding odbc. > > > > I am in situation where I m trying to build my own custom odbc, but > already struggling on the start. > > > > So far I made the setup.dll and everything works fine. My method ConfigDS= N > gets called and setup everything that is needed. > > > > But now my problem is that when I try to connect to my DSN, it fails. It > doesnt even call my method that I implement like SQLConnect.. > > > > I have posted my problem on stackoverflow with pictures of my source code= . > > > https://stackoverflow.com/questions/59552680/my-odbc-api-functions-does-n= ot-get-called-from-odbc-test?noredirect=3D1#comment105289572_59552680 > . > > > > I tried with many resources from the internet but they either not work or > I am missing some fundemental knowledge of alll of that. > > I would be really greatful if you can give me some guide on how to solve > this. > > > > P.S I am also willing to pay for the help aka Tutorial/guide > --000000000000fe7260059b9e4955 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Yes, it is.=C2=A0 It returns 0.=C2=A0<br></div><br><div cl= ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">uto, 7. sij 2020.= u 20:49 Danny Severns <<a href=3D"mailto:[email protected]">Danny@eidl-= sw.com</a>> napisao je:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"> <div lang=3D"EN-US"> <div class=3D"gmail-m_-4771778784555978648WordSection1"> <p class=3D"MsoNormal"><b><span style=3D"font-size:12pt;font-family:Arial,s= ans-serif;color:rgb(47,84,150)">I notice you don=E2=80=99t check the rc fro= m SQLSetEnvAttr.=C2=A0 Are you sure it is executing properly before using h= Env in the connection handle call?<u></u><u></u></span></b></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:12pt;font-family:Arial,s= ans-serif;color:rgb(47,84,150)"><u></u>=C2=A0<u></u></span></b></p> <p class=3D"MsoNormal"><b>From:</b> Filip Cacic <<a href=3D"mailto:leno.= [email protected]" target=3D"_blank">[email protected]</a>>= <br> <b>Sent:</b> Tuesday, January 7, 2020 9:33 AM<br> <b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">p= [email protected]</a><br> <b>Subject:</b> Hello, question regarding odbc<u></u><u></u></p> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <p class=3D"MsoNormal">Hello my name is Filip and in short I have question = regarding ODBC.<u></u><u></u></p> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">Before, I am very sorry for disturbing, but little b= it desperate in trying to solve my problem regarding odbc.<u></u><u></u></p= > </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">I am in situation where I m trying to build my own c= ustom odbc, but already struggling on the start.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">So far I made the setup.dll and everything works fin= e. My method ConfigDSN gets called and setup everything that is needed.<u><= /u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">But now my problem is that when I try to connect to = my DSN, it fails. It doesnt even call my method that I implement like SQLCo= nnect..<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">I have posted my problem on stackoverflow with pictu= res of my source code.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><a href=3D"https://stackoverflow.com/questions/59552= 680/my-odbc-api-functions-does-not-get-called-from-odbc-test?noredirect=3D1= #comment105289572_59552680" target=3D"_blank">https://stackoverflow.com/que= stions/59552680/my-odbc-api-functions-does-not-get-called-from-odbc-test?no= redirect=3D1#comment105289572_59552680</a>=C2=A0.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">I tried with many resources from the internet but th= ey either not work or I am missing some fundemental knowledge of alll of th= at.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal">I would be really greatful if you can give me some g= uide on how to solve this.<u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">P.S I am also willing to pay for the help aka Tutori= al/guide=C2=A0<u></u><u></u></p> </div> </div> </div> </div> </blockquote></div> --000000000000fe7260059b9e4955--