Search found 4 matches

by Sebi
Sat Sep 20, 2003 5:55 pm
Forum: Coding Questions
Topic: Need help to translate c++ -> PB
Replies: 15
Views: 4831

Num3/WolfgangS: Is this what you want to know?

Procedure myCALLCOM( offset.l,addr.l)
functionaddr = PeekL(PeekL(addr)+offset)
ProcedureReturn CallFunctionFast(functionaddr ,addr)
EndProcedure
It does exactly the same as CALLCOM()/CALLDX() ! :)

The value "Offset" I just tried out... ;)

Cu ...
by Sebi
Sat Sep 20, 2003 4:47 pm
Forum: Coding Questions
Topic: Need help to translate c++ -> PB
Replies: 15
Views: 4831

Very simple example......



FileName.s="<here the filename!!!>" ;<-- CHANGE!!!!

#audiere = 0

Procedure GetSupportedAudioDevices()
ProcedureReturn CallFunction(#audiere,"_AdrGetSupportedAudioDevices@0")
EndProcedure

Procedure.l OpenDevice(device.l,parameter.l)
ProcedureReturn CallFunction ...
by Sebi
Fri Jun 13, 2003 9:09 pm
Forum: Coding Questions
Topic: WebControl and right clicking
Replies: 12
Views: 4702

hi LJ,

I've just coded an example that shows how to disable right clicking and selecting the content of a file using API-commands.

I hope you'll understand it :wink:

For now it works good, but I've only one problem:

How can I detect whether the browser-window contains scrollbars or not.
In this ...
by Sebi
Thu Jun 05, 2003 5:18 pm
Forum: Announcement
Topic: UDP network library [german]
Replies: 13
Views: 6188

Hello all,

> UDPConnectServer
I thought UDP didn't have such things as connections?
Nice to see such a useful library appear though.

You are right. But this command receives the IP of the server and opens a socket. I don't think there is another way to do that...

Now the english help is ...