Messages - Gerome [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 31next
21
Hello,

Looks a bit impractical to me... I use the PlatformSDK from May 2002, afaik the last htmlhelp v1 release before MS switched to the crappy new htmlhelp system.


This tool was developped in VB, and its interface mimmics HTML Help, but it's a pure EXEcutable, not a CHM at all, so i' don't see any crappy things at all onto this excellent software.
This software is considered as a reference to the eyes of VB/vb.Net developpers.

22
Developer's Corner / Re: FBSL - A brand new code editor
« on: October 02, 2006, 02:41 AM »
Hello,

I've looked, but I haven't seen any reviews about the best coding editor or was the "Best Text Editor" review (BTW - Great article :Thmbsup:) supposed to address this?

CJ

Something like that would depend on the language you are programming in and other factors.

I can't see the best editor for something like Python or Perl as also being the best for Delphi.

1/ Eclecta's editor is 100% realized and coded with FBSL v3 and FOR editing Fbsl code.
2/ Its source code is also available into latest Fbsl setup
3/ If you want Eclecta's editor can be used for any other language, you just have to edit its INI file and replace Fbsl keywords by your favourite language.
4/ If anyone wants to make a review of this editor, feel free, it can be interesting to read about it :)

23
Developer's Corner / Re: Tiny 'Touch' 32 bits program in C (3 kb)
« on: October 01, 2006, 03:17 PM »
Hello,

Here is the ported version to FBSL v3 :
One cas easily compare the C version vs the FBSL one and have a look at slight difference of both languages :)
Compiled as 'tiny' Fbsl executable, it's final weight is around 8Kb.
Code: Text [Select]
  1. // ********************************
  2. // Author : Gerome GUILLEMIN
  3. // Coded in FBSL v3
  4. // Date : 01st of October 2006
  5. // ********************************
  6. #DllDeclare Kernel32( "CreateFile", "CloseHandle", "GetSystemTime", "SystemTimeToFileTime", "SetFileTime" )
  7.  
  8. Function Main()
  9.     Dim %lngHandle = NULL
  10.     Dim $szFileName * MAX_PATH+1
  11.     If CommandCount() = 2 Then
  12.         StrCpy( szFileName, Command(1) )
  13.         lngHandle = CreateFile(szFileName, GENERIC_WRITE, _
  14.                     FILE_SHARE_READ + FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0)
  15.         If lngHandle AndAlso lngHandle <> INVALID_HANDLE_VALUE Then
  16.             SetFileToCurrentTime( lngHandle )
  17.             CloseHandle( lngHandle )
  18.             Return 1 // => 1 will be the OK return
  19.         End If
  20.     End If
  21. Return 0 // => 0 will be the KO return
  22. End Function
  23.  
  24. Function SetFileToCurrentTime(Byval %hFile)
  25.   Dim $ft * 16 'FILETIME
  26.   Dim $st * 16 'SYSTEMTIME
  27.  
  28.   GetSystemTime(@st)                 // gets current time
  29.   SystemTimeToFileTime(@st, @ft)     // converts to file time format
  30.   Return SetFileTime(hFile, 0, 0, @ft) // sets last-write time for file
  31. End Function

See the attached Zip file to get the whole thing.
Enjoy FBSL !

24
Developer's Corner / Re: Tiny 'Touch' 32 bits program in C (3 kb)
« on: October 01, 2006, 02:23 PM »
Just for fun, here's a 1kb C (well, C++) version, that has proper system return code :)


Nice!
Here's a good link btw : http://smallcode.weblogs.us/category/optimization-tricks/

25
Developer's Corner / Re: Tiny 'Touch' 32 bits program in C (3 kb)
« on: October 01, 2006, 02:20 PM »
Hi,
Interesting... AFAIK, win32 PE header is already 1KB in side...



Yes, but there are also PE compilation options using MSVC++6.0 that allows you to make 512 bytes length 32 bits executables :)
Below it's impossible, but 512 bytes for MSVC++ 6 is amazing :)

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 31next
Go to full version