Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class not found
Message
 
À
03/08/2001 12:17:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00539463
Message ID:
00539468
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Ramil,

See KB article "BUG: Forms Cannot Find Class Library When Calling .Exe File"

http://support.microsoft.com/support/kb/articles/Q253/8/79.ASP?LN=EN-US&SD=gn&FR=0&qry=set%20classlib&rnk=18&src=DHCS_MSPSS_gn_SRCH&SPR=FOX

Does anyone know if this is corrected in VFP7?

Doug

>Hi all,
>
>Our app uses subclasses as follows:
>
>-VFP Base (ie. commandbuttons)
> -BaseCls (ie. _commandbuttons) - BASECLS.VCX
>  -BrowerClass (ie. _frmBrowser using _commandbuttons subclasses) - APPLVL.VCX
>
>
>Everything works without problem inside the EXE. The EXE averages at 5 MB. The problem is when I do debugging; I can only validate my codes at the client environment which I am connected using a 56K modem. I have to resend the EXE (zipped) for every miniscule change I do. This is a process that obviously takes time.
>
>An idea came to me that if I copy the .PRG file which has the problem and do the debugging at their side using Notepad; then run it using the pseudo-command line in our app by using COMPILE & DO would help. I renamed the program to make sure that the EXE won't reference the compiled program inside the EXE.
>
>Now, my real problem is that; when I run the .PRG from the pseudo-command line; the BrowserClass instance in the .PRG says it can't find the BASECLS.VCX! I tried adding the following lines to the prg and it still does not work:
>
>SET CLASSLIB TO BASECLS IN APP.EXE ADDITIVE
>SET CLASSLIB TO APPLVL IN APP.EXE ADDITIVE
>
>
>Is what I'm doing valid? Or it does not really work this way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform