Can C# use C++ Source files (cpp) ?
If yes, How ?
Thanks :-)
Use cpp file inC#.net
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Tanmay SarkarRank #1,407 · 1.2K reputationPosted Aug 18, 2010, 7:55 AM EDT
But you must know about them. Sir, Sam Hobbs is right follow his advice.
If you get your answer from uploaded file then please mark it as an answer.
Thank you!
Mamta MRank #268 · 9.4K reputationPosted Aug 17, 2010, 7:12 PM EDT
-Mamta
Majid KamaliRank #6,453 · 266 reputationPosted Aug 18, 2010, 2:21 AM EDT
I am a beginner.
I don't understand what you say.
Please explain how should i compile it and where is P/Invoke and COM ?
Thanks
Sam HobbsRank #107 · 20.5K reputationPosted Aug 18, 2010, 7:48 AM EDT
If the cpp file is not already in a DLL project, then you need to learn about C++ also.
Majid KamaliRank #6,453 · 266 reputationPosted Aug 18, 2010, 10:23 AM EDT