Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering a .net dll for com interop with VFP
Message
De
24/07/2009 10:18:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01413719
Message ID:
01414184
Vues:
48
>Hi Tracy,
>
>>Which vfp directory? the home() directory or the default directory when the app is loaded.
>
>The home directory. Windows resolves a lot of paths relative to the location of the process image (EXE). That's VFP in this case. Executing an EXE with DO isn't loading the EXE as an executable, rather as an APP. For Windows it would be the same as Word opening a DOCX file.
>
>It still seems that some of the references are resolved differently. This should be visible in the Procmon output. Have you had a chance to run your application with Procmon on a working machine and a non-working machine?

Yes and the entries appear identical. The path to the dll is the same for both and they both appear to be successful on every attempt to read the registry entries for all objects, events and even including COM3. I have traced through both and I don't see any differences (that was a very long process to do). I had entries on the one running inside the vfp ide for the executable as well (whatever.exe) not just vfp9.exe.

However, this morning I received a new api dll with a strong name. I haven't tested it yet, but if it does have a strong name, that should resolve the issues entirely because then it can be placed in the GAC. Or I'm hoping that will resolve all of these issues!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform