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

Managed C++/CLI

 
GeneralRe: conver size_t to System::String Pin
Xeef23-May-07 9:11
Xeef23-May-07 9:11 
GeneralRe: conver size_t to System::String Pin
led mike23-May-07 9:13
led mike23-May-07 9:13 
GeneralRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:19
Mark Salsbery23-May-07 9:19 
GeneralRe: conver size_t to System::String Pin
led mike23-May-07 9:35
led mike23-May-07 9:35 
GeneralRe: conver size_t to System::String Pin
Mark Salsbery23-May-07 9:40
Mark Salsbery23-May-07 9:40 
QuestionMDI application help - multiple Cview style Pin
earlgraham23-May-07 5:28
earlgraham23-May-07 5:28 
QuestionRootnamespace in VS2005 Pin
hansipet23-May-07 3:22
hansipet23-May-07 3:22 
QuestionPointer Pin
dodoxor22-May-07 8:54
dodoxor22-May-07 8:54 
Hi, i've a problem with a method that had to return a pointer.
In this class, i've implemented a method tha return a pointer.
class Camobj
{

public:
Camobj();
~Camobj(void);
IplImage* capture(void){
//create a IplImage* img;
return(img);
}
};
private:
....

};

In another class(window form) form1.h, i want to visualize my IplImage returned from capture method of Camobj:

#include "camobj.h"
....
public ref class Form1 : public System::Windows::Forms::Form
{
...
protected:
//Create a Camobj object
Camobj *mycam;

public:
Form1(void)
{
InitializeComponent();
mycam=new Camobj();
}
....
private: System::Void capimgbut_Click(System::Object^ sender, System::EventArgs^ e) {

IplImage* kon=mycam->capture(); //it would return a IplImage*

cvShowImage("try",kon);//cvShowImage(const char *name ,const Iplimage *image)

}
....
The problem is that it seems to not receive anything? is it possible?
Thanks, regards.


QuestionCreate video on an OpenGL window by reading memory buffers containing image frames Pin
DoctorDoctor22-May-07 7:54
DoctorDoctor22-May-07 7:54 
QuestionVerifying if one bit is set in a word value. Pin
paper6722-May-07 6:16
paper6722-May-07 6:16 
QuestionAbout help Pin
sarah_malik22-May-07 6:09
sarah_malik22-May-07 6:09 
QuestionRe: About help Pin
Mark Salsbery22-May-07 7:42
Mark Salsbery22-May-07 7:42 
GeneralRe: About help Pin
sarah_malik22-May-07 7:52
sarah_malik22-May-07 7:52 
GeneralRe: About help Pin
Mark Salsbery23-May-07 7:19
Mark Salsbery23-May-07 7:19 
GeneralRe: About help Pin
sarah_malik23-May-07 14:08
sarah_malik23-May-07 14:08 
QuestionError C2664 Pin
dodoxor21-May-07 23:41
dodoxor21-May-07 23:41 
QuestionProblem with Deserialization and Loading Assemblies Pin
YooVeeAy21-May-07 10:46
YooVeeAy21-May-07 10:46 
AnswerRe: Problem with Deserialization and Loading Assemblies Pin
hansipet21-May-07 19:14
hansipet21-May-07 19:14 
GeneralRe: Problem with Deserialization and Loading Assemblies Pin
YooVeeAy22-May-07 4:38
YooVeeAy22-May-07 4:38 
QuestionNesting Header Files Pin
teejayem21-May-07 8:54
teejayem21-May-07 8:54 
AnswerRe: Nesting Header Files Pin
Mark Salsbery21-May-07 9:19
Mark Salsbery21-May-07 9:19 
QuestionIs there willl be any implicit funcations in an empty c++ class Pin
Nandu_77b21-May-07 0:32
Nandu_77b21-May-07 0:32 
AnswerRe: Is there willl be any implicit funcations in an empty c++ class Pin
Christian Graus21-May-07 1:04
protectorChristian Graus21-May-07 1:04 
GeneralRe: Is there willl be any implicit funcations in an empty c++ class Pin
led mike21-May-07 5:54
led mike21-May-07 5:54 
AnswerRe: Is there willl be any implicit funcations in an empty c++ class Pin
sthotakura21-May-07 8:53
sthotakura21-May-07 8:53 

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.