ilovewindev escreveu:Maligno,
The WAPI library is EXCELENT, I'having trouble to link it using Clipper 5.2, Funcky, Comix y Clipper Tools using Blinker. Can you post a .LNK to see how you link it.
Thank you, ILW. Be welcome to our group. As you may know at this moment, we have a great group of friends here. You're invited to join us.
I think you know the library WAPI is only a set of high level Clipper functions that simply invoke a tool called WAPI.EXE, embedded into the library. It's a Windows executable file like any other. Once you call a Clipper function, a copy of WAPI.EXE is extracted to a certain directory (configurable). Finally, the WAPI.EXE is executed with the convenient command line arguments to perform the desired action throught Windows. That's it. Just it.
So the library per se is very simple. Not only to use but to link it to your system too. There is only one requirement: CATools. Nothing more. Reading your message, I noticed you already use it.
The following example is the easiest way to compile a source file called TEST and link the library WAPI.
clipper test
blinker fi test li wapi,ct52
Nothing more than this is necessary. You related some trouble. What trouble exactly? Any error message? Can you show us your linkage script?
By the way, I have a question: how did you know about that library?
Regards,