Click here to Skip to main content
15,860,859 members
Home / Discussions / C#
   

C#

 
GeneralRe: executing code in a textbox on runtime Pin
Searril28-May-09 5:21
Searril28-May-09 5:21 
AnswerRe: executing code in a textbox on runtime Pin
Giorgi Dalakishvili28-May-09 2:41
mentorGiorgi Dalakishvili28-May-09 2:41 
QuestionRe: executing code in a textbox on runtime Pin
harold aptroot28-May-09 3:26
harold aptroot28-May-09 3:26 
AnswerRe: executing code in a textbox on runtime Pin
WinSolution28-May-09 3:46
WinSolution28-May-09 3:46 
GeneralRe: executing code in a textbox on runtime Pin
harold aptroot28-May-09 3:54
harold aptroot28-May-09 3:54 
GeneralRe: executing code in a textbox on runtime Pin
molesworth28-May-09 4:49
molesworth28-May-09 4:49 
GeneralRe: executing code in a textbox on runtime Pin
WinSolution29-May-09 3:48
WinSolution29-May-09 3:48 
QuestionC++ dll in C# Pin
vijaywithu28-May-09 1:27
vijaywithu28-May-09 1:27 
hi
I am using one C++ dll in my C# compact frame work application

C#
private void button1_Click(object sender, EventArgs e)
{


try
{
Message("vijay");
//OpenDatabase(hDB, guid);
}
catch (DllNotFoundException de)
{
MessageBox.Show(de.Message, "Dll not found");
}
catch (EntryPointNotFoundException ent)
{
MessageBox.Show(ent.Message, "Entry point ex");
}
catch (MissingMethodException me)
{
MessageBox.Show(me.Message, CallingConvention.Winapi.ToString());
}
}
____________________
C++ dll:

#include "windbase.h"
#include <string.h>

CEOID CeOid = 0;
CEGUID guid;

BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{

return TRUE;
}
extern "C" __declspec(dllexport) void __stdcall Message(TCHAR* p_szMessage)
{
MessageBox(NULL, p_szMessage, _T("Message from DLL"), MB_OK);
}
_________

This is my code but it is showing that message missing exception.
Can Any one help me in figuring out the error area.


Thanks in Advance
QuestionHow to run powerpoint presentation (ppsm) file using C# in Web Based Application Pin
Anil Dwivedi28-May-09 0:21
Anil Dwivedi28-May-09 0:21 
AnswerRe: How to run powerpoint presentation (ppsm) file using C# in Web Based Application Pin
Tom Deketelaere28-May-09 0:31
professionalTom Deketelaere28-May-09 0:31 
GeneralRe: How to run powerpoint presentation (ppsm) file using C# in Web Based Application Pin
Anil Dwivedi28-May-09 2:06
Anil Dwivedi28-May-09 2:06 
QuestionWebBrowser Selected [modified] Pin
jammmie99928-May-09 0:18
professionaljammmie99928-May-09 0:18 
AnswerRe: WebBrowser Selected Pin
molesworth28-May-09 1:06
molesworth28-May-09 1:06 
GeneralRe: WebBrowser Selected Pin
jammmie99928-May-09 2:39
professionaljammmie99928-May-09 2:39 
GeneralRe: WebBrowser Selected Pin
molesworth28-May-09 2:50
molesworth28-May-09 2:50 
GeneralAbout Software .exe Pin
Isaac Gordon28-May-09 0:17
Isaac Gordon28-May-09 0:17 
GeneralRe: About Software .exe Pin
OriginalGriff28-May-09 0:27
mveOriginalGriff28-May-09 0:27 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 0:29
professionalTom Deketelaere28-May-09 0:29 
GeneralRe: About Software .exe Pin
Rajesh R Subramanian28-May-09 0:54
professionalRajesh R Subramanian28-May-09 0:54 
GeneralRe: About Software .exe Pin
Tom Deketelaere28-May-09 1:27
professionalTom Deketelaere28-May-09 1:27 
GeneralRe: About Software .exe Pin
EliottA28-May-09 3:18
EliottA28-May-09 3:18 
GeneralRe: About Software .exe Pin
Searril28-May-09 5:24
Searril28-May-09 5:24 
QuestionPassing multiple Machines to ServiceController Pin
Kunal Pandya28-May-09 0:10
Kunal Pandya28-May-09 0:10 
AnswerRe: Passing multiple Machines to ServiceController Pin
Dave Kreskowiak28-May-09 4:31
mveDave Kreskowiak28-May-09 4:31 
QuestionAccessing peoplesoft api from dotnet Pin
BabuRao.k28-May-09 0:01
BabuRao.k28-May-09 0:01 

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.