Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobjectex+ amembers create VFP crush
Message
 
À
13/03/2003 05:14:57
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00765288
Message ID:
00766033
Vues:
31
Hi Vladimir!

I don't have mappoint installed, but I was able to reproduce your problem using Excel. The following commands consistently produce a C0000005 error on my Win2K Pro (SP1) machine, under VFP7 SP1:
cr=CREATEOBJECTEX("excel.application","","")
?amembers(hh,cr,3)
This might be a serious VFP bug, but note that I get no such error if I omit the last empty string argument to CREATEOBJECTEX(), which I believe should be equivalent. I also tried using CREATEOBJECT("excel.application"), followed by the same amembers() step, and this works without any error, too. I didn't test any cases that actually require a non-empty cIID argument to CREATEOBJECT(), so I can't say if there are useful situations for which there is no simple workaround.

Perhaps someone else could test this out under VFP8 to see if the bug has been fixed (I don't have VFP8 myself). In any case, it would be nice to get a confirmation of this apparent VFP7 bug from Microsoft, and any further details about the extent of the problem.

Mike

>In VFP7-SP1
>I did this
>cr=createobjectex('mappoint.application','','')
>?amembers(hh,cr,3)
>VFP offered to send bug report and was thrown out .
>I repeated this 6 times. VFP always crushed
>There is no this problem with createobject function
>When I fced with it. I tried this for excel and get same situation at 3 computers from 8
>Best wishes, thanks in advamce
Montage

"Free at last..."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform