No. In the LOAD of the form, I run the program, make_classes. Later in the form, if the user chooses to route the trips, I create an object of type 'router'. It worked for a while, but most of the time, it says it can't find the class definition.
What's really annoying is that the router is just a dummy that I'm using until we get a real routing .OCX. I don't want to spend so much time fighting with it. I just want it to work so I can test the other code.
Is there a way to include classes made in code into a .VCX?
Thanks,
-Michelle
>Is the code trying to create object in the same prg with the class definition?
>
>
>p.s. SET CLASSLIB has an ADDITIVE clause *s*
>
>
>>What do I "set classlib" to? It's not in a .vcx. And I don't want to set it to something different than the .vcx that has all the classes for form stuff I use.
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