Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime : Set classlib .. in myFile ?
Message
De
11/07/2003 16:51:51
 
 
À
11/07/2003 16:44:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00809354
Message ID:
00809418
Vues:
41
>>>I would like to put all my classlibs in a separate file, but I can't get it to work in Runtime.
>>>
>>>I compiled them all into myClassLibs.exe and in the main exe file I "set classlib to _base in myClassLib.exe", but it can't find them.
>>>
>>>TIA
>>
>>It works for me. You must not have something set up quite right. But I'm not trying to use _base.vcx, that's probably hard-coded in such a way that it can't find things. Open up your form as a table and see where the CLASSLOC field is pointing. If it has a path in there, you'll have problems. I know it does work if I have things named MYCLASSES.VCX in MYCLASSLIB.EXE.
>>
>>If you're trying to use the FFC and have your own layer, good luck. You're going to need it.
>
>Hi Fred,
>I was just using _base.vcx as an example. I'm not using the FFC. I'm using classlibs with names like myBase.vcx and myApp.vcx, etc.
>
>My forms do have a path in the CLASSLOC field. How do I prevent that? I assume I don't really have to edit each form's scx file to get rid of it.

That was more of a reference to the FFC class libs, not yours. I had to do nothing special for the two .EXE's to work together, just make sure that the MYCLASSLIB.VCX was excluded from the MYPROG.EXE. I even renamed the MYCLASSES.VCX/.VCT files after I built the MYCLASSLIB.EXE to make sure it wasn't using the .VCX directly when I ran the MYPROG.EXE.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform