16,004,564 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mateusz.matyaszek (Top 19 by date)
mateusz.matyaszek
24-Apr-12 9:36am
View
When I run original I get An error has occurred during report processing.
Cannot create a connection to data source 'DataSource1'.
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
mateusz.matyaszek
24-Apr-12 9:31am
View
My understanding of which path should be where is poor. I tried original paths that ware same in MyReportServerConnection and in ReportViewer1.ServerReport.ReportServerUrl namely "http://localhost/ReportServer" but that doesn't work. Yes I did add localhost to Report Server Web Service URL's.
Other thing is that in the original there was:
"reportsportal.properties.settings
setting name="ReportsPortal_WsReportService_ReportingService2005" serializeas="String">
<value>http://myServer/ReportServer_myinstance/ReportService2005.asmx
/setting /reportsportal.properties.settings"
(removed "<" tags as it doesn't show)
in applicationSettings. But its not used anywhere so what is the significance of it?
mateusz.matyaszek
27-Sep-11 9:44am
View
Am I dreaming or there is a window in VS that shows what Symbols are loaded
mateusz.matyaszek
27-Sep-11 8:41am
View
Tried that and no joy. Even tried adding pdb file location through Symbols but no joy either.
mateusz.matyaszek
27-Sep-11 8:27am
View
Yes it compiles fine
mateusz.matyaszek
27-Sep-11 5:49am
View
How would I do that?
mateusz.matyaszek
25-Aug-11 6:33am
View
Ok. I did install service by hand using sc install and it won't start. So the problem is with builder 2010 Service Application not working on 64 bit.
mateusz.matyaszek
24-Aug-11 10:57am
View
I will try to install c++ program as service by hand and see if that works. At least I will narrow where the problem is.
mateusz.matyaszek
24-Aug-11 10:48am
View
I already did change c++ code to debug. I also made sure that c# service setup is pointing to debug version of exe file and both recompiled it and reinstalled. Everything looks like the c++ code is never called. There are no entries for start and stop of service in event log. Beeps inserted in the code don't work either.
mateusz.matyaszek
24-Aug-11 4:59am
View
First question - I don't know. I presume it installs service that points to image of whatever file you specify.
As to registry it shows
DisplayName MYPROGRAMNAME
ErrorControl 1
ImagePath MYPROGRAMPATH(folder and file created by service installation)
ObjectName LocalSystem
Start 2
Type 16
WOW64 1
mateusz.matyaszek
23-Aug-11 9:38am
View
Well I don't know what other information is really needed. I have 6 other services with exactly same problem. They all work fine when installed on 32 bit system but don't work on 64 bit.
mateusz.matyaszek
23-Aug-11 8:50am
View
Ok you are right it does have entry in registry (as a service but underlying application doesn't). I said is unimportant cuz I don't understand how this affect diagnosing of my problem. Can you explain? I would say if registry entry for service would be missing it would die at start instead of pretending to be ok.
mateusz.matyaszek
23-Aug-11 3:09am
View
Its unimportant. There are no messages in eventlog not even custom ones that start of service should produce. No registry keys are used for this particular service.
mateusz.matyaszek
22-Aug-11 10:09am
View
No the C++ code is 32 bit. Problem is that no matter what I set in c#, service won't run on 64 bit system (it only pretends to run).
mateusz.matyaszek
7-Oct-10 5:08am
View
Can you be more specific? Overriding methods of existing components is not what I do everyday :)
Example of overriden method(s) would be great.
mateusz.matyaszek
28-Sep-10 3:18am
View
Ok P is "new camera matrix" - which doesn't explain anything. I guess thats why I have used camera matrix M. If you find explanation whats the difference please post it here.
mateusz.matyaszek
28-Sep-10 3:07am
View
Ha I think I have read this somewhere in OpenCV book but how valid that is I don't know.
My solution was working but I had problem with distance measure not groving linear way eg. at 10cm it was showing 10 at 20cm 30 at 40cm 90 etc. Maybe thats the reason.
What is P1 anyway?
mateusz.matyaszek
26-Sep-10 5:06am
View
Well if you could give more details I could give better answer. Im guessing thats what you need:
//sets data
typedef struct elem_ {
float f1;
float f2;
} elem;
elem data1[1] = { 1.0f };
elem data2[1] = { 1.0f };
CvMat _rightPoint = cvMat(1, 1, CV_32FC2, data1 );
CvMat _leftPoint = cvMat(1, 1, CV_32FC2, data2 );
CV_MAT_ELEM(_rightPoint,elem, 0, 0).f1 = rightPoint.x;
CV_MAT_ELEM(_rightPoint,elem, 0, 0).f2 = rightPoint.y;
CV_MAT_ELEM(_leftPoint,elem, 0, 0).f1 = leftPoint.x;
CV_MAT_ELEM(_leftPoint,elem, 0, 0).f2 = leftPoint.y;
//undistort points
cvUndistortPoints(&_leftPoint, &_leftPoint, m_M1, m_D1, m_R1, m_M1);
cvUndistortPoints(&_rightPoint, &_rightPoint, m_M2, m_D2, m_R2 ,m_M2);
//calculate disparity
float disparity = CV_MAT_ELEM(_rightPoint,elem, 0, 0).f1 - CV_MAT_ELEM(_leftPoint,elem, 0, 0).f1;
//prapares point with (x,y,d) coordinates
typedef struct elem3_ {
float f1;
float f2;
float f3;
} elem3;
elem3 data3[3] = { 1.0f };
CvMat _3point = cvMat(1, 1, CV_32FC3, data3 );
CV_MAT_ELEM(_3point,elem3, 0, 0).f1 = rightPoint.x;
CV_MAT_ELEM(_3point,elem3, 0, 0).f2 = rightPoint.y;
CV_MAT_ELEM(_3point,elem3, 0, 0).f3 = disparity;
//gets parameters for reprojection matrix Q
float Fx_= cvmGet( m_M1, 0, 0 ); // focal length in x direction of the rectified image in pixels
float Fy_= cvmGet( m_M2, 1, 1 ); // focal length in y direction of the rectified image in pixels
float Tx_= cvmGet( m_T, 0, 0 ); // Translation in x direction from the left camera to the right camera
float Clx_= cvmGet( m_M1, 0, 2 ); // x coordinate of the optical center of the left camera
float Crx_= cvmGet( m_M2, 0, 2 ); // x coordinate of the optical center of the right camera
float Cy_= cvmGet( m_M1, 1, 2 ); // y coordinate of the optical center of both left and right cameras
float Q[]=
{
1, 0, 0, -Clx_,
0, 1, 0, -Cy_,
0, 0, 0, (Fx_+Fy_)/2,
0, 0, -1/Tx_, (Crx_-Clx_)/Tx_
};
CvMat m_Q= cvMat( 4, 4, CV_32F, Q );
//calculates 3D position of marker
cvPerspectiveTransform(&_3point,&_3point, &m_Q);
mateusz.matyaszek
21-Jun-10 4:14am
View
You are right, I got carried over. But I was hoping that someone here have some experience with computer vision and encountered simmilar problem.
Show More