dAS <dASKAS@speedymail.net> wrote:
I have 2 questions:
The first one is how I can run my applicetion,which I create
with PhAB, outside PhAB. How I can make an *exe file?
One is already made. It is found in /src//,
and is called . So, if I was doing some PhAB work
for an X86 platform, and placing my project “sample” in the
directory /development, then the executable would be
/development/sample/src/gcc_ntox86/sample. If you want to be
able to run it from the command line, put in in a directory that
is in your PATH environment variable.
And remember, if you’re logged in as root, ./ is never in your
PATH (for security reasons), so you’d need to run ./sample if you
were in /development/sample/src/gcc_ntox86/
Just in case your background is strictly Microsoft or DOS,
remember that an executable file under QNX doesn’t have to have
the suffix .exe, it just needs to have the executable bit set.
If that’s new stuff, check out the documentation for “ls” and
And the second one is how I can transfer the image of a photon
workspace into a file? Should I use the snapshot utility and
how?(there is no printer installed in my system)
The snapshot utility is what you want. It can save to file in a
number of different formats. Make sure you have the appropriate
file format defined as a “printer” for snapshot to pick up as an
option. See the Photon User’s Guide section on printing for
details. There’s probably also something in the QDN knowledge
base on this topic.
Thanks in advance
Hope this helps.
QSSL Training Services