Whoa, what a lot of work this is turning out to be. So many things have moved 
into private files, like lcms2_internal.h and into actual .cp files (like the 
FILEMEM struct) so I can't even get to some pieces of data. I've actually had 
to add the src folder to our project's header search paths just so I can get to 
lcms2_internal.h and use some of the things we need. I'm also surprised the 
same 2-type convention was used to hide some structs from the user, such as 
cmsHPROFILE/_cmsICCPROFILE. All that really does is force the user to keep 
looking around in different .h files for the correct struct and add lots of 
casts to the real type in their code. Sorry to complain about stuff, but if 
nobody complains, stuff doesn't get changed.

What's the new way of doing this:

DWORD           syz;
LPVOID          mem = cmsGetMemBasedPointerAndSize(m_lcmsProf, &syz);

_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
smi...@multiad.com                        www.multiad.com




------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to