---
product: Chilkat
product_version: 11.7.0
language: xbase
language_label: Xbase++
document: language guide
---
> Chilkat 11.7.0 · language=xbase · this file: `https://www.chilkatsoft.com/ai-docs/v/11.7.0/xbase/guide.md`
> Class pages: `https://www.chilkatsoft.com/ai-docs/v/11.7.0/xbase/classes/<Class>.md`

# Chilkat for Xbase++ — language guide — v11.7.0

> This guide has only generated sections so far. The class pages carry the per-member detail.

## Object creation, unlocking and error handling

**Object Creation**

```xbase
LOCAL oGlobal
oGlobal := CreateObject("Chilkat.Global")

// ... use oGlobal ...

oGlobal:destroy()
```

Xbase++ uses the Chilkat ActiveX through the automation object returned by `CreateObject()`; properties and methods are accessed with the send operator (`oHttp:ConnectTimeout := 30`, `oHttp:Download(cUrl, cPath)`), and `:destroy()` releases the object. Register the Chilkat ActiveX matching the bitness of your Xbase++ application. To bind to a specific major version of Chilkat, append the major version number to the ProgID, such as `CreateObject("Chilkat.Global.11")` for Chilkat v11.\*.\*.

Boolean properties, arguments and return values are integers in the ActiveX: pass `1` or `0`, and test a method's success with `== 1`. A method that fails to return an object returns `NIL`. Objects returned by methods (such as an `HttpResponse` or `JsonObject`) are automation objects too and should likewise be released with `:destroy()`. Methods and properties that pass or return raw byte arrays are not shown on this page; use the `BinData`-based alternatives (methods ending in *Bd*) or the base64 / hex string-encoded variants instead.

Literals in Xbase++: true is `1`, false is `0`, null/none is `NIL`.

## Classes

[Class index for Xbase++](https://www.chilkatsoft.com/ai-docs/v/11.7.0/xbase/index.md)
