Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
QuestionUsing C# how to strore image in sql2005? Pin
jeya chandran2-Oct-06 3:08
jeya chandran2-Oct-06 3:08 
AnswerRe: Using C# how to strore image in sql2005? Pin
sottos2-Oct-06 3:15
sottos2-Oct-06 3:15 
QuestionNeed help on console application Pin
samaan822-Oct-06 2:37
samaan822-Oct-06 2:37 
AnswerRe: Need help on console application Pin
leppie2-Oct-06 2:39
leppie2-Oct-06 2:39 
GeneralRe: Need help on console application Pin
samaan822-Oct-06 3:34
samaan822-Oct-06 3:34 
Questionadd namespace names to a dropdownlist Pin
playout2-Oct-06 2:26
playout2-Oct-06 2:26 
AnswerRe: add namespace names to a dropdownlist Pin
leppie2-Oct-06 2:38
leppie2-Oct-06 2:38 
GeneralRe: add namespace names to a dropdownlist Pin
playout2-Oct-06 2:57
playout2-Oct-06 2:57 
GeneralRe: add namespace names to a dropdownlist Pin
Stefan Troschuetz2-Oct-06 3:25
Stefan Troschuetz2-Oct-06 3:25 
QuestionSearch Infos in Text File [modified] Pin
sottos2-Oct-06 2:20
sottos2-Oct-06 2:20 
Questionrecognising db errors Pin
honeyman_can2-Oct-06 0:43
honeyman_can2-Oct-06 0:43 
AnswerRe: recognising db errors Pin
Colin Angus Mackay2-Oct-06 2:06
Colin Angus Mackay2-Oct-06 2:06 
QuestionIntegrate C and C# Codes Pin
Cassiopeiaxy2-Oct-06 0:31
Cassiopeiaxy2-Oct-06 0:31 
Hi,

I can current move the cursor to the position by doing in a c# application:

Cursor.Position = new Point(Cursor.Position.X - 0, Cursor.Position.Y - 80);

However, if i run the above codes in a C application, it will give errors. I am developing a C application which is compile and run by using visual studio.net 2005, i cannot add the "using System.Windows.Forms;" to the C application too.

Is there any other method they can perform the above cursor.position function in a C application?

A short sample of the coding:

#include "cv.h"

#include "highgui.h"



#include <ctype.h>

#ifdef _EiC

#define WIN32

#endif

using namespace System::Windows::Forms; <--- when i try to add the namespace, the program have alot of error upon compilation

static CvMemStorage* storage = 0;

static CvHaarClassifierCascade* cascade = 0;

void detect_and_draw( IplImage* image );

Errors Encounter:

error C2061: syntax error : identifier 'namespace'

error C2143: syntax error : ';'

error C2143: syntax error : missing '{' before ':'

error C2059: syntax error: ':'

I can't figure out the problems behind. Can anyone help?


Thanks

Jas
AnswerRe: Integrate C and C# Codes Pin
User 66582-Oct-06 2:13
User 66582-Oct-06 2:13 
GeneralRe: Integrate C and C# Codes Pin
Cassiopeiaxy2-Oct-06 21:28
Cassiopeiaxy2-Oct-06 21:28 
GeneralRe: Integrate C and C# Codes Pin
User 66583-Oct-06 0:43
User 66583-Oct-06 0:43 
AnswerRe: Integrate C and C# Codes Pin
Hamid_RT2-Oct-06 9:35
Hamid_RT2-Oct-06 9:35 
GeneralRe: Integrate C and C# Codes Pin
Cassiopeiaxy2-Oct-06 21:22
Cassiopeiaxy2-Oct-06 21:22 
GeneralRe: Integrate C and C# Codes Pin
Hamid_RT3-Oct-06 1:07
Hamid_RT3-Oct-06 1:07 
QuestionHow to ... ? work with MS Excel Pin
Vasya - dragon1-Oct-06 22:42
Vasya - dragon1-Oct-06 22:42 
QuestionDatabase question, Smart PC, SQL Mobile,C# Pin
latso21-Oct-06 21:04
latso21-Oct-06 21:04 
Questionregistry values Pin
rzvme1-Oct-06 21:00
rzvme1-Oct-06 21:00 
AnswerRe: registry values Pin
Stefan Troschuetz1-Oct-06 21:10
Stefan Troschuetz1-Oct-06 21:10 
AnswerRe: registry values Pin
JacquesDP1-Oct-06 22:01
JacquesDP1-Oct-06 22:01 
QuestionPrint an html document Pin
Support1231-Oct-06 20:48
Support1231-Oct-06 20:48 

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.