You could try instantiating the object in code (IE.
MyConsoleObject.Create) and using it's properties in
code. Don't forget to destroy it when you're done with
it.
Dave
--- kc0fcp <[EMAIL PROTECTED]> wrote:
> I have a MIDI component I need to use in a Console
> Application. (it is
> an non-visual component)
>
> Since there is no form, what is the best approach to
> adding the
> component's functionality?
>
> Should I create some sort of hidden form? Is that
> even possible in an
> Console App?
>
> Or should I try to create a variant of the component
> that is a
> stand-alone object rather than a component?
>
> Could I change "TMidiInput = class(TComponent)" to
> "TMidiInput =
> class(TObject)"? What unwanted side-effects would I
> run into? (I have
> the full source to the component) But I'd rather not
> maintain two
> versions (Component and non-component) unless there
> is no other way.
>
>
> Thanks,
>
> Tim.
>
>
>
>
>
>
>
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~->
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/delphi-en/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/