U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Separate Database Access code
Separate Database Access code [message #38830] Mon, 21 January 2013 15:33 Go to previous message
jibe is currently offline  jibe
Messages: 294
Registered: February 2007
Location: France
Experienced Member
Hi,

I need the same code to access a database in several applications. I was thinking about a library providing this code, but I'm unable to have something working as soon as I try to separate the database access code from main application code...

Is it possible ?

I tried the joined code, but I get an "invalid memory access" when I execute it...

This error occurs while the database is created. There is no error if I don't put any table in the database (empty .sch file).

What is wrong ? Am I blind and unable to see a big mistake in my code ?

Thanks.
  • Attachment: TestDB.zip
    (Size: 2.19KB, Downloaded 292 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Draw without overriding Paint?
Next Topic: Deploying U++ Application
Goto Forum:
  


Current Time: Thu Jun 18 12:21:45 GMT+2 2026

Total time taken to generate the page: 0.00533 seconds