作者comferret (皓呆)
看板C_and_CPP
标题[问题] dll使用上的问题?
时间Tue Feb 3 22:31:41 2009
突然想到一个怪问题?
在mfc Vc平台中现在有一个DLL里面就只有一个function如果只是
summary (int A,int B,int C) 现在我 call这一个DLL,
但是我想要能用 args D 来替代int A , int B ,int C
也就是summary (args D) 我记得可以@@?但是有一定限制问
问看要怎麽写@@?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.36.238
1F:推 syntex:再用另一个function包起来不就好了? 02/03 22:38
2F:→ comferret:@@? 02/03 22:42
3F:→ comferret:dll不能更改 02/03 23:17
4F:推 WolfLord:自己openlibary 然後GetProcAddress後自己定义类型 02/04 01:50
5F:→ WolfLord:像我就很懒,统统用 int(*)(...) :P 02/04 01:51