Richard, The usual way to check if all is ok is just to cmsSaveProfileToMem, and use NULL as memory pointer. Then check the return code.
This works fine unless some nasty bug (like this latter) prevents the function to work as expected. Regards Marti El 30/07/2013 9:37, Richard Hughes escribió: > On 29 July 2013 18:46, Richard Hughes <hughsi...@gmail.com> wrote: >> Agreed, works fine now, thanks. > On the same topic, is there an easy way you can think of that allows > me either to add a #if SOME_CONDITION or ideally detect from the code > if cmsSaveProfileToMem is going to fail? Ideally something smaller > than my reproducer if it's possible. Thanks! > > Richard. > ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user