作者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