Discussion:
FLL and C#
(too old to reply)
KenP
2005-07-29 14:35:03 UTC
Permalink
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create an FLL in
C# or a template? Any help would be greatly appreciated.

Ken
--
Thank You
Fred Taylor
2005-07-29 14:52:57 UTC
Permalink
You can't create an .FLL in C#.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create an FLL in
C# or a template? Any help would be greatly appreciated.
Ken
--
Thank You
KenP
2005-07-29 17:03:03 UTC
Permalink
Thanks for the quick response. I will create app as a DLL and have foxpro
use the DECLARE to register the DLL and expose the functions.
--
Thank You
Post by Fred Taylor
You can't create an .FLL in C#.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create an FLL in
C# or a template? Any help would be greatly appreciated.
Ken
--
Thank You
Fred Taylor
2005-07-30 01:42:34 UTC
Permalink
You can't do that either. VFP creates COM .DLL's that have to be registered
and then can be created with CREATEOBJECT().

You''ll have to create a DLL that can use DECLARE by using C/C++.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
Thanks for the quick response. I will create app as a DLL and have foxpro
use the DECLARE to register the DLL and expose the functions.
--
Thank You
Post by Fred Taylor
You can't create an .FLL in C#.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create an
FLL
in
C# or a template? Any help would be greatly appreciated.
Ken
--
Thank You
swdev2
2005-08-06 06:05:07 UTC
Permalink
Yo Fred -
I'm certain what Ken actually was trying to say -
was that he would 'create' his C# 'thing' as a DLL,
then call the DLL in VFP.

You're comment below leads me to believe you were thinking about Ken
actually
creating something IN VFP then have it CALLED in VFP, when it seems its the
other way
around - he's creating something OUTSIDE of VFP and calling it FROM VFP.

I could be wrong of course, but its doubtful.
mondo regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.dotnetconversions.com
Post by Fred Taylor
You can't do that either. VFP creates COM .DLL's that have to be registered
and then can be created with CREATEOBJECT().
You''ll have to create a DLL that can use DECLARE by using C/C++.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
Thanks for the quick response. I will create app as a DLL and have foxpro
use the DECLARE to register the DLL and expose the functions.
--
Thank You
Post by Fred Taylor
You can't create an .FLL in C#.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create an
FLL
in
C# or a template? Any help would be greatly appreciated.
Ken
--
Thank You
Fred Taylor
2005-08-07 19:57:22 UTC
Permalink
Could be. It wasn't entirely clear what was written in what. I was going
on the phrase "create app as DLL" and assumed VFP.
--
Fred
Microsoft Visual FoxPro MVP
Post by swdev2
Yo Fred -
I'm certain what Ken actually was trying to say -
was that he would 'create' his C# 'thing' as a DLL,
then call the DLL in VFP.
You're comment below leads me to believe you were thinking about Ken
actually
creating something IN VFP then have it CALLED in VFP, when it seems its the
other way
around - he's creating something OUTSIDE of VFP and calling it FROM VFP.
I could be wrong of course, but its doubtful.
mondo regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.dotnetconversions.com
Post by Fred Taylor
You can't do that either. VFP creates COM .DLL's that have to be
registered
Post by Fred Taylor
and then can be created with CREATEOBJECT().
You''ll have to create a DLL that can use DECLARE by using C/C++.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
Thanks for the quick response. I will create app as a DLL and have
foxpro
Post by Fred Taylor
Post by KenP
use the DECLARE to register the DLL and expose the functions.
--
Thank You
Post by Fred Taylor
You can't create an .FLL in C#.
--
Fred
Microsoft Visual FoxPro MVP
Post by KenP
I need to write a foxpro fll in C# (.Net). All the examples I have found
(not many) are in C or C++. Does anyone have sample code to create
an
Post by Fred Taylor
Post by KenP
Post by Fred Taylor
Post by KenP
FLL
in
C# or a template? Any help would be greatly appreciated.
Ken
--
Thank You
Loading...