Hello Paul,
first I want to apologize for my non-working modifications. Since I only have a MSVC 5 Personal Edition which refuses to compile the sources because of statically linked MFC, I did not and still do not have any possibility to test my changes. I already received feedback from one who had the same problem, but we could not solve it. Sorry that I did not inform you at once that there is a compiler error in my changes - I thought you were the ODBC driver developer and can handle that.
So for now I already have tried to "organize" a Pro compiler edition to be able to test my changes before submission - maybe I get one in a few days, and then I hopefully can solve the problem and test the driver. Hence I would like to suggest that someone maybe should make the ODBC driver dynamically linked to MSVC - if this is possible with little effort - so that it can be compiled with the Personal editions of Microsoft's compilers.
Regards,
Michael Woecherl
Original Message processed by Tobit InfoCenter
Subject: Re: [Firebird-odbc-devel] Blob fields: wrong behaviour (01-Mai-2002 16:19)
From: pr...@ib...
To: woe...@ml... (and 1 other)
On 23 Apr 2002 11:00:30 UT, woe...@ml... wrote:
>
> It would be great if somebody (of IBPhoenix?) could commit my
> changes into cvs and make Win32 binaries available for download.
>
I've been going through your bug fix and I've found that it doesn't compile. The error appears to be associated with these two lines:
OdbcStatement::setValue (line 435)
strcpy ((char*) binding->pointer, string[binding->blobCounter]);
OdbcStatement::setValue (line 440)
memcpy (binding->pointer, string[binding->blobCounter], len);
The compiler wont accept them without a type cast. So far I've tried this kind of cast:
(const char *) string[binding->blobCounter]
which the compiler accepts. Unfortunately a run-time access violation is then generated.
If you have any suggestions I'm happy to try them. I'm not the developer of the driver - just the maintainer of the source.
Paul
--
Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase
To: pr...@ib...
fir...@li...
|