Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with CREATEOBJECTEX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316317
Message ID:
00316518
Vues:
14
>Stephen, you need to pass either the CLSID or ProgID, not a file name, to identify the server.

Ok, I have seen that in the help files and can only get it via running createobjectex(), then COMCLASSINFO().

I used the ole/com object viewer and it gives this as a start:
// Generated .IDL file (by the OLE/COM Object Viewer)
//
// typelib filename: reindex1.exe

[
uuid(05E6F254-C844-11D3-BC83-0050BAB287A9),
version(1.0),
helpstring("reindex1 Type Library")
]
library reindex1
{
// TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
importlib("stdole32.tlb");

// Forward declare all types defined in this typelib
interface Isdtdcomm;


I like this value myself as the registry version:05E6F254-C844-11D3-BC83-0050BAB287A9

I thought that this was easier?

__Stephen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform