Page 1 of 1

how to use hbdll.ch ?

Posted: Tue Dec 11, 2012 1:29 pm
by danielmaximiliano
Hi Everyone:
looking into the Harbour changelog.txt HBDLL.CH as I find I need to work with. DLL I prepare to search through and find an example TextCrawler.
TextCrawler_2012-12-11_10-25-00.jpg
TextCrawler_2012-12-11_10-25-00.jpg (89.44 KiB) Viewed 3520 times

Code: Select all

*
 * $Id: dll.prg 18414 2012-10-31 13:04:01Z vszakats $
 */

#require "xhb"

#include "hbdll.ch"

IMPORT STATIC MessageBox( hWnd, cMsg, cText, nFlags ) FROM user32.dll EXPORTED AS MessageBoxA

PROCEDURE Main()

   ? MessageBox( 0, "Hello world!", "Harbour sez" )

   RETURN
Administrador Cwindowssystem32cmd.jpg
Administrador Cwindowssystem32cmd.jpg (98.12 KiB) Viewed 3520 times
anyone know or have other examples to apply hbdll?

Re: how to use hbdll.ch ?

Posted: Tue Dec 11, 2012 1:40 pm
by Pablo César
Hi Daniel !

There is one example in C:\MiniGUI\samples\Advanced\7-Zip