Click here to Skip to main content
15,915,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why is Visual before Visual C++? Pin
ThatsAlok11-Dec-06 17:35
ThatsAlok11-Dec-06 17:35 
GeneralRe: Why is Visual before Visual C++? Pin
Sam Hobbs12-Dec-06 16:15
Sam Hobbs12-Dec-06 16:15 
GeneralRe: Why is Visual before Visual C++? Pin
Code232613-Dec-06 11:00
Code232613-Dec-06 11:00 
AnswerRe: Why is Visual before Visual C++? Pin
Sam Hobbs12-Dec-06 16:17
Sam Hobbs12-Dec-06 16:17 
QuestionAntother SQL db implementation question Pin
Jim Crafton11-Dec-06 11:15
Jim Crafton11-Dec-06 11:15 
AnswerRe: Antother SQL db implementation question Pin
cmk11-Dec-06 11:48
cmk11-Dec-06 11:48 
GeneralRe: Antother SQL db implementation question Pin
Jim Crafton11-Dec-06 17:11
Jim Crafton11-Dec-06 17:11 
GeneralRe: Antother SQL db implementation question Pin
cmk11-Dec-06 20:45
cmk11-Dec-06 20:45 
Hmmm, a quick look at SQLite and i couldn't find any cursor info as well.
It looks like the query just calls a callback for each row.

I would treat this (SQLite) as an anomaly and write ODBC/OLE DB wrappers, you'll support more DB's from the effort. ODBC is cross platform and RDBMS independent, i would do it first (and in fact did for my framework).

So yes, you would then be responsible for caching rows - i.e. you write the cursor code.
e.g. look at the GRASS (gis) source for their sqlite driver (sqlite/fetch.c):
http://grass.itc.it/download/index.php[^]
... just looked, they only support forward-only cursors, but they also have an odbc driver, it's still worth looking at their code.

[EDIT]
Also see works like:
http://www.ch-werner.de/sqliteodbc/[^]
[/EDIT]




...cmk

Save the whales - collect the whole set

QuestionStaring with a Dialog Pin
manustone11-Dec-06 10:49
manustone11-Dec-06 10:49 
AnswerRe: Staring with a Dialog Pin
Michael Dunn11-Dec-06 10:55
sitebuilderMichael Dunn11-Dec-06 10:55 
GeneralRe: Staring with a Dialog Pin
manustone11-Dec-06 11:28
manustone11-Dec-06 11:28 
Questiondll creation from cpp files Pin
NAB3711-Dec-06 9:41
NAB3711-Dec-06 9:41 
QuestionI can't debug an MFC app anymore Pin
pblais11-Dec-06 8:25
pblais11-Dec-06 8:25 
AnswerRe: I can't debug an MFC app anymore Pin
pblais11-Dec-06 8:29
pblais11-Dec-06 8:29 
AnswerRe: I can't debug an MFC app anymore Pin
Michael Dunn11-Dec-06 9:05
sitebuilderMichael Dunn11-Dec-06 9:05 
GeneralThanks Mike Pin
pblais11-Dec-06 9:18
pblais11-Dec-06 9:18 
GeneralRe: Thanks Mike Pin
Michael Dunn11-Dec-06 10:51
sitebuilderMichael Dunn11-Dec-06 10:51 
QuestionNeed Help w/ Drawing to DC and then Blitting It Pin
CoffeeAddict1911-Dec-06 8:15
CoffeeAddict1911-Dec-06 8:15 
AnswerRe: Need Help w/ Drawing to DC and then Blitting It Pin
Mark Salsbery11-Dec-06 8:28
Mark Salsbery11-Dec-06 8:28 
QuestionSaving question Pin
DanYELL11-Dec-06 6:20
DanYELL11-Dec-06 6:20 
AnswerRe: Saving question Pin
Sam Hobbs11-Dec-06 18:56
Sam Hobbs11-Dec-06 18:56 
QuestionMFC UI Threads Pin
rrrado11-Dec-06 5:19
rrrado11-Dec-06 5:19 
AnswerRe: MFC UI Threads Pin
Mark Salsbery11-Dec-06 5:33
Mark Salsbery11-Dec-06 5:33 
GeneralRe: MFC UI Threads Pin
rrrado11-Dec-06 5:42
rrrado11-Dec-06 5:42 
GeneralRe: MFC UI Threads Pin
Mark Salsbery11-Dec-06 6:09
Mark Salsbery11-Dec-06 6:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.