خرید بک لینک

Vote count: 0

So building off my last question, I'm receiving the error message:

LINK : fatal error LNK1194: caot delay-load 'libxml2.dll' due to import of data symbol '__imp__xmlFree'; link without /DELAYLOAD:libxml2.dll

Which is, to my understanding, happening because libxml2 defines and undefines xmlFree:

globals.h
XMLPUBVAR xmlFreeFunc xmlFree;
#undef  xmlFree

...

xmlFreeFunc xmlFree;

#ifdef LIBXML_THREAD_ENABLED
XMLPUBFUN  xmlFreeFunc * XMLCALL __xmlFree(void);
#define xmlFree 
(*(__xmlFree()))
#else
XMLPUBVAR xmlFreeFunc xmlFree;
#endif

How do I fix my code so that I can delay-load libxml2 while still deallocating memory (if I comment out just the xmlFree line, my code works fine)?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 27 خرداد 1395 ساعت: 8:19

صفحه بندی