21
Windows (32/64) / Re: Complex package installation problem
« Last post by wp on Today at 03:38:16 pm »The UOS player compiles after correcting for a missing USES statement, but 1) it always opens with a big black form behind the actual program, almost as if it ran a DOS window from which it then ran the actual programChecked the "simpleplayer". The black form behind the program is a console window usually meant to catch debug output. It has nothing todo with running an external program. Go to "Project options" > "Compiler options" > "Config and target" and check "Win32 gui application" to remove the console window.
it ALWAYS asks where the libraries are, which is pretty annoying.This is just a matter of these demo projects. You certainly can write code where loading of the needed libraries is done automatically, but then you must provide the correct paths to the dlls; the way it is done in the demos is to give to user a chance go specify the paths individually. Study the code in the demo and you'll find out.