Ok, Thank You ZL1CVD for your comments..
I work in GPIB programming for a company, and although I don't have extensive experience in the matter, I don't have the time to play with the program inside the unit..
Long ago in the hacking games times, I run softice and cracked several programs in windows98, but nowadays my time is important to me and I have not the time nor patience to approach this issue.
I prefer to use a laptop or rasperry pi or similar board to automatize via GPIB the measures as noise figure, tracking, swr plots, Third order intercept, 1dB compression, and all the measures that interest me. The GPIB support of the unit is very good, extensive, as example you can access files from hard disk through GPIB calls.
However, if you make progress in the hacking I can support you by test or advice. You can transform a dll in a .h file to call from a programing language, but you will have only the entry points of the procedures inside the dll, not the information on parameters or functionality... So, if you call the dll it can crash, and it will crash every time.
When I receive the new hard disk, i will see the innards of the file system..
I measured THD (as SINAD I cannot measure because my B41 unit has old firmware

) on my 500MHz receiver with this little program:
*CLS
-> OUTP:STAT RF3
-> SOUR:RFG:FREQ 500 MHz
-> SOUR:RFG:MOD FM
-> SOUR:RFG:MOD:FM:FREQ 1KHZ
-> SOUR:RFG:MOD:FM:DEV 3KHZ
-> SOUR:RFG:LEV -40DBM
-> INIT:RFG;*OPC
-> CONF:AFAN:FILT:WEIG CCI
-> INIT:AFAN;*OPC
-> READ:AFAN?
So, the units can work at the same time.. no problem..

Update: Works with python and VISA with Agilent usb<->gpib adapter, no problem..
I back up the Hard disk without problem. I see the dos app and found the version of the SW as 5.1 but the version of the audio FW is old 3.4.. It can be possible to update the firmware??? I think so.. It is detailed in the service manual as the board firmware must be updated after installation... I am not sure if I mess something..
Advice??
Manuel