佚名通过本文主要向大家介绍了回调函数怎么写,js怎么写回调函数,js写回调函数,ajax回调函数怎么写,回调函数等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 怎么在ActiveX写回调函数
描述:
解决方案1:
描述:
我在dll写了回调函数,可以使用,但不知道怎么在ActiveX写回调函数,ActiveX只能通过方法调用内部函数,在方法里不能传递指针函数参数。有没有其他解决办法。
解决方案1:
http://www.microsoft.com/china/msdn/archives/others/visualc/atlmfc.asp
解决方案2: 如果是ATL写的,参考:
http://www.vchelp.net/vchelp/file2003_2/comconnpoint.asp?type_id=70&class_id=1&cata_id=3&article_id=991&search_term=