Upload JPG in a Blob field

I use Scriptcase 9.5 and MSSQL Server.
In a form, I add an Image (Database) field, which is written to a Blob (Binary).
It works ok in Scriptcase. the image is saved in the blob, and it opens, without problems.
But when I try to access the image from another application, in another language, it doesn’t open it.
How is the image recorded in the blob?
Is there a way to record it bit by bit? (raw)
Thank you very much…

To solve this, I need change the conection, from MS SQL Native SRV a MS SQL Native SRV PDO