MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DLL Module not found

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
Nimesh Srivastava
Beginner


Joined: 22 Jul 2003
Posts: 13
Topics: 8

PostPosted: Tue Aug 19, 2003 1:49 am    Post subject: DLL Module not found Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Tue Aug 19, 2003 5:28 am    Post subject: Reply with quote

Nimesh,

Did you include the DLL header file dll.h in your application?? Any way check this link for loading a DLL

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CBCPG110/4.1.3?DT=20010621125536

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nimesh Srivastava
Beginner


Joined: 22 Jul 2003
Posts: 13
Topics: 8

PostPosted: Tue Aug 19, 2003 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
DaveyC
Moderator


Joined: 02 Dec 2002
Posts: 151
Topics: 3
Location: Perth, Western Australia

PostPosted: Fri Aug 22, 2003 7:43 am    Post subject: Reply with quote

Did you import the side definition deck and prelink your program correctly?
_________________
Dave Crayford
Back to top
View user's profile Send private message Send e-mail
Nimesh Srivastava
Beginner


Joined: 22 Jul 2003
Posts: 13
Topics: 8

PostPosted: Fri Aug 22, 2003 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group