WinDev error 1017 unknown field

Solved
MiWi86-33 Posted messages 149 Status Member -  
MiWi86-33 Posted messages 149 Status Member -
Hello,

I'm getting back to you with another project, indeed I need to be able to communicate a pocket PC (client) with a PC (server) nothing simpler with sockets and a bit of research on their use.
However, when I try to send a message from my client to my server, the message is sent correctly, but my server has difficulty retrieving it, and an error appears:

Error at line 7 of the global procedure affichesmess. You called the function ListeAjoute. The passing of parameter 1 caused an error. The field LISTE_RecepMess is unknown. Technical information Project: ComPC_PPC Error dump from module <WD140VM.DLL> <14.00Qa>. - WL Call: Processing of <Global procedures of ComPC_PPC.affichesmess>, line <7>, thread <0> Function <ListeAjoute>, syntax number <1> - Level: fatal error (EL_FATAL) - Error code: 1017 - WD55 error code: 0 - No system error code - No system error message - What happened? The passing of parameter 1 caused an error. The field LISTE_RecepMess is unknown. - No debug info - Attached info: EIT_PILEWL: Global procedure affichesmess (Global procedures of ComPC_PPC.affichesmess), line 7 EIT_COMPONENT: EIT_DATEHEURE: 06/10/2009 10:50:38 - Identifier in the .err: 1017 


my affichesmess procedure is as follows
 PROCEDURE affichesmess(canal) texte is a string LOOP texte=SocketLit(canal, True) ListeAjoute("LISTE_RecepMess", texte) END ThreadStop(" ", 500) Multitask(-30)

in other words, "texte" retrieves the message circulating on my socket and adds it to my LISTE_RecepMess, however this field seems unknown, even though it is part of my window knowing that my procedure is global and should be able to find the so-called "unknown" field...
If someone could guide me on the modifications to make so that my list can be filled, it would be REALLY nice, please...
Thanks in advance...
Configuration: Windows 2000 Firefox 3.5.3

1 answer

  1. MiWi86-33 Posted messages 149 Status Member 9
     
    Found... I needed to include in my procedure:

    PROCEDURE affichesmess(canal) text is a string LOOP text=SocketRead(canal, True) ListAdd("FEN_Server.LISTE_RecepMess", text) END ThreadStop(" ", 500) Multitask(-30)


    FEN_Server.LISTE_RecepMess

    stupid error...
    0