Click here to Skip to main content
15,887,746 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Convert CString array to System::String Pin
@Intersect☺™15-Apr-10 0:58
professional@Intersect☺™15-Apr-10 0:58 
Questioncalling a winapi function from managed code Pin
david sturzenegger15-Mar-10 6:04
david sturzenegger15-Mar-10 6:04 
AnswerRe: calling a winapi function from managed code Pin
Ghydo19-Mar-10 7:34
Ghydo19-Mar-10 7:34 
QuestionSome help needed with class and this pointer Pin
nah133712-Mar-10 13:06
nah133712-Mar-10 13:06 
AnswerRe: Some help needed with class and this pointer Pin
Garth J Lancaster12-Mar-10 15:14
professionalGarth J Lancaster12-Mar-10 15:14 
GeneralRe: Some help needed with class and this pointer Pin
nah133712-Mar-10 20:57
nah133712-Mar-10 20:57 
GeneralRe: Some help needed with class and this pointer Pin
Richard MacCutchan12-Mar-10 22:21
mveRichard MacCutchan12-Mar-10 22:21 
QuestionManaged c++ std::string not accessible in unmanaged c++ Pin
Radh-e-sham11-Mar-10 20:42
Radh-e-sham11-Mar-10 20:42 
In unmanaged c++ dll i have a function which takes constant std::string as argument
Prototype : void read ( const std::string &imageSpec_ )

I call this function from managed c++ dll by passing a std::string.
When i debug the unmanaged c++ code the parameter "imageSpec_" shows the value correctly but does not allow me to copy that value in other variable.
imageSpec_.copy( sFilename, 4052 );
It shows length of "imageSpec_" as 0(zero).
If i try copying like " std::string sTempFileName(imageSpec_);" this statement string new string is a empty string.
But for "std::string sTempFileName(imageSpec_.c_str());" this statement string gets copied correctly. i.e. with charpointer string is copied correctly.
Copying this way will need a major change in unmanaged c++ code.
I am building unmanaged code in Visual studio 6.0 and managed c++ in Visual studio 2008.
Is there any specific setting or code change in managed c++ that will solve the issue?
AnswerRe: Managed c++ std::string not accessible in unmanaged c++ Pin
KarstenK11-Mar-10 21:46
mveKarstenK11-Mar-10 21:46 
AnswerRe: Managed c++ std::string not accessible in unmanaged c++ Pin
T210228-Mar-10 22:10
T210228-Mar-10 22:10 
Questionsse 2-D Inner product and transpose Pin
SMART LUBOBYA4-Mar-10 4:24
SMART LUBOBYA4-Mar-10 4:24 
QuestionIs it possible to implement a DataSource in a mixed-mode DLL? Pin
Ron Aldrich3-Mar-10 22:38
Ron Aldrich3-Mar-10 22:38 
AnswerRe: Is it possible to implement a DataSource in a mixed-mode DLL? Pin
N a v a n e e t h4-Mar-10 4:24
N a v a n e e t h4-Mar-10 4:24 
GeneralRe: Is it possible to implement a DataSource in a mixed-mode DLL? Pin
Ron Aldrich4-Mar-10 9:53
Ron Aldrich4-Mar-10 9:53 
QuestionInterface operator bug or feature with implicit/explicit cast ? Pin
Edward Diener3-Mar-10 2:43
Edward Diener3-Mar-10 2:43 
AnswerRe: Interface operator bug or feature with implicit/explicit cast ? Pin
Nish Nishant10-Mar-10 2:58
sitebuilderNish Nishant10-Mar-10 2:58 
GeneralRe: Interface operator bug or feature with implicit/explicit cast ? Pin
Edward Diener10-Mar-10 4:13
Edward Diener10-Mar-10 4:13 
QuestionBACKGROUNDWORKER in vc++ clr net 2.0 need example Pin
ajaxswan1-Mar-10 23:15
ajaxswan1-Mar-10 23:15 
AnswerRe: BACKGROUNDWORKER in vc++ clr net 2.0 need example Pin
N a v a n e e t h1-Mar-10 23:27
N a v a n e e t h1-Mar-10 23:27 
QuestionDll Pin
MsmVc25-Feb-10 20:04
MsmVc25-Feb-10 20:04 
AnswerRe: Dll Pin
Richard MacCutchan25-Feb-10 22:14
mveRichard MacCutchan25-Feb-10 22:14 
GeneralRe: Dll Pin
MsmVc25-Feb-10 22:20
MsmVc25-Feb-10 22:20 
GeneralRe: Dll Pin
Richard MacCutchan25-Feb-10 22:59
mveRichard MacCutchan25-Feb-10 22:59 
GeneralRe: Dll Pin
MsmVc25-Feb-10 23:09
MsmVc25-Feb-10 23:09 
GeneralRe: Dll Pin
Richard MacCutchan26-Feb-10 0:08
mveRichard MacCutchan26-Feb-10 0:08 

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.