From: Paul R. <pr...@ib...> - 2002-05-01 14:23:07
|
<HTML><HEAD> <BASEFONT FACE=3D"Courier New" SIZE=3D"2" COLOR=3D"#000000"> </HEAD> <BODY> <div>On 23 Apr 2002 11:00:30 UT, woe...@ml...= wrote:<br> ><br></div> <div><FONT COLOR=3D"#000080">> It would be great if= somebody (of IBPhoenix?) could commit my</FONT><br> <FONT COLOR=3D"#000080">> changes into cvs and make= Win32 binaries available for download.</FONT><br> <FONT COLOR=3D"#000080">></FONT><br> <br></div> <div>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:<br></div> <div> </div> <div>OdbcStatement::setValue (line 435)<br></div> <div> strcpy ((char*) binding->pointer,= string[binding->blobCounter]);<br></div> <div><br> OdbcStatement::setValue (line 440)<br></div> <div> memcpy (binding->pointer,= string[binding->blobCounter], len);<br></div> <div> </div> <div>The compiler wont accept them without a type cast. So far= I've tried this kind of cast:<br></div> <div> </div> <div> (const char *)= string[binding->blobCounter]<br></div> <div> </div> <div>which the compiler accepts. Unfortunately a run-time access= violation is then generated.<br></div> <div> </div> <div>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.<br></div> <div> </div> <div> </div> <div>Paul<br></div> <div>--<br></div> <div>Paul Reeves<br></div> <div><a= href=3D"http://www.ibphoenix.com">http://www.ibphoenix.com</a><br>= </div> <div>Supporting users of Firebird and InterBase<br></div> </body></html> |