Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MsgSvc
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Re: MsgSvc
Miscellaneous
Thread ID:
00507323
Message ID:
00507670
Views:
10
Very strange. Are you getting this error regardless of what parameter you pass to MsgSvc? I would expect so, since the code which runs is the same regardles of what the parameter is.

My best guess without knowing more is to COMPILE MSGSVC.PRG and try again.
zahid

>Hello:
>
>Is there a solution for this problem:
>
>When I run: If MSGSVC('Anticipate Allocation') = "No" from a prg,
>I get the following error: "Function argument value, type, or count is
>invalid!
>
>in the following funtion - FUNCTION Long2Str:
> m.retstr = CHR(INT(m.longval/(2^I))) + m.retstr
>
>(m.longval = 340)
>
>When ran from a form, or the command window, it is ok!
>
>Thank you.
Previous
Reply
Map
View

Click here to load this message in the networking platform