473,385 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Performance Issue between c#.net and vc++

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
2 1450
oler1s
671 Expert 512MB
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
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

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

Similar topics

12
by: Dave Theese | last post by:
Hello all, I'm in a poition of trying to justify use of the STL from a performance perspective. As a starting point, can anyone cite any benchmarks comparing vectors to plain old...
133
by: Gaurav | last post by:
http://www.sys-con.com/story/print.cfm?storyid=45250 Any comments? Thanks Gaurav
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
1
by: spiff | last post by:
We are migrating from VC++ 6 to VC++ 2003. It is a plain, unmanaged application with both C and C++ source. When running the debug build, even outside the debugger, the memory allocation/deallocation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.