Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't access strings in VFP arrays from FLL
Message
 
À
23/07/2004 16:41:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00927428
Message ID:
00927466
Vues:
21
Paul,

You are welcome.

MartinJ

>Thank you so much! It works!!! I have been banging my head on this for four days! (I had to fix one line in your reply "l_sub" --> "l_subs".)
>
>So it looks like I had the following things wrong to access the array:
>
>1. I was confusing the number of subscripts with the number of elements, so I was setting the lines_of_code.lsubs wrongly with the number of elements:
> Lines_of_code.l_subs = (int)_ALen(parm->p[0].loc.l_NTI, AL_ELEMENTS) //wrong
> instead of:
> Lines_of_code.lsubs = 1; // one dimentsional array (REQUIRED!)
> liCount = (int)_ALen(parm->p[0].loc.l_NTI, AL_ELEMENTS); //No. of elements.
>
>2. I hadn't set the val.ev_type = 'C'
> I thought this would be there automatically, and it does seem to work OK without it.
>
>Once again, Thank you very much.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform