Re: C DLL Code from Assembler

2019-07-01 Thread Joseph Reichman
I have most of it written in Assembler as a TCP/IP server With Windows being the client it issues command to the tcp/ip server Each command is in a CSECT In this Assembler CSECT I would like to call the C DLL to open read the file In Windows I would be displaying it in a rich edit The

Re: C DLL Code from Assembler

2019-07-01 Thread Charles Mills
Can you do the whole process in C? When I first tried to move myself from doing everything in assembler I kept hoping to dimp my toe into doing little bits and pieces in C, and that never worked out. What worked out was writing the whole darned thing in C, and then using assembler for a few little

Re: C DLL Code from Assembler

2019-07-01 Thread Joseph Reichman
I am trying to read a VB file First of my Assembler code is RMODE31 So I anyway have to call something below the line to open to read to close so each of these could be a DLL export The Z/os data I hope to save in a data space The windows in the global heap The processing is similar

Re: C DLL Code from Assembler

2019-07-01 Thread Charles Mills
I have written a bunch of Z and Windows "system" software in C++ so I think I am qualified to answer this question. I don't think I know enough to judge the overall practicality of this approach. Some things are nearly identical on Z and Windows: TCP comes to mind. Some things are radically

C DLL Code from Assembler

2019-07-01 Thread Joseph Reichman
Hi I have some code the majority of which I would like to duplicate on a Windows platform. It occurred to me that if I write the code as a C/C++ DLL the changes most of which I can segregate with a #ifdef. Is this doable using Metal C or do I have to use language environment. I am looking