Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
R1.dll being created
Message
De
01/07/2014 06:29:29
 
 
À
30/06/2014 12:36:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01602608
Message ID:
01602951
Vues:
83
>Hi Al.
>
>>- used your code, built, ran - no extra file created
>>- checked project information, it was multi-use by default, changed to single-use
>>- rebuilt with recompile all, ran - no extra file created
>
>It gets even weirder: when I use the following from the VFP IDE, there's no extra file:
>
>loServer = createobject('COMServer.COMServer')
>messagebox(loServer.Hello('Doug'))
>
>But when I do it in a command button in an EXE, the extra DLL is created. It happens whether the EXE is run as administrator or a normal user.
>
>>Do you have anything hooked into your project that runs at build time?
>
>No.
>
>Grasping at straws, I recreated the project from scratch, with a new name for the project (and hence the DLL), the main program, and the class (and hence the name of the COM server). No change -- when I instantiate X.MyServer (the new names) in an EXE, I get a new DLL named XR1.DLL created.
>
>Doug

Hello Doug,

What if you use a different names for project and prg?
Main PRG name should not be the same as the EXE name.

Regards,
Pieter
Pieter Runia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform