Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
Yusuf21-Mar-09 4:34
Yusuf21-Mar-09 4:34 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
harold aptroot21-Mar-09 4:23
harold aptroot21-Mar-09 4:23 
AnswerRe: Little help with string and converting it to uppercase or lowercase Pin
Yusuf21-Mar-09 4:33
Yusuf21-Mar-09 4:33 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 5:47
maxflair21-Mar-09 5:47 
AnswerRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 6:40
maxflair21-Mar-09 6:40 
QuestionBorland C DLL in C#.NET Pin
dataminers21-Mar-09 3:28
dataminers21-Mar-09 3:28 
AnswerRe: Borland C DLL in C#.NET Pin
harold aptroot21-Mar-09 3:43
harold aptroot21-Mar-09 3:43 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 3:48
dataminers21-Mar-09 3:48 
Ok, I try this; But I get this error: Entry Point Not Found

C DLL CODE
-----------------------------------------------

#include <windows.h>

BOOL __stdcall DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID lpReserved) {
return TRUE;
}

__declspec(dllexport) void __stdcall Message(char* p_szMessage) {
MessageBox(NULL, p_szMessage, "Message from DLL", MB_OK);
}




C# DLL CODE
-----------------------------------------------

[DllImport("filename.dll")]
static extern void Message(string msg);

private void button1_Click(object sender, EventArgs e)
{
Message("Hello world");
}
AnswerRe: Borland C DLL in C#.NET Pin
Ravi Mori21-Mar-09 3:46
Ravi Mori21-Mar-09 3:46 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 3:51
dataminers21-Mar-09 3:51 
GeneralRe: Borland C DLL in C#.NET Pin
Ravi Mori21-Mar-09 4:13
Ravi Mori21-Mar-09 4:13 
AnswerRe: Borland C DLL in C#.NET Pin
Xmen Real 21-Mar-09 4:11
professional Xmen Real 21-Mar-09 4:11 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 5:06
dataminers21-Mar-09 5:06 
GeneralRe: Borland C DLL in C#.NET Pin
Ravadre21-Mar-09 6:23
Ravadre21-Mar-09 6:23 
Questionusing fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 2:45
grkrishna21-Mar-09 2:45 
AnswerRe: using fileupload control any file will save and retrieve from database Pin
Xmen Real 21-Mar-09 4:15
professional Xmen Real 21-Mar-09 4:15 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 20:46
grkrishna21-Mar-09 20:46 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
Xmen Real 21-Mar-09 21:26
professional Xmen Real 21-Mar-09 21:26 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 23:05
grkrishna21-Mar-09 23:05 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna22-Mar-09 0:03
grkrishna22-Mar-09 0:03 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna23-Mar-09 2:23
grkrishna23-Mar-09 2:23 
QuestionLdap authentication on Vista? Pin
Ronni Marker21-Mar-09 2:34
Ronni Marker21-Mar-09 2:34 
QuestionConvert PDF to Tiff Pin
Sun Rays21-Mar-09 2:18
Sun Rays21-Mar-09 2:18 
AnswerRe: Convert PDF to Tiff Pin
dan!sh 21-Mar-09 2:25
professional dan!sh 21-Mar-09 2:25 
GeneralRe: Convert PDF to Tiff Pin
Sun Rays21-Mar-09 2:27
Sun Rays21-Mar-09 2:27 

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.