Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build of COM server fails
Message
 
To
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:
01609829
Views:
68
No not entirely.

But for testing I had the customer create a simple HelloWorld COM server and that worked fine. So it certainly looks like it's tied to this specific server, but I can't figure out why it would be different between what happens on my machines (2 different ones that work) and his (2 that don't - one on the corp net, the other on his home machine).

+++ Rick ---

>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?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform