Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating and Using a DLL created in VFP.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00250303
Message ID:
00250427
Views:
23
Okay....and...?

The point is not that it will never work. The point is that it may not work. VFP DLLs were never advertised/promoted as being able to work with UI.

If it works sometimes...and you are fine with that, then that is your decision. I am just telling you that I think it is not a supported feature and you might have problems.

Joe


>>I thought VFP DLL's were not to have UI. If you want UI, I thought you had to compile to in-line COM servers (EXEs). Does this ring a bell?
>>
>>Joe
>
>The following code works just fine when compiled as either a single or multi thread DLL.
>
>**************************************************
>*-- Class: frmshowme (c:\temp\junk.vcx)
>*-- ParentClass: form
>*-- BaseClass: form
>*-- Time Stamp: 08/04/99 03:22:12 PM
>*
>DEFINE CLASS frmshowme AS form OLEPUBLIC
>
>
> Top = 54
> Left = 111
> DoCreate = .T.
> Caption = "Title"
> Name = "frmShowMe"
>
>
> ADD OBJECT cmdshowme AS commandbutton WITH ;
> Top = 24, ;
> Left = 48, ;
> Height = 61, ;
> Width = 265, ;
> Caption = "Show Me", ;
> Name = "cmdShowMe"
>
>
> ADD OBJECT txtshowme AS textbox WITH ;
> Height = 61, ;
> Left = 48, ;
> Top = 108, ;
> Width = 265, ;
> Name = "txtShowMe"
>
>
> ADD OBJECT cmdrelease AS commandbutton WITH ;
> Top = 192, ;
> Left = 48, ;
> Height = 49, ;
> Width = 277, ;
> Caption = "Close", ;
> Name = "cmdrelease"
>
>
> PROCEDURE cmdshowme.Click
> Thisform.txtShowme.Value = " You hit the button. "
> ENDPROC
>
>
> PROCEDURE cmdrelease.Click
> Thisform.Release
> ENDPROC
>
>
>ENDDEFINE
>*
>*-- EndDefine: frmshowme
>**************************************************
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform