看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) Windows, VC++, LabVIEW 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 如何實現: 當LabVIEW餵給被呼叫的dll一個字串, dll依據字串的內容回傳對應的記憶體位址? (不同的name指向不同的memory block) Example: int* Mydll(char* name); 補充說明(Supplement): 這個要求有點像是C++裡面Reference to Pointer的概念, 不同的Reference變數名稱指向不同的指標(or 記憶體位址), 但是是要求在不同應用程式之間實現這個概念, 請問各位會怎麼做呢? 請不吝指教謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.251.220.112 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1442467601.A.F82.html