NO

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
User contributions / Re: Vanish Lines
« Last post by HellOfMice on January 26, 2023, 03:27:16 pm »
Some examples
12
User contributions / Re: Vanish Lines
« Last post by HellOfMice on January 26, 2023, 03:25:57 pm »
Here is a new version.
The examples files contain all the documentation.
When you create a new file (empty file) all is documented and prepared.
This is not the final version but after many tests it seems correct.
13
Beginner questions / Re: Trouble including sqlite3 with a project
« Last post by MrBcx on January 24, 2023, 06:14:51 pm »
Hello, does anyone know of an example code, for (Pelles) C and Sqlite (with/without odbc).

I'm attaching an animated SQLITE demo that might interest you.
You need to logon with your Pelles Forum credentials to see the demo.

You can learn more about this here:
https://bcxbasiccoders.com/smf/index.php?topic=738.0

To get the files, you'll need to sign up on my forum.

14
Beginner questions / Re: Trouble including sqlite3 with a project
« Last post by John Z on January 24, 2023, 12:55:37 pm »
Hi valema,

In this forum look for CFE, if not found it is also hosted at
 https://sourceforge.net/projects/convolution-filter-editor/
a good example using sqllite and Pelles C by forum member Grincheux

John Z

forum
https://forum.pellesc.de/index.php?topic=10182.msg35965#msg35965

another sqlite program example link with smaller overhead
https://forum.pellesc.de/index.php?topic=10177.0
15
Beginner questions / Re: Need example code for C and Sqlite
« Last post by John Z on January 24, 2023, 12:53:25 pm »
Hello, yes that's it; and with or without ODBC.

Need sample code
In this forum look for CFE, if not found it is also hosted at
 https://sourceforge.net/projects/convolution-filter-editor/
a good example using sqllite and Pelles C by forum member Grincheux

John Z

forum
https://forum.pellesc.de/index.php?topic=10182.msg35965#msg35965 

another sqlite program example link with smaller overhead
https://forum.pellesc.de/index.php?topic=10177.0
16
Beginner questions / Re: Need example code for C and Sqlite
« Last post by TimoVJL on January 24, 2023, 07:08:36 am »
Hello, yes that's it; and with or without ODBC.
I have tried using the raw sqlite.c (and .h) code but got these errors:

POLINK: error: Unresolved external symbol '__endthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.
POLINK: error: Unresolved external symbol '__beginthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.
Choose from project options Compiler -> Code generation multithreaded library

SQLite use __cdecl , so use it project too.

this project might have modified header file sqlite3c.h for __cdecl
https://forum.pellesc.de/index.php?topic=3110.msg14062#msg14062

For ODBC
add odbc32.lib to project

https://forum.pellesc.de/index.php?topic=2489.msg9424#msg9424

17
Beginner questions / Need example code for C and Sqlite
« Last post by valema on January 24, 2023, 12:00:54 am »
Hello, yes that's it; and with or without ODBC.
I have tried using the raw sqlite.c (and .h) code but got these errors:

POLINK: error: Unresolved external symbol '__endthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.
POLINK: error: Unresolved external symbol '__beginthreadex' - referenced from 'C:\SQLite\sqlite-amalgamation-3400100\output\sqlite3.obj'.

(I run windows 10, 64)

I then installed odbc for sqlite... and

http://www.intelmenu.com/notes/c/c_odbc.html

copy pasted that code (a new project): got other errors,

POLINK: error: Unresolved external symbol '_SQLAllocHandle@12' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLSetEnvAttr@16' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLSetConnectAttr@16' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLConnect@28' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLDisconnect@4' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLFreeHandle@8' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLExecDirect@12' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLFetch@4' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
POLINK: error: Unresolved external symbol '_SQLGetData@24' - referenced from 'C:\Users\valte\Documents\videoprojekt\app_med_go_java_sqlite\c\test_odbc\output\prog.obj'.
18
Beginner questions / Re: Trouble including sqlite3 with a project
« Last post by valema on January 23, 2023, 11:57:04 pm »
Hello, does anyone know of an example code, for (Pelles) C and Sqlite (with/without odbc).
19
General discussions / Re: Searching a string for a single character
« Last post by John Z on January 22, 2023, 01:31:33 pm »
Great call frankie!

I added a UTF-16LE page and repeated the testing 8 times.  With UTF-16LE all characters in the same code group
there was for all practical purpose no search speed difference.  The "B" case 'won' 5 out of 8 while the '号' won in 3,
and the differences were tiny in all cases.

An interesting diversion.. :)
John Z
20
General discussions / Re: Searching a string for a single character
« Last post by frankie on January 22, 2023, 11:17:21 am »
There is also 'collation' and other nice tricky things coming handy when using unicode (i.e. see this for collation).
Pages: 1 [2] 3 4 ... 10