: Monday, July 16, 2012 9:57 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How call from C++ thru function pointer to assembler?
On 17/07/2012 11:35 AM, Charles Mills wrote:
David, thanks, will try again tomorrow.
Does it perhaps want to factor differently? Perhaps something more
like
(*extern
Does anyone know the answer to this?
I have an assembler function whose address I know at run-time in C++. I
define and store it like this
void __cdecl (*entryPoint)(const char *);
entryPoint = (void (__cdecl *)(const char *))(myVoidStar);
printf(entryPoint is %p\n, entryPoint);
Printf prints
I suggest investigating the CALLBACKANY compiler option.
On 17/07/2012, at 8:13 AM, Charles Mills charl...@mcn.org wrote:
Does anyone know the answer to this?
I have an assembler function whose address I know at run-time in C++. I
define and store it like this
void __cdecl
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of David Crayford
Sent: Monday, July 16, 2012 5:19 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How call from C++ thru function pointer to assembler?
I suggest investigating the CALLBACKANY compiler option.
On 17/07/2012, at 8:13 AM, Charles Mills charl
Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of David Crayford
Sent: Monday, July 16, 2012 6:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: How call from C++ thru function pointer to assembler?
Why the __cdecl instead of extern OS?
On 17/07/2012, at 8:34 AM, Charles Mills charl
-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Charles Mills
Sent: Monday, July 16, 2012 5:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: How call from C++ thru function pointer to assembler?
Does anyone know the answer to this?
I have an assembler function
Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
On Behalf Of Charles Mills
Sent: Monday, July 16, 2012 5:14 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: How call from C++ thru function pointer to assembler?
Does anyone know the answer to this?
I have