Dear All
I have read the online help about loadLibrary and Calling dynamically loadable libraries, but still seem to have trouble.
I have an MDI application that hopefully extends the functionality of an application through the API's supplied
I have read the application API example for a C program
I.E
#include apiproto.h
#define SZ_MODEL_LEN 200
long lCnx ;
long lQuery ;
long lStatus ; /* to store error code */
char szModel[SZ_MODEL_LEN] ;
/* dll initialization */
AmStartup();
/* Open a connection */
lCnx = AmOpenConnection(connection,user,pword);
In the section about calling dynamic libraries I have to declare the functions/procedures requried, therefore I created
procedure AmStartUp(); external 'MyDll.dll';
But it complains about this
Can anyone point me in the right direction or provide easier to understand information about loading and calling dll functions
Thanks
Jason Thomas
AssetCenter Consultant
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I have read the online help about loadLibrary and Calling dynamically loadable libraries, but still seem to have trouble.
I have an MDI application that hopefully extends the functionality of an application through the API's supplied
I have read the application API example for a C program
I.E
#include apiproto.h
#define SZ_MODEL_LEN 200
long lCnx ;
long lQuery ;
long lStatus ; /* to store error code */
char szModel[SZ_MODEL_LEN] ;
/* dll initialization */
AmStartup();
/* Open a connection */
lCnx = AmOpenConnection(connection,user,pword);
In the section about calling dynamic libraries I have to declare the functions/procedures requried, therefore I created
procedure AmStartUp(); external 'MyDll.dll';
But it complains about this
Can anyone point me in the right direction or provide easier to understand information about loading and calling dll functions
Thanks
Jason Thomas
AssetCenter Consultant