Does PB Support Calls to Win32 and Win16 API Libraries ?

Does PB Support Calls to Win32 and Win16 API Libraries ?

Post by PJua » Fri, 07 Jul 1995 04:00:00



Hi All:
      I am very new to PowerBuiler Enterprise 4.0. I have a questions that
I
would be grateful if it can be answered:

  -> Can PowerBuilder Enterprise 4.0 support direct calls to Win32 and
      to Win16 API libraries ?

 
 
 

Does PB Support Calls to Win32 and Win16 API Libraries ?

Post by Kevin Scot » Sat, 08 Jul 1995 04:00:00


You are able to call an external function from Powerbuilder.  You will
need to review the windows SDK or documentation for a specific DLL.  

To call an external function from PB, select local external functions or
Global external functions from the declare menu and identify the external
function that you want to call...

FUNCTION Boolean FlashWindow(Long hWind, boolean bInvert)LIBRARY
"USER.EXE"

The default calling convention is "by value"

Once the external function is declared, you can use it with your scripts

gl_FlashWindow(this,TRUE)

BTW, you can't use "call-backs" or "Pointers to Pointers"

Hope this helps!

 
 
 

Does PB Support Calls to Win32 and Win16 API Libraries ?

Post by Carl Hoa » Sat, 08 Jul 1995 04:00:00


Yes.


 
 
 

1. LZA v1.00 - LZSS and Huffman archiver for Win32, Win16, and Dos

Hi all

This is to annouce the release of LZA v1.00 - LZSS archiver and
compressor for Win32, Win16, and Dos. You can download the package from
this URL;
   ftp://ftp.simtel.net/pub/simtelnet/win3/compress/lza100.zip

This package provides yet another archive format for PCs. However, not only
is it free, the full (Borland Pascal/Delphi) source code to the compression
engines used in the package is available for FREE from my homepage. When
using the "Maximum Compression" option, the compression ratio is as good as
ZIP's "deflate" method, but there is a slight speed loss.
Features include: single file compression and decompression, archive
compression and decompression, self-extracting archive ("SFX") support -
several "STUB" programs supplied, password protection for archives, disk
spanning, up to 8,192 files in each archive (more if you edit thew source
code), DOS, DOS DPMI, Win16, and Win32 binaries, GUI and command line
binaries, CRC checking of files in archives, viewing the contents of
archives, stores version information from Windows binaries (the Windows
versions only), long filename support under Windows 9x, and Windows NT,
optionally stores and restores directory paths, this archive format is now
being supported by some 3rd party programs, uses patent-free LZSS and
Huffman compression algorithms, maximum compression is as good as ZIP's
"deflation".

Best regards, The Chief
--------
Dr. Abimbola A. Olowofoyeku (The African Chief)

Homepage: http://ourworld.compuserve.com/homepages/African_Chief/
Author of: Chief's Installer Pro v5.00 for Win32
     ftp://ftp.simtel.net/pub/simtelnet/win95/install/chief500.zip

2. Dollars For Domain Names?

3. Call External and Win32 API dll's Subroutine calls

4. PGP doesn't work with W2k?

5. dbxml on Win32: Error in native libraries with certain queries from Python API

6. Abnormal termination when update mechanical desktop part

7. Best EXE compressors for Win16 and Win32

8. FS: Sun SMD parts and Xylogics 451 controller.

9. PDFWriter: Using ExtEscape WIN32 API call to set document propeties

10. How to change display settings without calling Win32 API functions in VB.NET.

11. Solutiion: Calling WIN32 API Functions

12. Win32 API calls - RegEnumKeyEx

13. Calling WIN32 API Functions