[IBPP-DISCUSS] Current code base and Windows stack corruption on 64-bit
IBPP is a C++ client class library for FirebirdSQL
Status: Inactive
Brought to you by:
epocman
|
From: Charles H. <Cha...@dd...> - 2018-05-01 17:09:04
|
Hi IBPP team, I ran across a problem with the IBPP code on Windows (VS 2017). Access to a Firebird embedded DB using the IBPP wrapper can result in stack corruption for 64-bit. As the post below indicates, the correction was to modify ibase.h as below: ( https://stackoverflow.com/questions/36044885/firebird-ibpp-insert-fails-silently ) 69c69 < typedef long ISC_STATUS; --- > typedef intptr_t ISC_STATUS; Should this be rolled back into the source (appropriate ifdef for Windows added)? The ibase.h included in the 2-0-5-1 source is older than that shipped with recent Firebird database examples. However, substitution of the newer ibase.h may break some definitions for LoadLibrary. Have others tried this? Thanks, Charlie |