Search found 113 matches

by Proteus
Wed Jul 21, 2004 5:03 pm
Forum: Coding Questions
Topic: How to return string from callfunction?
Replies: 6
Views: 2212

EEK! Pointers!
Change

Code: Select all

Procedure.l doesthiswork(name.s) 
  ProcedureReturn CallFunctionFast(ffName, name) 
EndProcedure 
to

Code: Select all

Procedure.s doesthiswork(name.s) 
  ProcedureReturn PeekS(CallFunctionFast(ffName, name))
EndProcedure
And you can use the string directly in PB. :D
by Proteus
Wed Jul 21, 2004 11:50 am
Forum: Coding Questions
Topic: How to return string from callfunction?
Replies: 6
Views: 2212

You need to make the string variable in the DLL global.

If that doesn't work, and callfunction( returns a number, that number should be a pointer to the string.
by Proteus
Tue Jul 20, 2004 3:31 pm
Forum: Coding Questions
Topic: Is correct???
Replies: 6
Views: 1714

In German it would be something like "eine million vier hundert drei-und-zwanzig (insert German word for 'thousand" here) acht hundert zwei-und-dreissig euros und drei-und-dreissig centimos".
But don't quote me on that. German's not my best language. Also I think centimos may be wrong...

In Dutch ...
by Proteus
Sun Jul 18, 2004 10:35 am
Forum: Coding Questions
Topic: Browser
Replies: 21
Views: 4995

GeoTrail wrote:Love your signature Proteus :lol:
Whish I had that on a t-shirt :lol:
With the right printer, that shouldn't be too difficult to do. :P
by Proteus
Sun Jul 18, 2004 1:45 am
Forum: Coding Questions
Topic: Browser
Replies: 21
Views: 4995

GRRRRR SO MANY ERRORS THAT I DONT KNOW HOW TO FIX!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Well... I also need to know why it only shows the title as what I made it in the code. It wont show the html's title. Also the tabs wont work. And if I havent already ...
by Proteus
Fri Jul 16, 2004 7:13 pm
Forum: General Discussion
Topic: md5 security
Replies: 8
Views: 2175

Linux uses DES with a 2-char key. (According to the PB helpfile...)
by Proteus
Tue Jul 13, 2004 4:19 pm
Forum: Coding Questions
Topic: long program
Replies: 6
Views: 2113

Well, you could probably use mailslots to communicate with subprograms, but having one large program looks a little nicer than a big group of small programs.

But if you really want to split it up, using DLLs would be easier then trying to let programs talk to eah other.
by Proteus
Mon Jul 12, 2004 2:55 pm
Forum: Off Topic
Topic: I have a horrible feeling...
Replies: 13
Views: 3412

Seeing cockroaches near your name is not usually a good sign. It means the cockroaches are spying on you. They are probably preparing their nuclear weapons right now, so they can take over the world when we can't live on it due to nuclear fall-out.

I think I'll go hide from those men in white now ...
by Proteus
Mon Jul 12, 2004 2:46 pm
Forum: Off Topic
Topic: Help with translation
Replies: 15
Views: 4615

Speaking of older terms, perhaps I should've used "pictogrammen" instead of "iconen". :twisted:
by Proteus
Mon Jul 12, 2004 2:26 pm
Forum: Off Topic
Topic: Help with translation
Replies: 15
Views: 4615

Dutch translation

Language: Nederlands
Annuleren
Volgende
Terug
De installatie is nog niet voltooid. Wilt u echt stoppen?
welkom by de Installer!
U gaat de volgende software op uw computer installeren:
Selecteer uw taal.
Product info:
Eindgebruikers licentie overeenkomst:
Ik accepteer de ...
by Proteus
Sun Feb 15, 2004 11:39 am
Forum: Coding Questions
Topic: About console parameters
Replies: 5
Views: 1771

Parameters with spaces should be surrounded in quotes. Like this:
-n Proteus -r "not putting my real name on the Internet"

It works fine here.
by Proteus
Sat Feb 14, 2004 11:51 pm
Forum: Coding Questions
Topic: About console parameters
Replies: 5
Views: 1771

I haven't tested it, but this should work.

Code: Select all

Repeat
  Param.s = ProgramParameter()
  Select LCase(Param)
    Case "-n" : NAME.s = ProgramParameter()
    Case "-r" : REALNAME.s = ProgramParameter()
  EndSelect
Until Param = ""
by Proteus
Sun Feb 08, 2004 11:40 am
Forum: Coding Questions
Topic: web server help please
Replies: 3
Views: 1431

I once tried it. GET is indeed easy.

Because it's HTML-encoded, you can use StringField() to get the part between GET and HTTP/1.1. Then you can use it to parse the parameters.

When I got to the POST part, I freaked out and stopped working on it.
by Proteus
Sun Feb 08, 2004 11:34 am
Forum: Coding Questions
Topic: Japanese support
Replies: 6
Views: 1935

What NoahPhense meant, is that you can use it by using it. You type the Japanese characters where you need them, and they should appear where you put them in the program.

(And no, I can't read Chinese)
by Proteus
Mon Feb 02, 2004 8:07 pm
Forum: Coding Questions
Topic: Peek hex string?
Replies: 2
Views: 1209

Try these procedures:
Procedure.s PeekHEXByte(*Address)
ProcedureReturn RSet(Hex(PeekB(*Address)), 2, "0")
EndProcedure

Procedure PeekHEXWord(*Address)
ProcedureReturn RSet(Hex(PeekW(*Address)), 4, "0")
EndProcedure

Procedure PeekHEXLong(*Address)
ProcedureReturn RSet(Hex(PeekL(*Address)), 8 ...