Click here to Skip to main content
15,916,462 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionButton click event Pin
dodoxor22-May-07 5:49
dodoxor22-May-07 5:49 
AnswerRe: Button click event Pin
Paul Conrad13-Jul-07 13:47
professionalPaul Conrad13-Jul-07 13:47 
AnswerRe: Button click event Pin
dodoxor13-Jul-07 21:33
dodoxor13-Jul-07 21:33 
GeneralRe: Button click event Pin
Paul Conrad14-Jul-07 4:25
professionalPaul Conrad14-Jul-07 4:25 
QuestionClick Once with multiple sites Pin
Garry Pilkington22-May-07 1:01
Garry Pilkington22-May-07 1:01 
QuestionImport a class form Pin
dodoxor21-May-07 22:35
dodoxor21-May-07 22:35 
AnswerRe: Import a class form Pin
sarah_malik22-May-07 1:44
sarah_malik22-May-07 1:44 
QuestionRe: Import a class form Pin
dodoxor22-May-07 2:15
dodoxor22-May-07 2:15 
I try but it returns some compiler errors...
#ifndef CAMOBJ_H
#define CAMOBJ_H

#include "Camlive.h"
//other include..

#define WIDTH (100)
#define HEIGHT (100)

class Camobj
{

public:
Camobj();
~Camobj(void);
void capture(void);
private:
camaddr_t camaddr;
Camlive^ cml;///compiler error
};
#endif

And in the camobj.cpp
#include "stdafx.h"
#include "Camobj.h"

using namespace System;
using namespace System::IO;

Camobj::Camobj()
{
cml=new Camlive();//compiler error
}

Camobj::~Camobj(void){
...
}
The compiler errors are:
...\Camobj.h(56) : error C2143: syntax error : missing ';' before '^'
...\Camobj.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
...\Camobj.h(56) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
...\Camobj.h(56) : error C3265: cannot declare a managed 'cml' in an unmanaged 'Camobj'

.\Camobj.cpp(15) : error C2065: 'cml' : undeclared identifier
.\Camobj.cpp(15) : error C2061: syntax error : identifier 'Camlive'

How can i relsolve it?
Thanks regards.

QuestionASP.NET button transparent in Safari [modified] Pin
hifiger200421-May-07 3:24
hifiger200421-May-07 3:24 
QuestionUsing report viewer control in Windows forms with CLR suppport Pin
Shraddha Gautam19-May-07 19:57
Shraddha Gautam19-May-07 19:57 
QuestionHow to kill exe? Pin
NanaAM18-May-07 22:28
NanaAM18-May-07 22:28 
AnswerRe: How to kill exe? Pin
Giorgi Dalakishvili18-May-07 23:11
mentorGiorgi Dalakishvili18-May-07 23:11 
QuestionHow to Insert row from Binded Combo Box Pin
P.T.R.K18-May-07 20:31
P.T.R.K18-May-07 20:31 
AnswerRe: How to Insert row from Binded Combo Box Pin
PandemoniumPasha19-May-07 19:16
PandemoniumPasha19-May-07 19:16 
AnswerRe: How to Insert row from Binded Combo Box Pin
Ch_Shahzad iqbal21-May-07 23:19
Ch_Shahzad iqbal21-May-07 23:19 
QuestionHow to scroll two listbox together in c# ? Pin
nav_smec18-May-07 1:07
nav_smec18-May-07 1:07 
QuestionRe: How to scroll two listbox together in c# ? Pin
ScottM123-May-07 2:26
ScottM123-May-07 2:26 
AnswerRe: How to scroll two listbox together in c# ? Pin
nav_smec2-Jun-07 0:13
nav_smec2-Jun-07 0:13 
GeneralRe: How to scroll two listbox together in c# ? Pin
ScottM13-Jun-07 20:11
ScottM13-Jun-07 20:11 
QuestionCheckedListBox.CheckedItems Issue Pin
jimmahnow17-May-07 1:38
jimmahnow17-May-07 1:38 
AnswerRe: CheckedListBox.CheckedItems Issue Pin
Rob_ICS17-May-07 2:59
Rob_ICS17-May-07 2:59 
AnswerRe: CheckedListBox.CheckedItems Issue Pin
Ch_Shahzad iqbal18-May-07 0:41
Ch_Shahzad iqbal18-May-07 0:41 
GeneralRe: CheckedListBox.CheckedItems Issue Pin
nav_smec18-May-07 18:01
nav_smec18-May-07 18:01 
QuestionProblem occour when registering dll on win xp Pin
koolprasad200317-May-07 1:31
professionalkoolprasad200317-May-07 1:31 
AnswerRe: Problem occour when registering dll on win xp Pin
Christian Graus17-May-07 2:29
protectorChristian Graus17-May-07 2:29 

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.