Here you go: The Origin C header files
If you want I can also send you the DLL's to load and a
sample project so you can test it fully
// Header file for origin
// Load the external DLL
#pragma dll(C:\Dokumente und Einstellungen\skl.IPP\Eigene Dateien\Visual Studio Projects\Diffusion\OriginStub\Release\Diffusion.dll)
#pragma dll(C:\Dokumente und Einstellungen\skl.IPP\Eigene Dateien\Visual Studio Projects\Diffusion\OriginStub\Release\OriginStub.dll)
// Interface for origin
// Set the current diffuion profile
int SetDiffusionProfile(double* pX, double* pC, int NumLayers);
// Returns the number of layers in the current diffusion profile
int GetNumLayers(void);
// Gets the C(X) diffusion profile data
int GetDiffusionProfile(double* pX, double* pC, int* pNumLayers, int MaxLayers);
// Set the current D(C)
int SetDofC(double* pC, double* pD, int NumEntry);
// Get the number of entries in the current D(C)
int GetNumDofCEntries(void);
// Get D(C)
int GetDofC(double* pC, double* pD, int* pNumEntry, int MaxEntries);
// Runs the diffusion code
// Constant D
int DiffusionProfileDConst(double D, double dt, int NumSteps, double MinVal, double MaxVal);
// Uses the current D(C)
int DiffusionProfileDofC(double dt, int NumSteps, double MinVal, double MaxVal);
// Performs BM-Analysis
int BMAnalysis(double Time, int MaxSteps, double Acc);