|
then where should i ask then
and what is directshow or platform sdk
|
|
|
|
|
ricardo montemayor wrote: what is directshow or platform sdk
They are both things that are easily found with google.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi all,
i want to create a user friendly interface for other MS products the question is that VB.NET sends string value and C++ APIs require char*
project consist of VB application -> C# class library -> C++ class library(managed)
Now, when i create a function which accepts char* it raises error cannot convert string to char*
and when i change the function to System::String it is pain to convert it to char* can any one please tell me how to make it work
Thanks!
Shahzeb
|
|
|
|
|
Shahzeb Malik wrote: can any one please tell me how to make it work
They hide that information in the documentation[^]
led mike
|
|
|
|
|
what is the meaning of following declaration
typedef void _TY;
Thanks,
kalaveer.
|
|
|
|
|
Before answering this question, let me tell you. This question should be asked in VC++ forum.
kalaveer wrote: typedef void _TY;
Its a used to synonyms. In code above, now _TY foo(); declaration is actually equivalent to void foo();
Some times it is better to use typedef .
eg.
typedef char* PCHAR;
PCHAR can be easily used throughout the code as synonym of char* .
|
|
|
|
|
I have a C++ assembly that contains managed and unmanaged code. I can set breakpoints within the unamanaged functions, but they will not be hit. When I run debugging, full red circle in unmanaged part becomes an empty one and it says "The Breakpoint will currently not be hit. No executable code is associated with this line". Interesting thing is, this code does get executed, because i can see the results. I can debug managed code without any problems. Help?
|
|
|
|
|
In all your projects, set the Debugger Type to Mixed rather than Auto (which is the default setting). Plus, make sure that you generate the debug info for all projects.
|
|
|
|
|
thank you, but problem was in C# gui for that project. If you don't check "enable unmanaged code debugging" there nothing else helps.
greetz
|
|
|
|
|
I understand you have an unmanaged regular C++ DLL that you are using in a C# executable, am I right? If so, try setting the DLL as an active project, and specify the C# exe as a debug executable for that DLL.
Also, don't forget about the working directory if you are accessing data from relative paths.
|
|
|
|
|
No, actually I have a mixed C++ DLL and am using a C# executable. But no worries, I already solved my problem as I wrote earliear.
|
|
|
|
|
hi i want java code for hiding a text in a bmp file. also i want DCT (discrete cosine transform ) to be used for hiding the text in bmp file.
please i want it as soon as possible
hi
|
|
|
|
|
Come on ! this is MS centric site. I doubt , if you could get any answer here. Post this query at appropriate site.
|
|
|
|
|
Hi I want a Porsche 911[^].
please i want it as soon as possible
|
|
|
|
|
hi_prk_bably wrote: i want it as soon as possible
And yet, you're asking on a site with no visible Java forum or other Java support, in the forum with the least readers ( C++/CLI ) ????
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hello,
How can I read a Matlab array of integers in C++ using mexfiles. I found it's easy to read array of doubles with mxGetPr, but I could not find how to do it with integers.
Any help would be appreciates.
Oct.
|
|
|
|
|
You're using C++/CLI with Matlab ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
What I have is a Matlab code, and I am writing some of the subrutines in c++ using mexfiles to speed up the computations. Then you can compile this cpp files and use them in Matlab as any other function.
Mexfiles allow you to write a c++ code and through a so called gateway function just translate the input parameters from Matlab to C++, perform the operations you have to do, and then translate back the output from C++ to Matlab.
My problem is that I cannot find a way to translate an array of integers. Using the mxGetPr function you can translate an array of doubles. I am trying to read as input an array of integers and I cannot find the way.
I am not sure what CLI is.
Oct.
|
|
|
|
|
OK, so you're using VS.NET and C++/CLI ( C++ with .NET ), or are you in the wrong forum ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi,
I think (though I'm not absolutely sure) that mex DLLs always treat matrices as double type.
BTW, please do not use C++/CLI forum for this issue; use Visual C++ forum instead. I attempted to send you an e-mail, but you have not confirmed your address to CP, so I could not send my reply there. Please make this confirmation.
Also, take a look at a brilliant series of MATLAB articles at CodeProject, many of them written by A.Riazi.
|
|
|
|
|
how to write programe " Auto View CD"
|
|
|
|
|
I have been assigned with C++ project; to develop a software application for converting MP3 files to wave and vice-versa. So I need help regarding the same. I have to develop this project in C/C++.
|
|
|
|
|
Do you have to do it in C++/CLI, or ar eyou in the wrong forum ?
There's plenty of source for mp3 converting on the web, none of it C++/CLI, but much of it, C++
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Hi there,
My problem is I am using visual 2005 C++ express and try to compile the following source code:-
<br />
Byte b[] = * gcnew Byte[Convert::ToInt32((dr->GetBytes(PictureCol, 0, 0,0, Int32::MaxValue)))];<br />
And it prompt me the following error messages:-
<br />
error C2664: '__int64 System::Data::Common::DbDataReader::GetBytes(int,__int64,cli::array<Type,dimension> ^,int,int)' : cannot convert parameter 3 from 'int' to 'cli::array<Type,dimension> ^'<br />
with<br />
[<br />
Type=unsigned char,<br />
dimension=1<br />
]<br />
No standard conversion exists from the boxed form of the arithmetic type to the target type<br />
error C2440: 'initializing' : cannot convert from 'unsigned char' to 'unsigned char []'<br />
Please help to correct some of the error. Thanks you in advance
-- modified at 11:26 Monday 29th January, 2007
|
|
|
|
|
p_c wrote: error C2664: '__int64 System::Data::Common::DbDataReader::GetBytes(int,__int64,cli::array ^,int,int)' : cannot convert parameter 3 from 'int' to 'cli::array ^'
GetBytes require array<unsigned char>^ buffer as third param.
p_c wrote: error C2440: 'initializing' : cannot convert from 'unsigned char' to 'unsigned char []'
change Byte b[] to Byte b .
|
|
|
|