Click here to Skip to main content
15,887,027 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionAccessing web service in native C++ application Pin
vipin_nvk15-Feb-11 23:27
vipin_nvk15-Feb-11 23:27 
AnswerRe: Accessing web service in native C++ application Pin
Yusuf20-Feb-11 1:52
Yusuf20-Feb-11 1:52 
QuestionOPC connectivity timeout problem Pin
Neo Andreson14-Feb-11 20:19
Neo Andreson14-Feb-11 20:19 
QuestionRe: OPC connectivity timeout problem Pin
Richard MacCutchan14-Feb-11 23:00
mveRichard MacCutchan14-Feb-11 23:00 
AnswerRe: OPC connectivity timeout problem Pin
Neo Andreson15-Feb-11 1:55
Neo Andreson15-Feb-11 1:55 
GeneralRe: OPC connectivity timeout problem Pin
Richard MacCutchan15-Feb-11 2:11
mveRichard MacCutchan15-Feb-11 2:11 
QuestionBring bits of old MFC apps into an ATL app Pin
Craig Longman11-Feb-11 6:59
Craig Longman11-Feb-11 6:59 
QuestionProblems with cvSobel and cvLaplace functions under visual studio 2010 Pin
A&Ms11-Feb-11 0:38
A&Ms11-Feb-11 0:38 
Hi,
I have downloaded OpenCV 2.2.0 distribution for visual studio 2010 and as i started programming with the opencv APIs under VS 2010 I faced a terrible problem.
cvSobel and cvLaplace functions always throw cv::Exceptions and also their exceptions could have not been handled with try ... catch blocks.
the provided error is: Unhandled exception at 0x7463b727 in App.exe: Microsoft C++ exception: cv::Exception at memory location 0x003bfb9c.
and here is my code:
IplImage* pImage = cvLoadImage("..\\Tulips.jpg");

	IplImage* pImage1 = cvCreateImage(
		cvSize(pImage->width, pImage->height),
		pImage->depth,
		pImage->nChannels
		);

	IplImage* pImage2 = cvCreateImage(
		cvSize(pImage->width, pImage->height),
		pImage->depth,
		pImage->nChannels
		);
		
	cvSobel(pImage, pImage1, 0, 1, 2);
	cvLaplace( pImage, pImage2);
	

	cvNamedWindow("Image", CV_WINDOW_AUTOSIZE);
	cvShowImage("Image", pImage);

	cvNamedWindow("Image1", CV_WINDOW_AUTOSIZE);
	cvShowImage("Image1", pImage1);

	cvNamedWindow("Image2", CV_WINDOW_AUTOSIZE);
	cvShowImage("Image2", pImage2);
	
	cvWaitKey(0);

please, help me if I am forgetting sth.
AnswerRe: Problems with cvSobel and cvLaplace functions under visual studio 2010 Pin
RockwoodGuitar6-Apr-11 0:16
RockwoodGuitar6-Apr-11 0:16 
QuestionDisplaying html text on windows form Pin
nachiket0710-Feb-11 13:57
nachiket0710-Feb-11 13:57 
AnswerRe: Displaying html text on windows form Pin
Cool_Dev13-Feb-11 20:37
Cool_Dev13-Feb-11 20:37 
GeneralRe: Displaying html text on windows form Pin
nachiket0714-Feb-11 19:29
nachiket0714-Feb-11 19:29 
GeneralRe: Displaying html text on windows form Pin
Cool_Dev14-Feb-11 23:35
Cool_Dev14-Feb-11 23:35 
QuestionC++ - how to refer any header file from a dll while loading throu loadLibrary ? Pin
DavJes7-Feb-11 1:44
DavJes7-Feb-11 1:44 
AnswerRe: C++ - how to refer any header file from a dll while loading throu loadLibrary ? Pin
Richard MacCutchan7-Feb-11 5:27
mveRichard MacCutchan7-Feb-11 5:27 
Questionencryption using VS C/C++ Pin
Alan Kurlansky27-Jan-11 5:25
Alan Kurlansky27-Jan-11 5:25 
AnswerRe: encryption using VS C/C++ Pin
jk chan27-Jan-11 6:10
jk chan27-Jan-11 6:10 
GeneralRe: encryption using VS C/C++ Pin
Alan Kurlansky28-Jan-11 1:19
Alan Kurlansky28-Jan-11 1:19 
AnswerRe: encryption using VS C/C++ Pin
Gene OK14-Feb-11 6:22
Gene OK14-Feb-11 6:22 
Questionhow to close document handle Pin
VCsamir26-Jan-11 18:17
VCsamir26-Jan-11 18:17 
AnswerRe: how to close document handle Pin
Richard MacCutchan26-Jan-11 22:36
mveRichard MacCutchan26-Jan-11 22:36 
QuestionConnections points and clients and really hot chicks Pin
Jim Crafton19-Jan-11 7:42
Jim Crafton19-Jan-11 7:42 
AnswerRe: Connections points and clients and really hot chicks Pin
cariolihome19-Jan-11 12:32
cariolihome19-Jan-11 12:32 
QuestionCocoa or Qt4? Pin
Daniel Stefanovski19-Jan-11 5:14
Daniel Stefanovski19-Jan-11 5:14 
AnswerRe: Cocoa or Qt4? Pin
Steve Maier19-Jan-11 5:38
professionalSteve Maier19-Jan-11 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.