Archive for February, 2007

Rebuilding my home…

Posted on the February 26th, 2007 under Raz-Soft News, [ En ] by Raz

 As you can see I’ve completely changed my home page bringing together my blog and all my projects. It will be easier for me to have them both available under one page and easy for you to keep track of them (I hope).  

File version information

Posted on the February 25th, 2007 under Builder, C++, [ En ] by Raz

Q: How can I get file version information from my own exe/dll or any other file?
A: The VerQueryValue function retrieves specified version information from the specified version-information resource. To retrieve the appropriate resource, before you call VerQueryValue, you must first call the GetFileVersionInfoSize function, and then the GetFileVersionInfo function.

Bulina rosie si pe carti?

Posted on the February 24th, 2007 under Aberez, deci exist, [ Ro ] by Raz

Ceea ce urmeaza sa citesti sunt pure aberatii, opinii tâmpe etc. Daca ai altceva de facut nu apasa pe “Read on” (daca e un rss opreste-te, nu e nimic interesant, trust me )

BPX (INT3)

Posted on the February 22nd, 2007 under Builder, C++ by Raz


The C++ Resources Network

Posted on the February 20th, 2007 under Bookmarks, C++, [ En ] by Raz

The C++ Resources Network

Avatar Paradise

Posted on the February 18th, 2007 under Bookmarks, [ Ro ] by Raz

“Arata-mi avatarul tau sa-ti spun ce fel de om esti”. Cand alegi un avatar si ti-l faci public (messenger/forums/blogs etc) acesta poate spune foarte multe despre tine, despre persoana din spatele acelui avatar. Spre exemplu cine alege un avatar cu Heineken Beer e clar 70-80%:

“Manual” YM Buddy remover

Posted on the February 17th, 2007 under Aberez, deci exist, Fun Stuff, Others, [ Ro ] by Raz

  Imposibil sa nu fi avut in lista YM-ului un “copil problema” care nu are nimic altceva mai bun de facut decat sa te sece cu mass-urile lui ca se duce la culcare, ca are nu stiu ce site super tare si la fiecare 5 minute trimite acelasi link, ca va pupa pe toti din lista lui (bleah! :-& ) etc . Da stiu probabil zici: ” il sterg si-l bag la ignore, easy stuff!”. Dar eu nu-l vreau nici la ignore, il vreau sters definitiv! lista de ignore e ceva de genul: “Il bag in lista de ‘asteptare’ pana se mai racoreste putin, si poate-l scot de acolo cand imi mai aduc aminte”. Ce facem in cazul in care vrem sa rezolvam problema rapid, pe o cale mai “paÅŸnică” si civilizata, fara aplicatiile de gen DenyBud? Simplu: apelam la bunavointa lui pentru a-l “manipula si hipnotiza”, o sa te stearga in 2 secunde din lista lui ;) nu crezi? uite dovada:

Sorting a ListView

Posted on the February 17th, 2007 under Builder, [ En ] by Raz

Here is how you can use the OnColumnClick and OnCompare events of a TListView to let users sort the columns (ascending/descending) in a report-style list view by clicking on the column headers. This requires a global variable to keep track of the column that was clicked:

Drag & Drop Files

Posted on the February 10th, 2007 under Builder, [ En ] by Raz

How to enabled drag&drop from explorer to your window and retrieve a list of dropped files?

1. Enable your window (Form) to accept dropped files (DragAcceptFiles )
2. Add a message handler for WM_DROPFILES
3. Use DragQueryFile ( on WM_DROPFILES) to get the dropped files count and their full path.

Running Scared

Posted on the February 7th, 2007 under Fun Stuff, Others, Videos, [ En ] by Raz

O my god! Somebody stop him before he hits the maximum velocity! (for best experience please turn your speakers on) :lol:

Internauti

Posted on the February 5th, 2007 under Bancuri, Others, [ Ro ] by Raz

Doi internauti maniaci:
Internautul 1: - Uite ba, ninge afara
Internautul 2: - Da link sa vad

Printing a TBitmap with StretchDIBits

Posted on the February 2nd, 2007 under Builder, [ En ] by Raz

  The simple way to print a TBitmap is to use the Draw method of a TPrinter Canvas ThePrinterCanvas->Draw ( PositionX, PositionY, TheBitmap);. This works, except that on many machines this will fail to print (or print out too small). The following code will print the TBitmap at a size that is adjusted for the printer device using StretchDIBits. You could change the scaling and have it print to whatever size you want…

Convert Units

Posted on the February 1st, 2007 under Bookmarks, [ En ] by Raz

Measurement unit conversion:
Kg to Lb, Cm to Feet, Inches to Cm, Km to Miles, Feet to Cm, Inches to Mm, Kilos to Stone, Ml to Oz, Stone to Kg, Ml to L
More units here.