Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

請問有沒有人試過 用BCB 呼叫 VC 製作出來的lib …

0 views
Skip to first unread message

Dream Chaser

unread,
Jan 6, 2000, 3:00:00 AM1/6/00
to
[原文略]

/*
要不要考慮改用以下的方法??
這樣可以避免VC++在你的函式名稱後加上一堆修飾字
但缺點是: 以這種方式, 不能夠使用同名異式的函式
*/

#ifdef _WIN32
#ifdef __cplusplus
extern "C" {
#endif

//set prototypes for functions to be exported here

#ifdef __cplusplus
}
#endif
#endif


/*
或者你可以參考MFC source code 中的.DEF檔案來寫你自己的.DEF
Compile 時記得把.DEF加入你的project 中

以上兩個方法供參考用, 有錯的話也請不吝指正
*/

--
※ Origin: 程式設計樂園 ◆ From: papa.ch.ncku.edu.tw

0 new messages