[postgis-users] looking for a repository

Mateusz Loskot mateusz at loskot.net
Fri Jul 28 00:51:13 PDT 2006


Sandeep Kumar Jakkaraju wrote:
> Hi Mateusz,
> 
> Thanx for reply... The libpqxx code is compiling and linking with my
> libraries but they are not running .. it is giving debug assertion
> memory errors ... the problem might be due to the struct member
> alignment of the libpq.dll..!!!???

I doubt this problems are caused by data misalignment.
May be you are allocating/deallocating memory across a DLL boundaries,
heap mismatch.
If there is something allocated on inside the DLL, then it should not
deleted/freed directly on the client side, but using dedicated function,
likely from factory class.

Best regards
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the postgis-users mailing list