Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-30 Thread Sylvain Pointeau
thank you for the feedback, good that there is no issue. best regards, Sylvain On Sat, Jan 30, 2010 at 4:19 AM, Edward Diener < eldlistmaili...@tropicsoft.com> wrote: > Sylvain Pointeau wrote: > > Why don't you use sqlite as a dll? > > I am using it as a DLL. The actual types I mentioned are in

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-29 Thread Edward Diener
Sylvain Pointeau wrote: > Why don't you use sqlite as a dll? I am using it as a DLL. The actual types I mentioned are in the sqlite3.h header file but I am linking to the sqlite3.dll through the sqlite3.lib import library. I appreciate your help and do not want to waste your time anymore. I

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-29 Thread Sylvain Pointeau
Why don't you use sqlite as a dll? then you can download it already pre-compiled. I know this is not always possible (or wanted). Cheers, Sylvain On Fri, Jan 29, 2010 at 6:35 PM, Edward Diener < eldlistmaili...@tropicsoft.com> wrote: > Sylvain Pointeau wrote: > > Hello, > > > > Sorry I

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-29 Thread Edward Diener
Sylvain Pointeau wrote: > Hello, > > Sorry I believed you tried to compile sqlite in C++/CLI (managed) > if you access sqlite from unmanaged class then I think everything is fine. > I don't know if this warning message is important or not, I would say "no". > Why don't you use the dll only? What

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-29 Thread Sylvain Pointeau
Hello, Sorry I believed you tried to compile sqlite in C++/CLI (managed) if you access sqlite from unmanaged class then I think everything is fine. I don't know if this warning message is important or not, I would say "no". Why don't you use the dll only? Cheers, Sylvain On Fri, Jan 29, 2010 at

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-28 Thread Edward Diener
Sylvain Pointeau wrote: > Hi again, > > as far as I know you cannot compile SQLite for C++/CLI directly, and I > recently have some problem using C++/CLI in my Qt project. In C++/CLI one can have both .Net classes and standard C++ classes, since C++/CLI classes have a different syntax than

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-28 Thread Sylvain Pointeau
Hi again, as far as I know you cannot compile SQLite for C++/CLI directly, and I recently have some problem using C++/CLI in my Qt project. What I did was to let my application in C++ then compile some part in C++/CLI, there is some way to mix the managed and unmanaged code. I think you want to

Re: [sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-28 Thread Sylvain Pointeau
Hi, you can look at System.Data.SQLite and look at the sources. Best regards, Sylvain On Thu, Jan 28, 2010 at 12:23 AM, Edward Diener < eldlistmaili...@tropicsoft.com> wrote: > I am able to compile a C++/CLI .Net application using sqlite. But when > it links it

[sqlite] Problem using sqlite in a C++/CLI .Net application

2010-01-27 Thread Edward Diener
I am able to compile a C++/CLI .Net application using sqlite. But when it links it complains with some linker warnings: xxx.obj : warning LNK4248: unresolved typeref token (011D) for 'sqlite3'; image may not run xxx.obj : warning LNK4248: unresolved typeref token (011F) for