using an object inside a console application
Posted on 2001-07-02
here's my problem:
i have a console application, in this app i need to use an object that one of the arguments in the .create is the owner. when you call this object from a normal GUI app you either pass a tlistview or a tmemo as the owners.
if i pass a nill pointer then it will crash and burn with a horrible exception, and if i change the code so it won't requiere this param then it won't work.
is there anyway i can pass an "owner" comming from a console application?