...
- Create a New Form application
- Add a button to the form
- Add PlanSwift to reference (Planswift9_tlb in the uses)
- Copy code to button onclick event
API
...
Calls
Delphi
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
//PlanSwift code:
var
sVersion: string;
begin
sVersion := PlanSwift.CurrentVersion;
end;
//FreshDesk code:
procedure TForm1.psCurrentVersion(sender: TObject);
var
ps: IPlanSwift;
begin
//Create Planswift Interface
ps := coPlanswift.Create;
//Show Current Version of Planswift
ShowMessage(ps.CurrentVersion);
//Free the Planswift Interface
ps := nil;
end; |
C#
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
public class PlanswiftApi
{
private PlanSwift Planswift { get; }
public PlanswiftApi()
{
Planswift = new PlanSwift();
}
}
|
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Coming soon |
VB/VBA (OLE)
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Coming soon |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Coming soon |