Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build of COM server fails
Message
From
23/10/2014 02:09:59
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609784
Message ID:
01609791
Views:
74
Have you ruled out antivirus?

Is it a heavily managed environment/domain with unusual restrictions or GPOs?

>>WAG - are there any folder names or other monikers with spaces (at the customer site), not being quoted so they might be interpreted as too many parameters?
>
>Yeah we tried that too and moved the project folder right off the root into a simple folder structure and it still failed.
>
>Good hint though.
>
>
>+++ Rick ---
>
>>>I'm working with a customer and we're having an issue with the build process for a COM server. On my machine here and another test machine everything works just fine. However, for the customers machine and 2 others he's tried compilation of the COM server results in:
>>>
>>>Function argument value, type, or count is invalid
>>>
>>>The .exe file is not built. If we remove the one OLEPUBLIC class the project builds fine - it's only when compiling to COM that it fails. There is no errors.txt file since the project actually compiles OK.
>>>
>>>I know VFP requires Admin rights in order to and we are running FoxPro with Run as Administrator. I also know that Type library creation can fail if there are invalid characters in the public interface of a COM server, but since it works just fine for me that is unlikely to be the problem.
>>>
>>>Has anybody run into this before? Any other ideas what we can try?
>>>
>>>Some other thigns I've suggested:
>>>
>>>* Recreate the project and recompile (same result)
>>>* Move the project to a folder off the root (ie. c:\test to avoid path issues) (same result)
>>
>>WAG - are there any folder names or other monikers with spaces (at the customer site), not being quoted so they might be interpreted as too many parameters?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform