Simple little program cannt believe it
#include <ctest.h>
#include <ceeedcct.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <dll.h>
#pragma map(__ceetest,"CEETEST")
#pragma linkage(CEETEST,OS_NOSTACK)
main( int argc, char* argv[])
{
typedef int (DLL_FN)(char *)
dllhandle* dllHandle;
DLL_FN* fn;
_VSTRING commands;
_FEEDBACK fc;
CEETEST(&commands,&fc);
dllHandle = dllload("SYSADATA");
fn = (DLL_FN*) (dllqueryfn(dllHandle, "opendata"));
fn("SYSADATA");
return;
}
CEE3204S The system detected a protection exception (System Completion
Code=0C4).
From entry point dtFuncDeclarator::BeginNestedFunc(sFuncSymbol*)
at statement 729 at compile unit offset
+00000510 at entry offset +00000510 at address 21DEB1B8.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
