pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Hello, question regarding odbc
4+ messages / 3 participants
[nested] [flat]

* Hello, question regarding odbc
@ 2020-01-07 15:32 Filip Cacic <leno.application@gmail.com>
  2020-01-07 19:49 ` RE: Hello, question regarding odbc Danny Severns <Danny@eidl-sw.com>
  2020-01-07 21:30 ` Re: Hello, question regarding odbc Clemens Ladisch <clemens@ladisch.de>
  0 siblings, 2 replies; 4+ messages in thread

From: Filip Cacic @ 2020-01-07 15:32 UTC (permalink / raw)
  To: pgsql-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 trying
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 ConfigDSN
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-not-get-called-from-odbc-tes...
 .

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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* RE: Hello, question regarding odbc
  2020-01-07 15:32 Hello, question regarding odbc Filip Cacic <leno.application@gmail.com>
@ 2020-01-07 19:49 ` Danny Severns <Danny@eidl-sw.com>
  2020-01-08 10:23   ` Re: Hello, question regarding odbc Filip Cacic <leno.application@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Danny Severns @ 2020-01-07 19:49 UTC (permalink / raw)
  To: Filip Cacic <leno.application@gmail.com>; pgsql-odbc

I notice you don’t check the rc from SQLSetEnvAttr.  Are you sure it is executing properly before using hEnv in the connection handle call?

From: Filip Cacic <leno.application@gmail.com>
Sent: Tuesday, January 7, 2020 9:33 AM
To: pgsql-odbc@postgresql.org
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 trying 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 ConfigDSN 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-not-get-called-from-odbc-tes... .

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


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Hello, question regarding odbc
  2020-01-07 15:32 Hello, question regarding odbc Filip Cacic <leno.application@gmail.com>
  2020-01-07 19:49 ` RE: Hello, question regarding odbc Danny Severns <Danny@eidl-sw.com>
@ 2020-01-08 10:23   ` Filip Cacic <leno.application@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Filip Cacic @ 2020-01-08 10:23 UTC (permalink / raw)
  To: Danny Severns <Danny@eidl-sw.com>; +Cc: pgsql-odbc

Yes, it is.  It returns 0.

uto, 7. sij 2020. u 20:49 Danny Severns <Danny@eidl-sw.com> napisao je:

> *I notice you don’t check the rc from SQLSetEnvAttr.  Are you sure it is
> executing properly before using hEnv in the connection handle call?*
>
>
>
> *From:* Filip Cacic <leno.application@gmail.com>
> *Sent:* Tuesday, January 7, 2020 9:33 AM
> *To:* pgsql-odbc@postgresql.org
> *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 trying
> 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 ConfigDSN
> 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-not-get-called-from-odbc-tes...
>  .
>
>
>
> 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
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Hello, question regarding odbc
  2020-01-07 15:32 Hello, question regarding odbc Filip Cacic <leno.application@gmail.com>
@ 2020-01-07 21:30 ` Clemens Ladisch <clemens@ladisch.de>
  1 sibling, 0 replies; 4+ messages in thread

From: Clemens Ladisch @ 2020-01-07 21:30 UTC (permalink / raw)
  To: pgsql-odbc@lists.postgresql.org

Filip Cacic wrote:
> I have posted my problem on stackoverflow with pictures of my source code.

https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-on-so-when-asking-a-qu...

> when I try to connect to my DSN, it fails. It doesnt even call my method that I implement like SQLConnect..

I'd guess the driver manager tries to get the address of all required ODBC functions, and fails.


Regards,
Cle,ems





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-01-08 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07 15:32 Hello, question regarding odbc Filip Cacic <leno.application@gmail.com>
2020-01-07 19:49 ` Danny Severns <Danny@eidl-sw.com>
2020-01-08 10:23   ` Filip Cacic <leno.application@gmail.com>
2020-01-07 21:30 ` Clemens Ladisch <clemens@ladisch.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox