I changed opencv (actually highgui) to allow the cvSetCaptureProperty with CV_CAP_PROP_FPS using the latest inputvideo lib. But now, when i run my application using F5 in debug or release mode the picture is black on visual c++ 2003 or 2008 express. But it works with Ctrl + F5 (and the frame rate is changed too). Do you have any idea why...
Hello, can any body tell me, what is actually the difference between UCHAR and WCHAR. I am using VC++ 6.0.
Thanks in Advance
...
Hi
I hav a project.it shows error only with linking only.
it displays __getch alresdy defined evnthough i hav ignored specific library MSVCR80D.dll it shows error.
Plz Help me in this regard.....
after using /verbose:
Processed /DEFAULTLIB:msvcprtd
Processed /DEFAULTLIB:MSVCRTD
Processed /DEFAULTLIB:OLDNAMES
Processed /DEFAULTLIB:M...
Recently I've been maintaining a legacy project written in VC++ 6.0. The code uses so many unique characteristics of this compiler that porting it to a more recent standard compiler has proved to be an herculean task.
Among the thousands lines of code in the project, there are four assembler files. For some reason I don't understand, no...
I'm going to extend the existing std::map class and add a new function to it:
template<typename key_type, typename value_type>
class CleanableMap : public Cleanable, public std::map<key_type, value_type>
{
CleanableMap(const CleanableMap& in); //not implemented
CleanableMap& operator=(const CleanableMap& in); //not implemented
...
Hi
I want to write a program which runs regasm.exe to create a tlb file programatically.
How can I do this??
Ur help is greatly appreciated...
Thanks in advance.
...
How can you detect if your MFC application is not responding?
...
What is the difference between C++ and Visual C++? I know that c++ has the portability and all so if you know c++ how is it related to visual c++? Is visual c++ mostly for online apps? Would visual basic be better for desktop applications?
...
I have a VS 2005 application using C++ . It basically importing a large XML of around 9 GB into the application . After running for more than 18 hrs it gave an exception 0xc0000006 In page error. THe virtual memory consumed is 2.6 GB (I have set the 3GB) flag.
Does any one have a clue as to what caused this error and what could be the s...
Hi,
I have a bitmap of large dimension (2000 x 2000) i need to shrink that bitmap to a small dimension (150 x 150). i have written a code for it, but its not working. Can anybody help in finding the problem? The problem is the destination bitmap is just blank. I am selecting wrong DC's? I have made sure that both the source and destinat...
How do you disable closing an application when it is not responding and just wait till it recovers back?
...
How a integer data can be send to serial port.I am using MSCOMM in vc++ 6.0 for serial communication and also i have to send data in hexa format.I written the code but it is not working properly.My code is
UCHAR ID=0x10;
CHAR buffer[20];
int iposition,idistance;
Cstring str,pstr,dstr;
iposition=10;
idistance=5;
str.Format("%c",ID);
pst...
Hi
I want to run regasm.exe from cmd. which is avalable in c:\windows\Microsoft.net\framework\2.057
I do like this c:\ regasm.exe
It gives regasm is not recognized as internal or external command.
So I understood that I need to set the path for regasm.exe in environment variable.
For which variable do I need to set the path to run r...
Hey,
I am working on nesting of sheet metal parts and am implementing Minkowski Sums to find No Fit Polygons for nesting. The problem is I can give only convex sets as input to the code which calculates Minkowski sums for me. Hence I need to break a concave polygon, with holes into Convex sets. I am open to triangulation also, but I am ...
Our code includes vector, which includes memory, which includes Microsoft's intrin.h, but we have an intrin.h of our own on our include path. Hence memory picks up our intrin.h instead of the system one, and fails to compile.
Both our intrin.h and Microsoft's have been around for years, but we've never had a conflict before - VS 2010 i...
Is it possible to link C# and Visual C++ projects under 1 solution?
How can I do this?
I hav created a class in c# which contains two methods display() and ListSql().
And how to use these methods of c# project in vc++ project.which type of project i need to
create to do this.
I do like following
I have created a classlibrary wh...
I've got a project where I've just discovered that warning C4244 (possible loss of data) is being suppressed. I strongly suspect that some crummy MS header is suppressing this warning and leaving it suppressed for all translation units that include said header, but I've not determined which of their myriad headers may be at fault.
So, ...
I'm trying to spawn and then join two threads using MS VS 6.0 (2003), MS .NET Framework 1.1.
The following seems to be a reasonable solution:
CWinThread* thread1 = AfxBeginThread(worker, ¶llel_params);
CWinThread* thread2 = AfxBeginThread(worker, ¶llel_params);
WaitForSingleObject(thread1->m_hThread, INFINITE);
WaitForSingleObj...
Hi,
I am new to Visual C++ and I am using Microsoft Visual C++ 6.0 to build an application.
The application for now has to generate a .cpp file from a proprietory .cfg file. Can anyone please guide how this can be achieved. Any help or guidance is much appreciated.
Thanks,
Viren
...
Is there a way to embed a message in code that is displayed during compile-time when that piece of code is being compiled? The messages are diagnostic in nature and should not modify or abort the compile process.
(Disclaimer: I know the answer to this question. I didn't find it asked on Stack Overflow and I think it would be an useful a...