There are a few things I see that are wrong… this may take a few steps.
Make a Backup Copy.
#0 change any INCLUDE('benefixxxx.inc) to add ,ONCE
#1 Work this out with your Project building as an EXE. Once that works then make it a DLL. As an EXE you’ll want a TestAsExe Procedure the does some basic stuff to see your class works. Once you have that working make a backup.
#2 Your Benificario Class is not a TYPE. My recollection is that does not work for exporting. Also coding it as a TYPE is better so
a. In the INC change "Benificario CLASS
" to “BenificarioClass CLASS,TYPE,MODULE
…”
b. In CLW search and replace “Benificario.
” to “BenificarioClass.
” note the trailing period
c. In your project you’ll have to declare Benificario CLASS(BenificarioClass).
so you have an Instance, you cannot use the TYPE class it will GPF
Get that working, backup
Next time … in the INC file your CLASS line will need LINK() and DLL() with _symbols
…
In class CLW add
MODULE('Beneficiario.clw'),LINK('Beneficiario.clw',_FrancLinkMode_),DLL(_FrancDllMode_)
Edit Project and add to Defines: _FrancLinkMode_=>1;_FrancDllMode_=>0
A post on 3 ways to set project defines C10: Adding StringTheory to a Hand Coded project
Does that build and run?