Origin Version (Select Help-->About Origin): 7.5 pro Operating System: winxp
this post pertains to a previous one, left on pkf files. I'm trying to use a custom peak for fitting with the pfm. I've written the c function in origin c, but it fits at a rediculously slow speed, so it was suggested i code it in a dll. The origin pfm includes an example dll along with the source code. The dll works fine, however i cannot compile the source that came with it. I assume if i can compile it correctly, i can modify it slightly for the peak function i want.
I cannot seem to compile the dll_func.c file included as an example. The origin compiler cannot find the windows.h header file. i tried using the windows.h file from 2 other compilers but that did not work, and ive tried compiling the dll in those compilers as well which compiled and created the dll, but the dll did not seem to integrate correctly with origin (this pertains to my previous question about pkf files). So my questions are: 1. Is it required that a DLL used by origin be compiled in origin? 2. If origin includes an example, i assume at one time it was supposed to compile, maybe the proper windows.h API file has been removed during an update?
I appreciate any advice on this. John
|