PTR_GEN source code available?

Anything QL Software or Programming Related.
User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: PTR_GEN source code available?

Post by ppe »

prime wrote:
tofro wrote:QLiberator runtime not loaded
Pick from here:
http://www.dilwyn.me.uk/tk/qlibrun336mod.zip
Humm odd because QPC2 already has a qlib_run though it is a different file (smaller). The one from that zip file doesn't seem to have Q_ERR_ON anywhere in it and it's not turning up as an extra.....

Cheers.

Phill.
Hi Phil,

I have gone through the same steps as you on QPC II with exactly the same end result.

Cheers,
Petri


User avatar
ppe
Trump Card
Posts: 171
Joined: Tue Dec 14, 2010 10:48 am
Location: Espoo, Finland

Re: PTR_GEN source code available?

Post by ppe »

prime wrote: Ahh after some searching looks like it's qlib_ext that I need, which contains the extensions.
Do you happen to know where to find that file?

Cheers,
Petri


prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: PTR_GEN source code available?

Post by prime »

ppe wrote:
prime wrote: Ahh after some searching looks like it's qlib_ext that I need, which contains the extensions.
Do you happen to know where to find that file?
Alas not, seems to have come with QLiberator so if you have a copy of that. It may have been supplied with applications compiled with QLiberator I dunno.

What is the current status of QLib ? It doesn't seem to be available for download so may still be commercial / for sale / distribution denied / unknown.

Cheers.

Phill.


RWAP
RWAP Master
Posts: 2893
Joined: Sun Nov 28, 2010 4:51 pm
Location: Stone, United Kingdom
Contact:

Re: PTR_GEN source code available?

Post by RWAP »

As far as I am aware, Qliberator currently remains a commercial product - it was last sold by QBranch, so if someone could ask Roy Wood, no doubt he has some contact details for Liberation Software.

From memory qlib_ext could not be distributed on its own - it could however, be distributed linked into the compiled program - if you don't have a copy of QLiberator, send me the sources for the problematic program and I will compile it with qlib_ext built in.


prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: PTR_GEN source code available?

Post by prime »

RWAP wrote:As far as I am aware, Qliberator currently remains a commercial product - it was last sold by QBranch, so if someone could ask Roy Wood, no doubt he has some contact details for Liberation Software.
Ahh I suspected as much.
From memory qlib_ext could not be distributed on its own - it could however, be distributed linked into the compiled program - if you don't have a copy of QLiberator, send me the sources for the problematic program and I will compile it with qlib_ext built in.
It's basically the make.bas from the extras_source folder of the SMSQE distribution, there is a compiled version supplied but it falls over when run on QPC2.

Cheers.

Phill.


User avatar
tofro
Font of All Knowledge
Posts: 3148
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: PTR_GEN source code available?

Post by tofro »

Try the attached, I hope it has all the MC objects included.

Tobias
Last edited by tofro on Tue Mar 04, 2014 12:42 pm, edited 3 times in total.


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: PTR_GEN source code available?

Post by prime »

tofro wrote:Try the attached, I hope it has all the MC objects included.

Tobias
make_obj.zip
Humm that still seems to do the same thing, if I ex make_obj the command line window pops up ok with the prompt for a command but when I type anything even 'q' to quit I get a red error window with

Job 18 make Line 450 Q_ERR_ON
invalid name
Data : 4096 0 0 Stack 2048 140

Which is the same as I was getting on the supplied one, interestingly enough though make_obj is about 13K bigger than make.

Cheers.

Phill.


User avatar
tofro
Font of All Knowledge
Posts: 3148
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: PTR_GEN source code available?

Post by tofro »

Phil,

can you try again with the same file above (updated). I think I got the $$asmb directive wrong, long time since I last did this.....

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
prime
Trump Card
Posts: 192
Joined: Fri Feb 18, 2011 8:58 pm

Re: PTR_GEN source code available?

Post by prime »

tofro wrote:Phil,
Phill :)
can you try again with the same file above (updated). I think I got the $$asmb directive wrong, long time since I last did this.....
Nope that seems to give the same result :( which is odd looking at the compiled program in a hex editor I can see the Q_ERR_ON string so it looks like it's compiled in.

Cheers.

Phill.


User avatar
tofro
Font of All Knowledge
Posts: 3148
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: PTR_GEN source code available?

Post by tofro »

That's interesting.
I have used the following line to include the QLIB extension code (as per the manual on Dilwyn's site, have mislaid my own, like a lot of other things QL....)

Code: Select all

105 REMark $$asmb=win1_ql_qlib_ext,0,10
Does anyone know what might be wrong with that line?

Or could it be your browser picked the binary from some cache? No idea.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply