C# and C++/CLI dilemma
Any function returning a non-blittable struct is incompatible with p/invoke. That was the problem here:...
View ArticleC# and C++/CLI dilemma
@Louis, can you please elaborate a bit so I can understand what kind of functions exactly requires it ? links would be just fine.Thank you and everyone else. Eyal, Regards. Any fool can write code that...
View ArticleC# and C++/CLI dilemma
Some functions signatures have marshaling issues which call for the use of a C++/CLI wrapper. That would be my criterium to decide to use a wrapper. I never felt the need to test performances.
View ArticleC# and C++/CLI dilemma
Hi Eyal,Have you solved this issue? Any update here? Cookie Luo[MSFT] MSDN Community Support | Feedback to usGet or Request Code Sample from Microsoft Please remember to mark the replies as answers if...
View ArticleC# and C++/CLI dilemma
If you are trying to use C++ classes from a library then the easiest way will be to use C++/CLI, but if you are just going to be using CDECL functions exported from a DLL, then I'd definitely use C#...
View ArticleC# and C++/CLI dilemma
Eyal,As soon as you use one single line of C# it makes no sense anymore (beside of existing code or very unsafe code) to use C++. It is up to you if you use C++, Java, C# or VB mostly is that all...
View ArticleC# and C++/CLI dilemma
If you are trying to use C++ classes from a library then the easiest way will be to use C++/CLI, but if you are just going to be using CDECL functions exported from a DLL, then I'd definitely use C#...
View ArticleC# and C++/CLI dilemma
Hi Eyal,Have you solved this issue? Any update here?Cookie Luo[MSFT] MSDN Community Support | Feedback to usGet or Request Code Sample from Microsoft Please remember to mark the replies as answers if...
View ArticleC# and C++/CLI dilemma
I see, I'll have a look. Eyal, Regards. Any fool can write code that a computer can understand. Good programmers write code that humans can understand. -- Martin Fowler.SharpHighlighter - is an...
View ArticleC# and C++/CLI dilemma
The documentation for MFC is there, it just takes a bit of digging around via Google to actually find a good example to go with the MSDN help.I still don't really understand why there is no...
View ArticleC# and C++/CLI dilemma
Well, at first I actually wanted to write everything in C++ so instinctively I thought about MFC.I read quite a bit about it and from what I gathered there are mixed opinions about MFC, mostly because...
View ArticleC# and C++/CLI dilemma
Would you consider an MFC approach?I've had a similar problem, choosing between writing an application in either MFC C++ or C# to make use of a customers own USB protocol with their own APIs. In the...
View ArticleC# and C++/CLI dilemma
Here are some articles I found for anyone who wants to study the issues I dealt with.MSDN: Native and .NET Interoperability.NET to C++ BridgeInterop Without PInvoke - Consuming Native Libraries in...
View ArticleC# and C++/CLI dilemma
Can anyone share his own experience, at least ?Eyal, Regards. Any fool can write code that a computer can understand. Good programmers write code that humans can understand. -- Martin...
View ArticleC# and C++/CLI dilemma
@Tan Silliksaar, people write mixed code mainly because there's a need to do so, not because they feel comfortable with it.It might be an advantage but not the kind of advantage I'm looking for.I'll...
View ArticleC# and C++/CLI dilemma
Well, people write mixed code because they feel more comfortable with c++ and that's ok. If you feel more comfortable with c++ then that's an advantage, of course.Some years ago, I had the same thing,...
View ArticleC# and C++/CLI dilemma
I know what are the benefits of C# and overall .Net development I've been doing that for the past 10 years and in enterprise projects what I want to know is the benefits of using C++/CLI in comparison...
View ArticleC# and C++/CLI dilemma
C++ is good for cases where you don't want your users to be required to install .NET framework.C# and especially WPF is 10 times easier and faster for creating graphical user interfaces. Also, since it...
View ArticleC# and C++/CLI dilemma
Hello,I'm in the process of creating a File Manager, it's a a side project of mine and I'm having hard times of choosing between C# and C++/CLI.Now, the reason I want to create it in C++ is avoiding...
View Article