Search found 94 matches
- Oct 04, 2014 20:21
- Forum: Windows
- Topic: Questions about x86 and x64
- Replies: 1
- Views: 1456
Questions about x86 and x64
Some months ago I was working on a hobby projects of mine which has to do with dll injection and process monitoring. Since on Windows there is a wall between x86 and x64 processes my project worked only for x86 processes. Not that x64 is apparently added I'm trying to find a way to have one source, ...
- Oct 03, 2014 22:01
- Forum: Windows
- Topic: Calling "Screen" delays certain input
- Replies: 3
- Views: 1657
Re: Calling "Screen" delays certain input
This sounds like this problem I was having.
I ended up patching that goddamn Peek message call to use NULL.
http://www.freebasic.net/forum/viewtopi ... =6&t=22137
Please get to the bottom of this :-)
I ended up patching that goddamn Peek message call to use NULL.
http://www.freebasic.net/forum/viewtopi ... =6&t=22137
Please get to the bottom of this :-)
- May 31, 2014 19:59
- Forum: Windows
- Topic: Help with string pointers and GetPrivateProfileString
- Replies: 5
- Views: 2541
Re: Help with string pointers and GetPrivateProfileString
Thanks, now I got it !
It doesn't actually require a full path, I was really using ".\my.ini" originally, but I tested and "my.ini" works, too.
It doesn't actually require a full path, I was really using ".\my.ini" originally, but I tested and "my.ini" works, too.
- May 31, 2014 16:49
- Forum: Windows
- Topic: Help with string pointers and GetPrivateProfileString
- Replies: 5
- Views: 2541
Help with string pointers and GetPrivateProfileString
It seems like I will never understand this stuff, it's so frustrating, things are so simpler in masm :-( Can someone please post the correct variable declaration and API call so I can read strings from an ini into FB strings ? Suppose the ini contains: [mysection] first=example1 second=example2 I no...
- Jan 28, 2014 19:33
- Forum: Windows
- Topic: Console application not handling the window closing properly
- Replies: 2
- Views: 1502
Re: Console application not handling the window closing prop
It's just weird that it works properly an all cases on newer OSes and not XP, I would not expect this inconsistency in something like this.
Is there a way to work around it for input ?
Is there a way to work around it for input ?
- Jan 26, 2014 1:13
- Forum: Windows
- Topic: Console application not handling the window closing properly
- Replies: 2
- Views: 1502
Console application not handling the window closing properly
I've noticed some strange behaviour on winXP x32 (sp3) with console applications. Check this out : Function FBMain () As Integer Dim As string CMD, param1, param2, param3, param4 do print "test" sleep(1000) loop return 0 End Function End FBMain() That crashes because hitting the close (X) ...
- Jan 25, 2014 0:04
- Forum: Beginners
- Topic: Screen and console
- Replies: 5
- Views: 2419
Re: Screen and console
Also trasparency and accepting drag'n'dropping files, not bad for a console window. Now if I could just disable resizing ...
[...]
And I removed the WS_THICKFRAME extended style, success.
Now to test this on all my virtual machines !
[...]
And I removed the WS_THICKFRAME extended style, success.
Now to test this on all my virtual machines !
- Jan 24, 2014 23:27
- Forum: Beginners
- Topic: Screen and console
- Replies: 5
- Views: 2419
Re: Screen and console
The main problem is that I want a fixed width (100), so I can print my stuff centered etc. And I also want to keep my command prompt at the bottom of the window. So I'm using width 100,37. But looking at the console window's properties that also sets the screen buffer to these dimensions, so stuff g...
- Jan 24, 2014 20:31
- Forum: Beginners
- Topic: Screen and console
- Replies: 5
- Views: 2419
Re: Screen and console
Hmm, just did that and you're right I think. I'm using line input, too. But it doesn't look as cool as it did before, got to fix that hehe. This also renders my nice command parsing code, clipboard handling and keyboard handling useless. But now I can scroll up and down, paste AND copy , go back in ...
- Jan 24, 2014 17:29
- Forum: Beginners
- Topic: Screen and console
- Replies: 5
- Views: 2419
Screen and console
I'm using Screen 19, 8, 1, GFX_WINDOWED Or GFX_NO_SWITCH
It's kind of a terminal with a prompt. Is there a way to have a bigger console height and have a slider to go up and down ? Because now when I print lots of stuff the older stuff gets lost.
It's kind of a terminal with a prompt. Is there a way to have a bigger console height and have a slider to go up and down ? Because now when I print lots of stuff the older stuff gets lost.
- Jan 21, 2014 22:51
- Forum: Windows
- Topic: Missing Dll on Windows 8
- Replies: 5
- Views: 2030
Re: Missing Dll on Windows 8
What about without -g ?
- Jan 20, 2014 20:57
- Forum: Community Discussion
- Topic: FB lack serious IDE
- Replies: 19
- Views: 6401
Re: FB lack serious IDE
I have done the .api file! Now autocompletion works for FreeBasic functions and keywords! There are some keywords that I didn't add to the .api, because of the weired syntax of FB! (Ex: Open, Put, Circle ...) New archive Edit: - This archive is adapted for the portable version of PN. If you want th...
- Jan 20, 2014 18:52
- Forum: Community Discussion
- Topic: Where can I get a Recent-Git-Build of FreeBASIC?
- Replies: 639
- Views: 175739
Re: Where can I get a Recent-Git-Build of FreeBASIC?
Can't I compile a x64 exe using the x86 compiler ?
- Jan 20, 2014 11:11
- Forum: Community Discussion
- Topic: Where can I get a Recent-Git-Build of FreeBASIC?
- Replies: 639
- Views: 175739
Re: Where can I get a Recent-Git-Build of FreeBASIC?
I tried with that latest build to build a x64 dll but I get an executable missing error:
I guess I need some MingW binary ?\bin\x86_64-win32\gcc.exe
- Jan 17, 2014 21:15
- Forum: Windows
- Topic: Question about FBGFX and fonts
- Replies: 1
- Views: 1297
Question about FBGFX and fonts
I've created a sort of commandline/terminal that parses commands and sends data to another process and prints results. I'm using fbgfx in this mode: Screen 19, 8, 1 (I've forced GDI, too) Is fbgfx doing the equivalent of AllocConsole and using the standard Windows functions to print etc ? So is it u...