Theos PowerBasic Museum 2017

Archive => Discussion - Legacy Software (PBWIN 9.0+/PBCC 5.0+) => Topic started by: Li Qiang on March 02, 2011, 04:46:56 PM

Title: How to call the OpenFile function?
Post by: Li Qiang on March 02, 2011, 04:46:56 PM
I am just learning PowerBasic, hope someone help me
Thanks!

How to call the OpenFile function?

' Interface Name  : Int__DDoxitReaderSDK
' Description     : Dispatch interface for DoxitReaderSDK Pro Control
' Class Name      : DoxitReaderSDK
' ClassID         : $CLSID_DoxitReaderSDKProLib_DoxitReaderSDK
' Version ProgID  : $PROGID_DoxitReaderSDKProLib_DoxitReaderSDK3
Interface IDBind Int__DoxitReaderSDK
   Member Call OpenFile <15> (In file_path As String<0>, In Password As String<1>) As Integer
End Interface
Title: Re: How to call the OpenFile function?
Post by: Patrice Terrier on March 02, 2011, 06:51:00 PM
OpenFile --> CreateFile API

http://msdn.microsoft.com/en-us/library/aa363858(v=vs.85).aspx

...