By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,200 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

Performance Issue between c#.net and vc++

P: 31
Hi,

In our project we received the still image from camera device. I have using the vc++ wrapper dll to invoke the camera DLL.

When I retrieve the still image from vc++ which takes 26 seconds. But the same in c#.net takes 6 seconds.

Is there any performance issue between c#.net and vc++?
Oct 23 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 671
If you compare the potential performance of C# and C++, as C++ potentially has better performance, and I say that in the most loosest of terms, and all experienced programmers know what I mean.

The point is, you're telling me a program in C# takes 6, in VC++ takes 26. Great. You could have made up those numbers. 26. 30. 300. 50000. Irrelevant. One needs to study the mechanics of the program, and if source code is available, definitely that.
Oct 23 '07 #2

P: 31
If you compare the potential performance of C# and C++, as C++ potentially has better performance, and I say that in the most loosest of terms, and all experienced programmers know what I mean.

The point is, you're telling me a program in C# takes 6, in VC++ takes 26. Great. You could have made up those numbers. 26. 30. 300. 50000. Irrelevant. One needs to study the mechanics of the program, and if source code is available, definitely that.
Thanks for your reply.

I know that c++ is better performance comparing c#. But We checked image retrieving between c# application and vc++ which is very slow.

Actually still image has 1.12 MB size. The loop executing 1024 times when retrieing the image. Each time retrieve the image data 1024 bytes.

So how can I improve the performance in vc++?
Oct 23 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.