-
March 20th, 2007, 12:59 AM
#1
System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
Hi i am having some weird error that i don't know where it is come from:
Error 1 error C3767: 'System:rawing::Bitmap::Bitmap': candidate function(s) not accessible
Can you please tell me what whould i do with these error? Thanks a lot
Here is the code that i use
//some code here
using namespace System:rawing;
//some code here
public: System::Void axGrFingerXCtrl1_FingerDown(System::Object^ sender, AxGrFingerXLib::_IGrFingerXCtrlEvents_FingerDownEvent^ e) {
//do something here
Bitmap handle;
//do something here
}
-
March 20th, 2007, 04:03 AM
#2
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
Wrong forum.
Please post your question in the Managed C++ forum, as your code is not traditional C++.
Regards,
Paul McKenzie
-
March 20th, 2007, 04:09 AM
#3
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
Are you trying to mix normal VC++ program with .NET code ?
Regards,
Ramkrishna Pawar
-
March 20th, 2007, 04:15 AM
#4
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
Originally Posted by Krishnaa
Are you trying to mix normal VC++ program with .NET code ?
Yeah is there way to get away with these?
Thanks in advances
-
March 20th, 2007, 04:18 AM
#5
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
You need to use VC++.NET (managed C++), there are separate project types for VC++.NET, look for project types under New Project->Visual C++ Projects-> .NET.
Regards,
Ramkrishna Pawar
-
March 20th, 2007, 04:38 AM
#6
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
Originally Posted by Krishnaa
You need to use VC++.NET (managed C++), there are separate project types for VC++.NET, look for project types under New Project->Visual C++ Projects-> .NET.
The problem that i have here is i have a code that can compile. This project use /clrldSyntax to compile. So i think it use the old C++. I want to use that in .net version. Is there any much different between that two version of C++?
What sort of option that i should choose to get the two code working with other?
I have check in my Visual Studio, there is no option that you mentioned
Thanks you very much
-
March 21st, 2007, 04:58 AM
#7
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
-
February 28th, 2010, 11:53 PM
#8
Re: System::Drawing::Bitmap::Bitmap': candidate function(s) not accessible
This should work if you develop Windows Forms app with C++:
//some code here
using namespace System:rawing;
//some code here
public: System::Void axGrFingerXCtrl1_FingerDown(System::Object^ sender, AxGrFingerXLib::_IGrFingerXCtrlEvents_FingerDownEvent^ e) {
//do something here
Bitmap^ handle;
//do something here
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|