In VFP 8.0 (sp 1 installed), when i build the EXE of a project containing an
OLE public class, i get the following error message
"Function argument value, type, or count is invalid"

This error is displayed when the status bar has shown : "Creating type
library & registering Com component".

Any help will be appreciated,

Kind regards,

Guy

Re: Function argument value ... is invalid when buiding EXE by Eric

Eric
Thu Mar 04 05:13:17 CST 2004

Hello, Guy!

what does the project.err file in the project folder say?
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: Function argument value ... is invalid when buiding EXE by Guy

Guy
Thu Mar 04 05:28:37 CST 2004

Thanks for your help,

There is no err file, nor in the project menu.
Building the APP does NOT produce this error.

Guy


"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> a écrit dans le message
news: OcjGzmdAEHA.1560@tk2msftngp13.phx.gbl...
> Hello, Guy!
>
> what does the project.err file in the project folder say?
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
>



Re: Function argument value ... is invalid when buiding EXE by Josh

Josh
Thu Mar 04 08:15:39 CST 2004

Check your public class to make sure that everything is fine.

Try taking your public clas; putting it into it's own project & building a dll

On Thu, 4 Mar 2004 12:08:03 +0100, "Guy Colsoul" <guy.colsoul@ineo.be> wrote:

>In VFP 8.0 (sp 1 installed), when i build the EXE of a project containing an
>OLE public class, i get the following error message
>"Function argument value, type, or count is invalid"
>
>This error is displayed when the status bar has shown : "Creating type
>library & registering Com component".
>
>Any help will be appreciated,
>
>Kind regards,
>
>Guy
>


---
Remove x's to send.

Re: Function argument value ... is invalid when buiding EXE by Wolfgang

Wolfgang
Thu Mar 04 13:03:11 CST 2004

Hi Guy!

Would be so kind to write a reduced version of the ole public class here in
the newsgroup?

--
_________________

MFG
Wolfgang Schmale

MS Visual FoxPro MVP

--------------------------------
"Guy Colsoul" <guy.colsoul@ineo.be> schrieb im Newsbeitrag
news:40470d55$0$1124$6c56d894@feed0.news.be.easynet.net...
> In VFP 8.0 (sp 1 installed), when i build the EXE of a project containing
an
> OLE public class, i get the following error message
> "Function argument value, type, or count is invalid"
>
> This error is displayed when the status bar has shown : "Creating type
> library & registering Com component".
>
> Any help will be appreciated,
>
> Kind regards,
>
> Guy
>
>


Re: Function argument value ... is invalid when buiding EXE by Guy

Guy
Fri Mar 05 03:44:41 CST 2004

Solved !

The class was based on a custom class -> not easy to to publish it in the
newsgroup

One of the methods of this class had a variable parameter named "var". (bad
idea :-)
When renaming this parameter -> everything OK

(Just for info, there was no problem with VFP 7)

Thanks to the group for the help,

Kind regards,

Guy

"Wolfgang Schmale" <w_schmale@wsnews.de> a écrit dans le message news:
#mrPhHiAEHA.580@TK2MSFTNGP11.phx.gbl...
> Hi Guy!
>
> Would be so kind to write a reduced version of the ole public class here
in
> the newsgroup?
>
> --
> _________________
>
> MFG
> Wolfgang Schmale
>
> MS Visual FoxPro MVP
>
> --------------------------------
> "Guy Colsoul" <guy.colsoul@ineo.be> schrieb im Newsbeitrag
> news:40470d55$0$1124$6c56d894@feed0.news.be.easynet.net...
> > In VFP 8.0 (sp 1 installed), when i build the EXE of a project
containing
> an
> > OLE public class, i get the following error message
> > "Function argument value, type, or count is invalid"
> >
> > This error is displayed when the status bar has shown : "Creating type
> > library & registering Com component".
> >
> > Any help will be appreciated,
> >
> > Kind regards,
> >
> > Guy
> >
> >
>