Click here to Skip to main content
15,891,409 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthread() Pin
ptr_Electron17-Jun-09 20:48
ptr_Electron17-Jun-09 20:48 
QuestionRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthread() Pin
chandu00417-Jun-09 21:04
chandu00417-Jun-09 21:04 
AnswerRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthread() Pin
Jijo.Raj17-Jun-09 20:58
Jijo.Raj17-Jun-09 20:58 
GeneralRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthreadex() Pin
ptr_Electron17-Jun-09 21:06
ptr_Electron17-Jun-09 21:06 
GeneralRe: How to find weather the thread is still alive when using hThread = (HANDLE)_beginthreadex() Pin
Jijo.Raj17-Jun-09 21:44
Jijo.Raj17-Jun-09 21:44 
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 
I am using Visual Studio 2008 on a 64 bit XP Machine.
I have been trying to use a DFT or FFT library for C++ for a couple of days. I have had no luck.
I tried using FFTW from fftw.org but when i try to link against it..the functions below always seem to undefined. I build the project as a 64 bit Static and 64 bit Dynamic.

error LNK2019: unresolved external symbol fftw_execute referenced in function main Temp.obj Temp
error LNK2019: unresolved external symbol fftw_plan_dft_1d referenced in function main Temp.obj Temp
Ererror LNK2019: unresolved external symbol fftw_malloc referenced in function main Temp.obj

fatal error LNK1120: 3 unresolved externals C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Temp\x64\Debug\Temp.exe Temp

These errors are from running a simple FFTW Program

#include "stdafx.h"
#include "fftw3.h"

#pragma comment(lib,"libfftw.lib");
//#include <complex.h>


#define N 100

int _tmain(int argc, _TCHAR* argv[])
{
fftw_complex *in,*out;
fftw_plan p;
in=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N);
out=(fftw_complex*) fftw_malloc(sizeof(fftw_complex)*N);
p=fftw_plan_dft_1d(N,in,out,FFTW_FORWARD,FFTW_ESTIMATE);
fftw_execute(p);
return 0;
}

Even the Dynamic version created these errors. Can anybody help me?

Are there any easy to use FFT librarys that you are aware of? It needs to run on a 64 bit machine.

Thanks
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 
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 

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.