Search found 556 matches

by MOD
Jun 26, 2010 15:41
Forum: Windows
Topic: ld.exe gives error
Replies: 9
Views: 1692

Your FB version is completely outdated!

Try a current version.
by MOD
Jun 19, 2010 18:28
Forum: Documentation
Topic: 0.21 Offline doc deadline
Replies: 3
Views: 2885

Val*** return types are not correct. It's always a Integer in wiki.

The informations on Long seems also irritating:
Depending on the platform, same as Integer or Longint. A 32-bit or 64-bit signed whole-number data type.
FBC is a 32bit-compiler and Long is ever 32bit, also on 64bit platforms.
by MOD
Jun 12, 2010 15:57
Forum: Projects
Topic: Datatype Variant
Replies: 2
Views: 1755

I patched the examples last few days and saw this but its windows-only and i've made my varianttype some weeks ago.

Btw., the download contains some examples.
by MOD
Jun 12, 2010 11:35
Forum: Projects
Topic: Datatype Variant
Replies: 2
Views: 1755

Datatype Variant

I've read wishes about a Variant-Datatype in FB. IMO it's bad to have that in FB but as a lib it could be useful.

Here you have the implementation of a variant-like datatype:

>>DOWNLOAD<<

It works well but be careful with pointers.
by MOD
May 14, 2010 19:24
Forum: General
Topic: Bug with file I/O?
Replies: 10
Views: 1920

'Get' seems to put a 'Chr(1)' into the file: Dim As Integer file Dim As String fileName = "buffer.txt" Dim As Byte buffer Kill(filename) file = Freefile Open fileName For Binary As #file buffer = 65 Put #file, , buffer Get #file, , buffer ' comment out this line and the bug goes away Print...
by MOD
Apr 15, 2010 9:56
Forum: Libraries Questions
Topic: FreeImage errors
Replies: 8
Views: 4210

There are some issues with freeimage. Try to use an older version. Freeimage 3.9.3 seems to work.

Download with headers here.
by MOD
Apr 03, 2010 12:12
Forum: Projects
Topic: [Win] mdprocess
Replies: 0
Views: 1318

[Win] mdprocess

Some time ago, I replied on a post about CPU and memory usage. (see http://www.freebasic.net/forum/viewtopic.php?p=121691&highlight=#121691 ) Now I will give this tool to the community: With mdprocess you can get the CPU and memory usage of the PC and every single process. Download mdprocess API...
by MOD
Mar 20, 2010 18:06
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2910

Download for SHA1Checksum see first post.
by MOD
Mar 20, 2010 12:25
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2910

As promised I changed the SHARED variables and included the code into one .bi

Download see first post.
by MOD
Mar 14, 2010 20:29
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2910

Just put the padding variable into the type and copy the text in MD5Checksum.bas into the .bi (except of the "include").

I'll do the changes during the next days.
by MOD
Feb 25, 2010 13:16
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2910

I could do some optimization but to speed it really up, you'll need ASM. Due to the lack of my knowledge about ASM and how to use it properly, i can't do it.

The code is open source, so if anyone could do some ASM-voodoo, it would be great ;)
by MOD
Feb 23, 2010 20:21
Forum: Projects
Topic: MD5 + SHA1 + SHA512
Replies: 7
Views: 2910

MD5 + SHA1 + SHA512

I think this could be useful for some people: To create MD5 hashvalues: #Include "MD5Checksum.bas" createHash(text As String) As String 'and createFileHash(file As String) As String SHA1 hashes: #Include "SHA1Checksum.bas" createSHA1(text As String) As String 'and createFileSHA1(...
by MOD
Jun 21, 2009 16:00
Forum: Windows
Topic: CPU usage for the current process
Replies: 11
Views: 4322

This is how I solved it...more or less.

If you set a sleep 800, it should show the same usage as taskmanager do.
And with my code you can get usage for (almost) all processes.
by MOD
Jun 20, 2009 14:10
Forum: Windows
Topic: CPU usage for the current process
Replies: 11
Views: 4322

I've translated my lib (mentioned here: http://www.freebasic.net/forum/viewtopic.php?t=13993) so maybe it could be useful.

It's a alternative because I used WinAPI (neither PDH nor WMI).

Examples and readme are in the zip:

see project
by MOD
Jun 11, 2009 20:33
Forum: Beginners
Topic: XP problem
Replies: 46
Views: 6524

hi,
i had the same problem with windows server 2003 r2.
fb 0.20 programs with grafics don't work, so i tried fb 0.21 and everything was fine.
i thing it was a bug in fb 0.20 which is fixed in fb 0.21.