pbuilder.txt
来自「在VB中实现通讯的例子」· 文本 代码 · 共 32 行
TXT
32 行
*** Calling WSC from Power Builder ***
We do not use the Power Builder compilers, although we have several
customers that do. To use WSC in Power Builder:
1. Install the WSC library in the Power Builder path. Note that for
Power Builder Version 5, this means WSC16.DLL.
2. Declare the functions in the Power builder's Declare global
external function menu:
Function integer SioDone(integer Port) library "Wsc16.dll";
Function char SioGetc(integer Port) library "Wsc16.dll";
...
These functions are defined in the file WSC.PBI.
3. In order to call the functions inside Power Builder, follow this example:
Integer Result, COM1
COM1 = 0
Result = SioGetc(COM1)
If Result < 0 then
SioDone(COM1)
...
return
end if
...
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?