Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lotus Organizer 97 API
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Lotus Organizer 97 API
Miscellaneous
Thread ID:
00055806
Message ID:
00055806
Views:
148
I found a the Lotus Organizer 97 GS API Toolkit on the web and downloaded it. I want to retrieve calendar information for an Organizer file, but I am having difficulty initializing the API. They have examples of calling the API (orgapi32.dll) from C++ and Visual Basic. I want to do it from Visual FoxPro. Below is excerpt from the help file that comes with the Toolkit:

Initializes all the components needed for Organizer API. If you leave out any of the parameters when callling this function, the API displays the standard login dialog box.

hOrgAPI OrgAPIInit( hWnd,
hInstance,
hPrevInstance,
lpfnMsgCallback,
lpszContainerPath,
lpszName,
lpszPassword,
ApiInitFlags,
lpOrgAPIInitError)

Here is what I did in my program:

DECLARE Integer OrgAPIInit IN OrgAPI32 ;
Integer hWnd, ;
Integer hInstance, ;
Integer hPrevInstance, ;
Integer lpfnMsgCallback, ;
String lpszContainerPath, ;
String lpszName, ;
String lpszPassword, ;
Long ApiInitFlags, ;
Long @lpOrgAPIInitError

lnAPIInitFlags = OAIF_NOUI
lnOrgAPIInitError = 0

lnAPIHandle = OrgAPIInit(0, 0, 0, 0, "", "", "", lnApiInitFlags, @lnOrgAPIInitError)

The above statement gives the following error:
Cannot load 32-bit DLL orgapi32.dll. (Error 1753)

I thought if the DLL could be called from Visual Basic, then I should be able to call it from Visual FoxPro. Is this a bad assumption? Does anyone have any ideas?

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform