I don't recall if the a VFP COM object will run the INIT of the object.
Make sure it's running by writing a text file out to the drive.
Tracy
-Original Message-
From: Allen
Sent: Thursday, January 28, 2010 10:35 AM
Hi guys and gals
Help says you can send parameters to a createobject.
[mailto:profoxtech-boun...@leafe.com] On
Behalf Of Tracy Pearson
Sent: 28 January 2010 16:44
To: profoxt...@leafe.com
Subject: RE: dll init with parameters
I don't recall if the a VFP COM object will run the INIT of the object.
Make sure it's running by writing a text file out to the drive
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
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
: dll init with parameters
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
Fred Taylor 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
Great tip. Thanks,
On Thu, Jan 28, 2010 at 11:53 AM, MB Software Solutions, LLC
mbsoftwaresoluti...@mbsoftwaresolutions.com wrote:
Fred Taylor 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
7 matches
Mail list logo