I want winzip mac transplanted to go when porting iOS 7z module encountered a problem, 7z's LZMA SDK is open source under mac everybody knows it calls a dynamic link library 7zxa.so but ios is not allowed and dynamic link library so I think it used in the dynamic link library mac convert static lib mac call dynamic link library function entry address is known to get m_fpCreateObject = reinterpret_cast
(GetProcAddress (m_hLibrary, "CreateObject" through a function pointer )); CreateObject function entrance I 7z LZMA SDK (7z code is open source) inside the cpp files are found, but 7z LZMA SDK files which get no detailed documentation, so I always run into hanging transplant, Find the guy who gave me a solution! ! ! ! ! ! ! !
One way I've tried is to first add cpp file entry function to the project to then the compiler will tell me the function inside the subroutine can not function link in the cpp file I add those functions come (until compile). . . . However, the file is added to the 7zdecode.cpp encountered a problem when the link to the api windows down, I want to replace with LzmaDecoder.cpp 7zdecode.cpp but ran no decompression hang out
Seek expert give me a solution! ! ! ! ! ! ! !
No comments:
Post a Comment