FFT run-time linking: which DLL?
Posted: 2010-06-06T12:51:51-07:00
Hi,
Warning: I am a newbie, so my question might be very basic to most of you. Anyway:
I want to use IM's FFT feature (and once I succeed, also the inverse FFT . From the command line this would be achieved with the convert -fft ... command, however, I would like to access it from within some code of mine on a Windows platform using run-time linking of the appropriate DLL(s). In a C-code, this would be done in three steps:
1. LoadLibrary -> I need to know the name of the DLL which contains the FFT function
2. GetProcAddress -> I need to know the FFT function's name within that DLL
3. use the FFT function -> I need to know the syntax of the FFT function call
The documentation seems to assume linking at compile time however I want to use the compiled DLLs rather than binding the IM sources. I have not been able to find the information needed to do this (see 1, 2, 3 above). Any help (idealy an example code sniplet) would be most appreciated!
Many thanks
Martin
Warning: I am a newbie, so my question might be very basic to most of you. Anyway:
I want to use IM's FFT feature (and once I succeed, also the inverse FFT . From the command line this would be achieved with the convert -fft ... command, however, I would like to access it from within some code of mine on a Windows platform using run-time linking of the appropriate DLL(s). In a C-code, this would be done in three steps:
1. LoadLibrary -> I need to know the name of the DLL which contains the FFT function
2. GetProcAddress -> I need to know the FFT function's name within that DLL
3. use the FFT function -> I need to know the syntax of the FFT function call
The documentation seems to assume linking at compile time however I want to use the compiled DLLs rather than binding the IM sources. I have not been able to find the information needed to do this (see 1, 2, 3 above). Any help (idealy an example code sniplet) would be most appreciated!
Many thanks
Martin