News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Testing XmlLite.dll

Started by TimoVJL, April 18, 2025, 09:55:51 AM

Previous topic - Next topic

TimoVJL

This example was just for using XmlLite.dll with Pelles C without any additional files.

Some parts are just copied from fSDK xmllite.h

Next thing might be to create minimal XmlLite.inc for poasm


https://github.com/Frankie-PellesC/fSDK
https://github.com/Frankie-PellesC/fSDK/blob/master/Samples_and_Tests/XML/Xml_Sample/xml_sample.c
May the source be with you

Vortex

Hi Timo,

Here are the function prototypes for 32-bit coding :

; include file generated by lib2inc V2.4

CreateXmlReader PROTO :DWORD,:DWORD,:DWORD
CreateXmlReaderInputWithEncodingCodePage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateXmlReaderInputWithEncodingName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreateXmlWriter PROTO :DWORD,:DWORD,:DWORD
CreateXmlWriterOutputWithEncodingCodePage PROTO :DWORD,:DWORD,:DWORD,:DWORD
CreateXmlWriterOutputWithEncodingName PROTO :DWORD,:DWORD,:DWORD,:DWORD

Replace the DWORDs with QWORDs and you have the 64-bit version.
Code it... That's all...