Information générale
Catégorie:
COM/DCOM et OLE Automation
Sergey, thanks for reply. I have done further tests adding return statements in the code to see where it trips up. The (first?) offending line is REPLACE sys.importlock WITH "" ... so maybe the DBF files I opened (one with alias sys) are not available. I have forcibly used "Set Datasession to 1" but I don’t really understand this aspect of COM and most likely this is wrong. Is there a way to ensure the DBF files are available? Denis
>I have created and registered a DLL. I'm calling this with
>"nStat = myobject.orchestrate(filename)" where nStat should be a numeric return value. I get the error "OLE IDispatch exception code 0 from ?:?" ANy clues here ...! Thanks,Denis
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement