Stanley,
I think the problem is your object reference. Try:
oVb = createobject("XXX.XXX")
oVb.a1 = "!!!"
This is because FoxPro uses the letters A-J to reference workareas.
Hope this helps
<
I use VFP to create this object is no problem
after I assign the value to one of the property of this object.
error come out . It said "it is not a Varaible".
for example :
a=createobject("XXX.XXX") <----- no problem
a.a1="!!!" <----- error come out !
(I can see the property of a1 in my debugger in VFP. and the type of the
property also correct )
Why my VB maked dll can't work on VFP ?>>
Daniel