Search found 553 matches

by MOD
Jun 12, 2010 11:35
Forum: Projects
Topic: Datatype Variant
Replies: 2
Views: 1191

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: 1077

'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 aw...
by MOD
Apr 15, 2010 9:56
Forum: Libraries
Topic: FreeImage errors
Replies: 8
Views: 2869

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: 881

[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: 2048

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

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: 2048

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: 2048

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: 2048

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 Str...
by MOD
Jun 21, 2009 16:00
Forum: Windows
Topic: CPU usage for the current process
Replies: 11
Views: 3026

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: 3026

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: 4228

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.
by MOD
Jun 11, 2009 20:28
Forum: Windows
Topic: Get CPU usage
Replies: 13
Views: 2587

Hi, sometimes ago, i posted a project on german forum. it's a processlogger and it can also get the CPU usage of every process. therefore i created a dll with the same functions to build in other projects. (...) there are also readme's and examples in the package, but just in german. i've no time to...

Go to advanced search