Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build it As Standard EXE or ActiveX EXE?
Message
De
12/11/2000 02:59:25
 
 
À
12/11/2000 00:17:39
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00439184
Message ID:
00440762
Vues:
17
Hi,
I just has a simple test on it.
VFP COM EXE

DEFINE CLASS myclass AS SESSION OLEPUBLIC

    PROCEDURE longProc
        FOR I =1 to 100000
        NEXT
    ENDPROC

ENDDEFINE

VB APPLICATION

PRIVATE SUB Command1_click

DIM myobj as mydll.myclass

SET myobj = NEW mydll.myclass

myobj.longproc             ' VB APP PENDING HERE UNTIL THE FOR LOOP FINISHED

SET myobj = NOTHING

END SUB
Since EXE also wait for process to be finished, should I built my module as DLL if it is just a desktop application?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform