c++ - How to create a .lib file from a C# DLL? -


i need create .lib file c# dll (i think c# becuase of code calls dll https://code.google.com/p/thunder-missile-api/downloads/detail?name=missilelauncher.cs&can=2&q=) in other word's need create .lib dreamcheeky thunder missile launcher dll, comes software .

please kind enough download software , install if can, 1 mb.

now, need do? need operate device using c++. easiest way using own dll. above linked code in c#.

i tried importing dll file project c++, seems methods missing, specially methods movemissilelauncher() called in c# code.

and best thing is, might want move qt (most probably) know, having .lib idea.

this important me. please kind enough offer help. thanks.

crating lib managed dll no good. need use interop http://msdn.microsoft.com/en-us/library/ms973872.aspx

in specific case, write c++ lib exposes methods need/want call , forwards them managed c# dll using interop

i in c++/cli, personally. good, more recent article on options have here http://msdn.microsoft.com/en-us/magazine/dd315414.aspx, or here on com/.net interop , find plenty of answers.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -