General Discussions

clipboard confusion: please help ! – Jubilee

Jubilee

Junior Member

Posts: 7
From: Winter Garden,Florida,U.S.A
Registered: 01-21-2002
Hey, all! ^_^
Umm, I'm working on a small-buisness program for Blitz Basic, and I was wondering: Is there a way for a Blitz Basic program to accept clipboard text data?

Thank you so much!

------------------
God Bless,
Jubilee
PS: Many thanks to my sister for my new Avatar!

rowanseymour

Member

Posts: 284
From: Belfast, Northern Ireland
Registered: 02-10-2001
Could one of you many Blitz coders out there give this nice person an answer ?

------------------
Rowan / GODCENTRIC Christian Demoscene

Angel

Member

Posts: 699
From: The Blissful State Of Me?
Registered: 05-21-2001
I wish I could help but I am a story writer and hack artist. Still it would be nice if someone answerd. Of cores we could all just sit in here and ball none stop for an answer and maybe get kicked from the board (Har har har)... never mind.

------------------
2Samuel C6 V14, Psalm C149-150, Ecclesiastes C9 V5, Ezekiel C2-3&C39, Matthew C6 V25, Luke C19 V11, 1Corinthians C13, Galatians C5 V22, Ephesians C3 V9, Colossians C1 V16, 1Peter C3 V3, Revelations C10

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
can blitz basic call winapi functions?
if so then i'll be able to point you in the right direction, if not.. some blitz guru shall suffice to you a hopefully expediant solution to your current dillema..

Karl

------------------
Karl /GODCENTRIC
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

Jubilee

Junior Member

Posts: 7
From: Winter Garden,Florida,U.S.A
Registered: 01-21-2002
Oh , You're all so sweet! Thank you for caring! :-)
Gosh... I didn't realize the question would be such a stumper...
Maybe I could make a program that does that someday. Once I'm good enough.

Thank you all so much!

------------------
God Bless,
Jubilee
PS: Many thanks to my sister for my new Avatar!

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
hey jubilee,

kyrler informs me that if you have the commercial version of Blitz you can call dlls.. here is a link below to an article on it.

[url]http://www.blitzcoder.com/cgi-bin/articles/show_article.pl?f=gamespeccyman01242002.html [/url]

if you have the comemerical version of blitz.. either me or some of my friends at godcentric would be happy to produce a very small dll that wraps up the basic clipboard functionality in windows for you...


Karl

------------------
Karl /GODCENTRIC
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

Jubilee

Junior Member

Posts: 7
From: Winter Garden,Florida,U.S.A
Registered: 01-21-2002
Oh, Wow! Really?! Yes, yes I have the commercial version! (Love it, too. I'm actually making my very first game!) You're so generous! Thank you so much!

God Bless You!
Jubilee

PS: ^_^ !!

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
ok tell me the clipboard functions you need..

plus i'll need some documentation from blitz on their dll calling standards and suchlike

Karl

------------------
Karl /GODCENTRIC
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

Jubilee

Junior Member

Posts: 7
From: Winter Garden,Florida,U.S.A
Registered: 01-21-2002
<<ok tell me the clipboard functions you need.. >>

Do you mean "functions" as in code functions,like "IsSelected() and DoCutCopyPaste()?" If that's the case... I'm not too familiar with MFC yet,(I just learned about those IsSelected() and DoCutCopyPaste()
function names.), but I think I do have the resources to look that up. I might be a while though, if that's okay.

<<plus i'll need some documentation from blitz on their dll calling standards and suchlike >>

Still working on that, too. It's not in the manual,and I can't seem to find a blitz site with any dirt on that subject as of this posting, but I'll bet I can find somthing if I look through the comments of the right library file, somewhere.

Umm, I was wondering, did you want a royalty for your contribution? I'm making this as a gift for a friend, but I think I'd like to make a shareware version of the program if it looks like there'd be a market for it.

------------------
God Bless,
Jubilee
PS: Many thanks to my sister for my new Avatar!

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
hmm i just wanna know in english what clipboard functionality to you want?
i can make a function that you can put some text to the clipboard and some code get some text from the clipboard.. you don't need to put graphcis or anything else do you?
there will be no need for any royalty..
it will be a 5 or 10 line program that just wraps around some basic features...
i just need to know (KRYLER should be able to help) how you call DLL's in blitz and what string format i should use for parameters (ASCIIZ?) and what calling convention (PASCAL, STDCALL, FASTCALL yada yada yada)

Karl

------------------
Karl /GODCENTRIC
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

Krylar

Administrator

Posts: 502
From: MD, USA
Registered: 03-05-2001
Heya,

Jubilee: I can help with the Blitz side, if need be.

Klemzy: Looks like it'll only accept Int returns. Check out the following two links:

http://www.blitzcoder.com/cgi-bin/articles/show_article.pl?f=gamespeccyman01242002.html

...and...

http://www.blitz3d.co.uk/index.php4?page=command_doc&command_name=CallDLL

Hope that helps!

-Krylar

------------------

Jubilee

Junior Member

Posts: 7
From: Winter Garden,Florida,U.S.A
Registered: 01-21-2002
<<hmm i just wanna know in english what clipboard functionality to you want?i can make a function that you can put some text to the clipboard and some code get some text from the clipboard.. you don't need to put graphcis or anything else do you?>>

Oh, I see now. :-D All my program would need is the ability to accept text from and send text to the clipboard. Sorry about my previous vagueness. -_-


<<there will be no need for any royalty.. >> Wow. That is so sweet of you. And here you don't even know me. That's r e a l charity. How about this: I thank God that he w i l l bless you for aiding me while there was nothing I can do for you in of myself.

Don't worry, Krylar, I'm praying for you, too. :-) Thank you for your support and that useful documentation!

Also, Rowan, Angel, God Bless you both for caring. ^_^

Have a wonderful sabbath, everyone !

------------------
God Bless,
Jubilee
PS: Many thanks to my sister for my new Avatar!