/[ascend]/trunk/base/generic/utilities/ascDynaLoad.c
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascDynaLoad.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 542 by wangym, Tue Apr 18 06:45:06 2006 UTC revision 543 by johnpye, Thu Apr 27 00:04:13 2006 UTC
# Line 187  int Asc_DynamicLoad(CONST char *path, CO Line 187  int Asc_DynamicLoad(CONST char *path, CO
187    
188    xlib = LoadLibrary(path);    xlib = LoadLibrary(path);
189    if (xlib == NULL) {    if (xlib == NULL) {
190      ERROR_REPORTER_NOLINE(ASC_PROG_ERR,"Asc_DynamicLoad: LoadLibrary failed\n");      ERROR_REPORTER_NOLINE(ASC_PROG_ERR,"Asc_DynamicLoad: LoadLibrary failed\n'%s'",path);
191      return 1;      return 1;
192    }    }
193      ERROR_REPORTER_NOLINE(ASC_PROG_NOTE,"Asc_DynamicLoad: LoadLibrary succeeded, '%s'\n",path);
194    
195    if (NULL != initFun) {    if (NULL != initFun) {
196      install = (int (*)(void))GetProcAddress(xlib,initFun);      install = (int (*)(void))GetProcAddress(xlib,initFun);
197      if (install == NULL) {      if (install == NULL) {

Legend:
Removed from v.542  
changed lines
  Added in v.543

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22