Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overflow
Message
De
21/08/2000 08:45:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Overflow
Divers
Thread ID:
00407258
Message ID:
00407258
Vues:
50
Hi,

I created an ocx in VB which I use in VFP. In one case a get an overflow error. I finally found that the error occurs at the first division I do in the ocx. If I insert a line of code like

msgBox CStr(10/2)

I will still get the overflow message (I mean that 10/2 produces the overflow!)

This behaviour is reproducable, but only with exactly the same sequence of actions from VFP. If I add on error resume next to the function I can see it skips only the first division in the function, later divisions work fine.

My questions are:
- Has anyone seen this behaviour before?
- Is this a VFP issue or a VB issue? Since not every instance of the ocx has this behaviour I tend to think it is 'somewhere between'.

Thanks,

Auke
Répondre
Fil
Voir

Click here to load this message in the networking platform