Thread: HCenc 027
View Single Post
Old 26th October 2013, 23:39   #20  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
An easier way to check for AvisynthExportsAVSLinkage instead of parsing the .dll export table would be just to do a ::GetProcAddress(hDLL, "AVS_Linkage"). The value returned is the address of the linkage table, but it's probably not a good idea to rely on this behaviour, instead use the "not found" error for detecting incompatible versions.

Seems I need to bump the interface version to 6 to avoid the confusion at present when I freeze the API design for release candidates.
IanB is offline   Reply With Quote