Re: C DLL Code from Assembler

2019-07-03 Thread Joseph Reichman
Thanks the program ( source ) I would do this ( call the c exports) is one with multiple csects I will look up CEEPIPI Thanks > On Jul 3, 2019, at 5:24 PM, Mike Hochee wrote: > > You might want to consider looking into CEEPIPI, which allows you to > initialize an LE 'umbrella' from a

Re: C DLL Code from Assembler

2019-07-03 Thread Mike Hochee
You might want to consider looking into CEEPIPI, which allows you to initialize an LE 'umbrella' from a non-LE conforming program and then control the execution of main programs, subprograms, dlls, etc. underneath. It is documented in chapter 30 of the LE Programming Guide. HTH, Mike

Re: C DLL Code from Assembler

2019-07-03 Thread Joseph Reichman
Well there is the first #ifdef > On Jul 3, 2019, at 4:29 PM, John Melcher > <0a33cad2fca2-dmarc-requ...@listserv.uga.edu> wrote: > > There isn't. You must instantiate Language Environment by either making your > Assembler Language routine the main() or calling it from a LE enabled

Re: C DLL Code from Assembler

2019-07-03 Thread John Melcher
There isn't. You must instantiate Language Environment by either making your Assembler Language routine the main() or calling it from a LE enabled "main". void main(char * parm) { Int rc; rc = Asmfunc(); } -Original Message- From: IBM Mainframe Assembler List

Re: C DLL Code from Assembler

2019-07-03 Thread Joseph Reichman
I saw reference to DLL’s in the XL C bookshelf Unlike Windows there doesn’t seem to be a DLLMAIN function Thanks > On Jul 3, 2019, at 3:46 PM, Tony Harminc wrote: > >> On Tue, 2 Jul 2019 at 17:24, Joseph Reichman wrote: >> >> I am hoping to have the Assembler Started task code call a

Re: C DLL Code from Assembler

2019-07-03 Thread Tony Harminc
On Tue, 2 Jul 2019 at 17:24, Joseph Reichman wrote: > I am hoping to have the Assembler Started task code call a C DLL, On the > Windows end it would be C/C+ code calling the > DLL obviously there are differences because of the platform but I am guessing > hose call be handled by #IFDEF > >

Re: HLASM calling C DLL

2019-07-03 Thread Joseph Reichman
I think I’ll compile the code on visual studio with #ifdef Then upload it Thanks > On Jul 3, 2019, at 2:46 AM, Mike Hochee wrote: > > Excellent presentation! > > Thank you Charles > > > From: IBM Mainframe Assembler List on > behalf of Joseph

Re: HLASM calling C DLL

2019-07-03 Thread Mike Hochee
Excellent presentation! Thank you Charles From: IBM Mainframe Assembler List on behalf of Joseph Reichman Sent: Tuesday, July 2, 2019 9:38 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: HLASM calling C DLL Thanks -Original Message- From: IBM