Information générale
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Rick,
Thanks for the continued help. I believe you are on the right track here, threading is my issue, and I have re-created your the example on your web page. I created a vb.net dll with 1 form and is run by your example 'runform' procedure, starting a new thread.
I then created a simple form in VFP9 with 1 button that creates this .net object and executes the runform method. Works as described. No problems.
Now I created a VFP9 exe out of this. The main prg looks like this:
do form test
read events
In form test, there is 1 button that creates the .net object and brings up the form. When I build and execute this in the VFP IDE, it runs fine. When I run the exe from Windows explorer, it errors with :
ole error code 0x8007000b An attempt was made to load a program with an invalid format.
WTF? Am I missing some code that needs to run in this VFP exe when it runs outside of the IDE?
Précédent
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