This comes from a fox chat. Craig Bertson:
=============================
[21:43] {CraigBerntson} There are two things to keep in mind:
# There is a bug in VFP COM servers. if you have an error in the Init
method, the Error method won't fire
# One of the rules of COM is that you can't pass parameters to the
"constructor", which in VFP is the Init method
=============================On Thu, Jan 28, 2010 at 6:10 PM, Fred Taylor <[email protected]> wrote: > See this link: http://msdn.microsoft.com/en-us/library/ms947579.aspx > > You can't use the .Init of a COM object and pass parameters. Create a new > method on your object with parameters and invoke that new method after > you've created your object. > > Fred > > > On Thu, Jan 28, 2010 at 8:34 AM, Allen <[email protected]> wrote: > >> Hi guys and gals >> >> Help says you can send parameters to a createobject. I have a vfp9 dll and >> in the init I have a parameter statement but it seems not to take it. Its >> an >> ole public. >> >> Any clues please >> >> Al the apple assassin >> >> An apple a day make steve jobs richer lol >> >> >> >> --- StripMime Report -- processed MIME parts --- >> multipart/alternative >> text/plain (text body -- kept) >> text/html >> --- >> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

