Click here to Skip to main content
15,893,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthreadex() Pin
ptr_Electron17-Jun-09 22:35
ptr_Electron17-Jun-09 22:35 
GeneralRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthreadex() Pin
Jijo.Raj17-Jun-09 23:14
Jijo.Raj17-Jun-09 23:14 
QuestionDFT or FFT Library for C++ and FFTW Problems Pin
jobin00700717-Jun-09 19:30
jobin00700717-Jun-09 19:30 
QuestionRe: DFT or FFT Library for C++ and FFTW Problems Pin
CPallini18-Jun-09 1:35
mveCPallini18-Jun-09 1:35 
AnswerRe: DFT or FFT Library for C++ and FFTW Problems Pin
jobin00700718-Jun-09 4:38
jobin00700718-Jun-09 4:38 
QuestionVc++ dll creation Pin
anishkannan17-Jun-09 19:09
anishkannan17-Jun-09 19:09 
AnswerRe: Vc++ dll creation Pin
CPallini17-Jun-09 21:26
mveCPallini17-Jun-09 21:26 
GeneralRe: Vc++ dll creation Pin
anishkannan17-Jun-09 22:56
anishkannan17-Jun-09 22:56 
Thank you for the replay

I was created a dll using Console application of Vc++ Express Edition. After that i used the dll in sample C# application (Used in same system and also same platform)

My code is
[DllImport("Hash.dll",EntryPoint = "getHashCode" ) ]
static extern int getHashCode();
static void Main(string[] args)
{
try
{
Console.WriteLine(getHashCode());

Console.ReadKey();

}
catch (Exception e)
{
Console.WriteLine(e.Message);

}

I got this Exception


Unable to find an entry point named 'getHashCode' in DLL 'Hash.dll'.

Thankyou
QuestionRe: Vc++ dll creation Pin
CPallini17-Jun-09 23:05
mveCPallini17-Jun-09 23:05 
AnswerRe: Vc++ dll creation Pin
anishkannan17-Jun-09 23:34
anishkannan17-Jun-09 23:34 
QuestionRe: Vc++ dll creation Pin
CPallini17-Jun-09 23:41
mveCPallini17-Jun-09 23:41 
AnswerRe: Vc++ dll creation Pin
anishkannan17-Jun-09 23:51
anishkannan17-Jun-09 23:51 
QuestionRe: Vc++ dll creation Pin
CPallini18-Jun-09 0:00
mveCPallini18-Jun-09 0:00 
AnswerRe: Vc++ dll creation Pin
anishkannan18-Jun-09 0:08
anishkannan18-Jun-09 0:08 
GeneralRe: Vc++ dll creation Pin
CPallini18-Jun-09 0:38
mveCPallini18-Jun-09 0:38 
QuestionHow to Connect C++ code with MySQL Pin
6kyAngel17-Jun-09 18:13
6kyAngel17-Jun-09 18:13 
AnswerRe: How to Connect C++ code with MySQL Pin
CPallini17-Jun-09 21:36
mveCPallini17-Jun-09 21:36 
QuestionRe: How to Connect C++ code with MySQL Pin
David Crow18-Jun-09 2:46
David Crow18-Jun-09 2:46 
QuestionAnimated GIF's as back ground under push buttons in MFC Pin
kishoresajja17-Jun-09 13:54
kishoresajja17-Jun-09 13:54 
AnswerRe: Animated GIF's as back ground under push buttons in MFC Pin
chandu00417-Jun-09 20:42
chandu00417-Jun-09 20:42 
GeneralRe: Animated GIF's as back ground under push buttons in MFC Pin
kishoresajja18-Jun-09 11:44
kishoresajja18-Jun-09 11:44 
GeneralRe: Animated GIF's as back ground under push buttons in MFC Pin
kishoresajja22-Jun-09 9:55
kishoresajja22-Jun-09 9:55 
AnswerRe: Animated GIF's as back ground under push buttons in MFC Pin
kilt17-Jun-09 20:46
kilt17-Jun-09 20:46 
GeneralRe: Animated GIF's as back ground under push buttons in MFC Pin
kishoresajja18-Jun-09 11:44
kishoresajja18-Jun-09 11:44 
QuestionConnecting Push buttons by arrow lines in MFC Form View Pin
kishoresajja17-Jun-09 13:48
kishoresajja17-Jun-09 13: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.