Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
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 
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 
Cassiopeiaxy wrote:

The C program is the main executable file, the codes in c# is the function i would like to call. Can i compile the C# into a dll and use it in the C program?


You can compile the C# classes into a DLL, but you won't be able to call the DLL from your C program.
It's a bit difficult, you might need to create a wrapper DLL written in C++/CLI that will convert your C# calls into C++/CLI ones. It'S a bit more involved, though, check out this article

Cassiopeiaxy wrote:
As i have not use the VC++.net before, do you have any idea whats the difference between the MFC, Win 32 or window Form.


Win32 - the oldest C++ sindowing API for Windows, pretty complicated to create complex windows
MFC - Makes it easier to work with the Win32 API, you can drag-drop your windows with a designer in VC++
Windows.Forms - the new .NET approach, requires the .NET framework. Makes it very easy to create windows with the designer of VS .NET

You have two choices:
a) you still program in C++ and don't want the .NET framework: use MFC
b) you program in .NET: use Windows.Forms

regards

modified 12-Sep-18 21:01pm.

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 
QuestionError : "current item cannot be removed from the list because there is no current item." Pin
Nadia Monalisa1-Oct-06 20:33
Nadia Monalisa1-Oct-06 20:33 
AnswerRe: Error : "current item cannot be removed from the list because there is no current item." Pin
LongRange.Shooter3-Oct-06 8:01
LongRange.Shooter3-Oct-06 8:01 
QuestionHow to play a sound from my program Pin
CodeItWell1-Oct-06 20:29
CodeItWell1-Oct-06 20:29 
AnswerRe: How to play a sound from my program [modified] Pin
Nadia Monalisa1-Oct-06 20:35
Nadia Monalisa1-Oct-06 20:35 
AnswerRe: How to play a sound from my program Pin
Corinna John1-Oct-06 20:50
Corinna John1-Oct-06 20:50 
GeneralRe: How to play a sound from my program Pin
CodeItWell1-Oct-06 23:02
CodeItWell1-Oct-06 23:02 
GeneralRe: How to play a sound from my program Pin
Christian Graus1-Oct-06 23:35
protectorChristian Graus1-Oct-06 23:35 
GeneralRe: How to play a sound from my program Pin
Corinna John2-Oct-06 1:07
Corinna John2-Oct-06 1:07 

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.