Archived Forum Post

Index of archived forum posts


(PureBasic) HTTP multipart/form-data Upload Example

Jun 10 '15 at 15:45

When I compile and run the example code. I get and "Invalid memory access. (read error at address 0)" when the application executes http.i = CkHttp::ckCreate(). I get the sample problem in my own application so I am wondering what is the cause of this error. I am using PureBasic 5.31 on Windows 8.1 Pro.


Accepted Answer

For some reason, the 32-bit version has this problem. The 64-bit Chilkat DLL works fine with the 64-bit PureBasic for Windows.


Does the 32bit version work correctly on a 32bit OS? I tried the 64bit version and it works just fine.