Search found 327 matches

by Kot
Nov 23, 2015 21:26
Forum: Tips and Tricks
Topic: SendKeys sub
Replies: 16
Views: 3741

Re: SendKeys sub

I'm sorry for messing up, I checked paths and it turned out it was 1.02, 1.04 was in another directory :-( It looks like it's working with 1.04, both 32 and 64 bit.
by Kot
Nov 22, 2015 22:01
Forum: Tips and Tricks
Topic: SendKeys sub
Replies: 16
Views: 3741

Re: SendKeys sub

With fbc 32-bit (the program works): VK_xyz is an INTEGER WCHAR is an USHORT Can you test it with fbc 64-bit: #include once "windows.bi" #print typeof(VK_PAUSE) #print typeof(WCHAR) Output: INTEGER WSTRING * 1 Perhaps: Try to change the declaration of VK: Dim VK As Ushort Thanks, it worke...
by Kot
Nov 22, 2015 18:23
Forum: Tips and Tricks
Topic: SendKeys sub
Replies: 16
Views: 3741

Re: SendKeys sub

64-bit ? Try this (which in any case is more logical by defining constants instead of local variables): <cut!> VK = VK_BAK VK = VK_BAK VK = VK_BAK etc. Yes, 64 bit. I left 3 of the lines above that cause following errors: FbTemp.bas(94) error 180: Invalid assignment/conversion in 'VK = VK_BAK' FbTe...
by Kot
Nov 22, 2015 15:26
Forum: Tips and Tricks
Topic: SendKeys sub
Replies: 16
Views: 3741

Re: SendKeys sub

I tried to recompile my bot with 1.04 compiler and I got many Invalid assignment/conversion in 'VK = VK_BAK' errors. Did I mess something up with my code accidentally or I have to change something to work with FreeBasic 1.04?
by Kot
Oct 24, 2015 19:33
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2019.09.07)
Replies: 1004
Views: 122073

Re: FreeBasic IDE-poseidonFB

Just a quick glimpse and... Options->Preferences->Editor->word warp... Beam me up, Scotty ;-)
by Kot
Oct 03, 2015 17:32
Forum: Community Discussion
Topic: [offtopic]Refugees here in germany
Replies: 9
Views: 1267

Re: [offtopic]Refugees here in germany

But it can have big influence.
by Kot
Jun 30, 2015 15:10
Forum: Projects
Topic: Data Reduction Challenge
Replies: 29
Views: 3687

Re: Data Reduction Challenge

I'm not sure.

Code: Select all

Dim As Integer a=31, b=19
Dim As Double c=a/b
Print c
sleep

and we get 1.631578947368421
remove the dot and we get a nice row of digits which I don't know if it's all or it's just rounded by compiler.
by Kot
Jun 29, 2015 14:04
Forum: Projects
Topic: Data Reduction Challenge
Replies: 29
Views: 3687

Re: Data Reduction Challenge

Once upon a time I read a sci-fi story about the best compression agorithm ever ;) As it sometimes happens in stories like that, aliens came (the peaceful ones) and archivized all human culture - books, movies, paintings etc. And when they finished it turned out that the archive was a rod with a sin...
by Kot
Jun 26, 2015 18:56
Forum: Community Discussion
Topic: C code generation
Replies: 43
Views: 4819

Re: C code generation

In my NSHO, the last thing FB needs is more keywords. I am a strong advocate of removing 90% of the keywords from FB and putting them in the runtime library as callable functions, where they belong. The language should have at most 50 keywords. I don't understand. If you don't want some keywords, j...
by Kot
May 21, 2015 15:45
Forum: Community Discussion
Topic: KolibriOS
Replies: 2
Views: 744

Re: KolibriOS

It was discussed some time ago http://freebasic.net/forum/viewtopic.php?f=2&t=10335&p=90159&hilit=menuetos#p90159, but, anyway, it would be nice.
by Kot
May 20, 2015 15:23
Forum: Hardware Interfaces / Communication
Topic: Simplest, multiplatform way to do network communication?
Replies: 4
Views: 1686

Re: Simplest, multiplatform way to do network communication?

grindstone wrote:maybe try TSNE.

Or not exactly TSNE, but TSNE Game Pack. It contains logging in, sending data to other clients etc.
by Kot
May 13, 2015 17:40
Forum: Beginners
Topic: I can't create screen buffer in 24bpp
Replies: 12
Views: 1127

Re: I can't create screen buffer in 24bpp

Thanks, I tried to use 24bpp mode because I thought it was faster than 32bpp, now I know it isn't.
by Kot
May 13, 2015 12:58
Forum: Beginners
Topic: I can't create screen buffer in 24bpp
Replies: 12
Views: 1127

I can't create screen buffer in 24bpp

Try this piece of code:

Code: Select all

ScreenRes 640,480,24
Dim ScreenBuff As ubyte Ptr
ScreenBuff=ImageCreate(640,480,,Depth)
Print ScreenBuff
Sleep
ImageDestroy ScreenBuff

It prints addresses when Depth is 8, 16 and 32, but 0 when Depth is 24. Is it a bug or a feature?
by Kot
Mar 03, 2015 23:14
Forum: Projects
Topic: Peer-To-Peer Serverless Multi-User Internet Chat Conferencer
Replies: 55
Views: 23967

Re: Peer-To-Peer Serverless Multi-User Internet Chat Confere

I found only these two files with execs, no source. They generate virus alerts, probably false ;-p
http://www.progresor.radom.pl/pliki2/CenoChat.zip
http://www.progresor.radom.pl/pliki2/CenoChat_2.zip
by Kot
Jan 20, 2015 23:28
Forum: Game Dev
Topic: SNAKE
Replies: 4
Views: 1589

Re: SNAKE

Even the longest journey starts with a single step. Don't give up.

Go to advanced search