View previous topic :: View next topic |
Author |
Message |
Nimesh Srivastava Beginner
Joined: 22 Jul 2003 Posts: 13 Topics: 8
|
Posted: Tue Aug 19, 2003 1:49 am Post subject: DLL Module not found |
|
|
Hi,
I am trying to load an DLL from my aplication program (c++ in MVS env)
But I am gettting the error
"EDC5205S DLL module not found."
What I have actually done in main program accessing the DLL application
strcpy(dll,"FLEOPEN");
dllhandle* dllHandle;
dllHandle = dllload(dll);
I also tried specifying the absolute path
strcpy(dll,"\'\/\/NCSD.DBS.EXE(FLEOPEN)\'");
but same error.
Please help me out to load this DLL.
Thanx in advance... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
Nimesh Srivastava Beginner
Joined: 22 Jul 2003 Posts: 13 Topics: 8
|
Posted: Tue Aug 19, 2003 6:06 am Post subject: |
|
|
Hi Kolusu,
Thanks for the response
I included the dll.h header into my program, without which it wouldn't have compiled.
If u can please pass ur email id I can attach the concerned files / jcls for the same.
So that u can further look into it.
Kind Regards,
Nimesh |
|
Back to top |
|
|
DaveyC Moderator
Joined: 02 Dec 2002 Posts: 151 Topics: 3 Location: Perth, Western Australia
|
Posted: Fri Aug 22, 2003 7:43 am Post subject: |
|
|
Did you import the side definition deck and prelink your program correctly? _________________ Dave Crayford |
|
Back to top |
|
|
Nimesh Srivastava Beginner
Joined: 22 Jul 2003 Posts: 13 Topics: 8
|
Posted: Fri Aug 22, 2003 10:05 am Post subject: |
|
|
Hi Davey,
Thanks for the reply,
Well I used the proc
//COMPILE EXEC PGM=CBCDRVR,REGION=&CREGSIZ,
// PARM=('&CRUN/CXX &CPARM')
for compilation and for side deck card was not required, I was explicitly loading the DLL in my main program (dllload('absolute progname')).
But I didn't got was the prelinking step.
What I did was I placed the output of the above into my load library.
Please explain in detail what else needs to be done... for loading the DLL
waiting for the reply
regards
Nimesh |
|
Back to top |
|
|
|
|