213
lcmax = settings->hReal[0][17];
214
foo.FirstTol( prec, resol, lcmax);
215
216
HeaveRate = foo.heave();
217
heaverate->real = HeaveRate;
218
219
220
return 0;
// return 0 to indicate there was no error
221
222
}
223
224 BOOL WINAPI DllEntryPoint (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved)
225 {
226
switch (dwReason)
227
{
228
case DLL_PROCESS_ATTACH:
229
{
230
231
// DLL is attaching to the address space of the current process.
232
//
233
234
if ( CreateUserFunction( hDLL, &RIGIDICE ) == NULL )
235
break;
236
237
if ( CreateUserFunction( hDLL, &heaverate ) == NULL )
238
break;
239
if ( CreateUserFunction( hDLL, &heavepressure ) == NULL )
240
break;
241
}
//
CreateUserFunction( hDLL, &heavepressure );
242
243
case DLL_THREAD_ATTACH:
// A new thread is being created in the current process.
244
case DLL_THREAD_DETACH:
// A thread is exiting cleanly.
245
case DLL_PROCESS_DETACH:
// The calling process is detaching the DLL from its address
246
space.
247
break;
248
}
249
return TRUE;
250
251 }
252
253
32