Unexpected disconnecting of remote connections under VFP 9 SP1

I have problem with unexpected disconnecting of remote connections under VFP 9 SP1 runtimes (only under SP1 runtimes). For example, using _VFP object to access forms will cause this and I am analysing other situations. Using _SCREEN object does not cause this. Does anyone found this too and in what situations  


Answer this question

Unexpected disconnecting of remote connections under VFP 9 SP1

  • Judy Booth

    Using SP1 was however enforced by huge list of serious bugs in production version of VFP 9...

  • Giorgio Sardo

    Sorry. This is a private Beta build and I cannot release it to you, or anyone. It is not the "released' version but may be close to it - I simply don't know.

    As a matter of principle you should not be using Beta code in production applications anyway - for precisely the reasons we see here! Sometimes things get broken in Beta and are then fixed in later bulds - as this case seems to demonstrate. You should only ever load Beta code for testing purposes and you should never assume that what you see in a Beta version will even be in the released version - even in Public Betas!


  • Gerardb

    That I don't know about. I develop extensively in VFP and I am still running the 0.0 Release on my production applications and don't have any problems.

    Which "huge list of serious bugs" are you referring to Seemed to me that most of the fixes in SP1 were for things that were either trivial (i.e. had easy workarounds anyway), or just plain obscure.

    Notice, I'm not saying that there weren't some issues with Version 0, but I hardly think the phrase "huge list of serious bugs" is justified. But you may have different requirements than me.

    I would be interested to know which ones were the show-stoppers for you - the FixList included 117 items - what were the top 10 for you



  • liu1323

    Because this problem can be seen only under runtime, we need to create aplication, which for example runs one form. This form will open some remote views (for example in load event - does not matter). Then i added command button and in Click() event this code :

    nPoc = 0

    nPoc = ASQLHANDLES(aPom)

    IF nPoc = 0

       WAIT WINDOW "All connection handles disconnected (1) !"

    ELSE

       WAIT WINDOW "OK"

    ENDIF

    FOR EACH form IN _VFP.forms

       * some fake code for this example * 
       IF form
    .name = ""

       ENDIF

    ENDFOR

    nPoc = 0

    nPoc = ASQLHANDLES(aPom)

    IF nPoc = 0

       WAIT WINDOW "All connection handles disconnected (2) !"

    ELSE

       WAIT WINDOW "Still OK"

    ENDIF



  • ClementM

    Yes, I am using public beta SP1 - VFP version is :

    09.00.0000.3307
     

  • Tony Rosen

    I thought so. This was something in the Public Beta.

    I cannot reproduce the behavior you are seeing in Build Number 3504 - the code you posted functions just fine....

  • Arun SB

    Hi

    Is this the Public Beta of SP1 [What VFP build number are you using (output from VERSION() will tell us)]

    Meanwhile, I will take a look look and see if I can reproduce what you describe in the current build. If I can we will need to contact the VFP team urgently because this may be an SP1 issue and it must be close to release now...


  • John Locke

    This has not been reported anywhere that I have seen. Can you give a reproducible example in code

  • Winnie Ng

    Great, can you please send me this new version of SP1, or is it possible to download it anywhere

  • Unexpected disconnecting of remote connections under VFP 9 SP1