Re: [sqlite] C# amalgamation hand holding requested

2012-01-25 Thread Don V Nielsen
Yeah.  I've been stung by the GAC in the past.  When I first learned of it,
I thought it was the bee's knees and life would be rosy after that.
 Instead, it turned out to be a wolf in sheep's clothing.  I avoid it with
all my applications, now.

On Tue, Jan 24, 2012 at 10:22 AM, Roosevelt Anderson <
roosevelt.ander...@gmail.com> wrote:

> This is .NET development not regular Windows development. The .NET
> application most of the time will use the version of
> System.Data.SQLite.dll that is in the same directory as the executing
> application. The only time it will not use this version is if you load
> System.Data.SQLite.dll into the Global Assembly Cache which I do not
> recommend.
>
> On Tue, Jan 24, 2012 at 10:49 AM, Black, Michael (IS)
>  wrote:
> > Yes --  you do need to worry.
> >
> > Plusyou apparently should rename the DLL so it doesn't collide with
> any others from what I can discern from this:
> >
> >
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
> >
> >
> >
> > Michael D. Black
> >
> > Senior Scientist
> >
> > Advanced Analytics Directorate
> >
> > Advanced GEOINT Solutions Operating Unit
> >
> > Northrop Grumman Information Systems
> >
> > 
> > From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org]
> on behalf of Don V Nielsen [donvniel...@gmail.com]
> > Sent: Tuesday, January 24, 2012 9:39 AM
> > To: General Discussion of SQLite Database
> > Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested
> >
> > Ok.  So I am doing things correctly.  I am already doing things
> correctly.
> >  I am using the provided .NET dll.  I copy it to my local project.  And
> > when that project moves to production, it will be in the project's .bin
> > folder.  I should not have to worry about the dll hell associated with HP
> > and Quicken and what not.
> >
> > Thanks.  I was getting confused.
> >
> > dvn
> >
> >
> > On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin 
> wrote:
> >
> >>
> >> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
> >>
> >> > The C# compiler does not compile C. C# and VB.NET get compiled down
> to
> >> bytecode.
> >> >
> >> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
> >> wrote:
> >> >>
> >> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
> >> >>
> >> >>> You can't use the amalgamation directly in C# as the SQLite
> >> >>> amalgamation is in C.
> >> >>
> >> >> Can you not simply tell your compiler that '.c' files are C and not
> C#
> >> ?  That's what you do with Objective-C.  Or do C# compilers not compile
> C ?
> >>
> >> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
> >>
> >> Simon.
> >> ___
> >> sqlite-users mailing list
> >> sqlite-users@sqlite.org
> >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >>
> > ___
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> > ___
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-24 Thread Roosevelt Anderson
.NET code is compiled to byte code that runs on the Common Language
Runtime (CLR) which is a virtual machine. Each .NET application
creates an instance of the CLR. This is getting outside of the scope
of this list. If you need more information I would research the
architecture of NET.

On Tue, Jan 24, 2012 at 11:41 AM, Black, Michael (IS)
 wrote:
> And what's your reference for that?
> It can't load your DLL if an already-same-named DLL is loaded by some other
> app.  Or is there another reference page from Microsoft which contradicts
> the one I sent which explains that?  If the sqlite guys would put the
> version# in the DLL name that would help a LOT.
>
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> Advanced Analytics Directorate
>
> Advanced GEOINT Solutions Operating Unit
>
> Northrop Grumman Information Systems
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Roosevelt Anderson [roosevelt.ander...@gmail.com]
> Sent: Tuesday, January 24, 2012 10:22 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested
>
> This is .NET development not regular Windows development. The .NET
> application most of the time will use the version of
> System.Data.SQLite.dll that is in the same directory as the executing
> application. The only time it will not use this version is if you load
> System.Data.SQLite.dll into the Global Assembly Cache which I do not
> recommend.
>
> On Tue, Jan 24, 2012 at 10:49 AM, Black, Michael (IS)
>  wrote:
>> Yes --  you do need to worry.
>>
>> Plusyou apparently should rename the DLL so it doesn't collide with any 
>> others from what I can discern from this:
>>
>> http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
>>
>>
>>
>> Michael D. Black
>>
>> Senior Scientist
>>
>> Advanced Analytics Directorate
>>
>> Advanced GEOINT Solutions Operating Unit
>>
>> Northrop Grumman Information Systems
>>
>> ____
>> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
>> behalf of Don V Nielsen [donvniel...@gmail.com]
>> Sent: Tuesday, January 24, 2012 9:39 AM
>> To: General Discussion of SQLite Database
>> Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested
>>
>> Ok.  So I am doing things correctly.  I am already doing things correctly.
>>  I am using the provided .NET dll.  I copy it to my local project.  And
>> when that project moves to production, it will be in the project's .bin
>> folder.  I should not have to worry about the dll hell associated with HP
>> and Quicken and what not.
>>
>> Thanks.  I was getting confused.
>>
>> dvn
>>
>>
>> On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin  wrote:
>>
>>>
>>> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
>>>
>>> > The C# compiler does not compile C. C# and VB.NET get compiled down to
>>> bytecode.
>>> >
>>> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
>>> wrote:
>>> >>
>>> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
>>> >>
>>> >>> You can't use the amalgamation directly in C# as the SQLite
>>> >>> amalgamation is in C.
>>> >>
>>> >> Can you not simply tell your compiler that '.c' files are C and not C#
>>> ?  That's what you do with Objective-C.  Or do C# compilers not compile C ?
>>>
>>> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
>>>
>>> Simon.
>>> ___
>>> sqlite-users mailing list
>>> sqlite-users@sqlite.org
>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>>
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-24 Thread Black, Michael (IS)
And what's your reference for that?
It can't load your DLL if an already-same-named DLL is loaded by some other
app.  Or is there another reference page from Microsoft which contradicts
the one I sent which explains that?  If the sqlite guys would put the
version# in the DLL name that would help a LOT.




Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems


From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Roosevelt Anderson [roosevelt.ander...@gmail.com]
Sent: Tuesday, January 24, 2012 10:22 AM
To: General Discussion of SQLite Database
Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested

This is .NET development not regular Windows development. The .NET
application most of the time will use the version of
System.Data.SQLite.dll that is in the same directory as the executing
application. The only time it will not use this version is if you load
System.Data.SQLite.dll into the Global Assembly Cache which I do not
recommend.

On Tue, Jan 24, 2012 at 10:49 AM, Black, Michael (IS)
 wrote:
> Yes --  you do need to worry.
>
> Plusyou apparently should rename the DLL so it doesn't collide with any 
> others from what I can discern from this:
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> Advanced Analytics Directorate
>
> Advanced GEOINT Solutions Operating Unit
>
> Northrop Grumman Information Systems
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Don V Nielsen [donvniel...@gmail.com]
> Sent: Tuesday, January 24, 2012 9:39 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested
>
> Ok.  So I am doing things correctly.  I am already doing things correctly.
>  I am using the provided .NET dll.  I copy it to my local project.  And
> when that project moves to production, it will be in the project's .bin
> folder.  I should not have to worry about the dll hell associated with HP
> and Quicken and what not.
>
> Thanks.  I was getting confused.
>
> dvn
>
>
> On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin  wrote:
>
>>
>> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
>>
>> > The C# compiler does not compile C. C# and VB.NET get compiled down to
>> bytecode.
>> >
>> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
>> wrote:
>> >>
>> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
>> >>
>> >>> You can't use the amalgamation directly in C# as the SQLite
>> >>> amalgamation is in C.
>> >>
>> >> Can you not simply tell your compiler that '.c' files are C and not C#
>> ?  That's what you do with Objective-C.  Or do C# compilers not compile C ?
>>
>> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
>>
>> Simon.
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-24 Thread Roosevelt Anderson
This is .NET development not regular Windows development. The .NET
application most of the time will use the version of
System.Data.SQLite.dll that is in the same directory as the executing
application. The only time it will not use this version is if you load
System.Data.SQLite.dll into the Global Assembly Cache which I do not
recommend.

On Tue, Jan 24, 2012 at 10:49 AM, Black, Michael (IS)
 wrote:
> Yes --  you do need to worry.
>
> Plusyou apparently should rename the DLL so it doesn't collide with any 
> others from what I can discern from this:
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> Advanced Analytics Directorate
>
> Advanced GEOINT Solutions Operating Unit
>
> Northrop Grumman Information Systems
>
> 
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
> behalf of Don V Nielsen [donvniel...@gmail.com]
> Sent: Tuesday, January 24, 2012 9:39 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested
>
> Ok.  So I am doing things correctly.  I am already doing things correctly.
>  I am using the provided .NET dll.  I copy it to my local project.  And
> when that project moves to production, it will be in the project's .bin
> folder.  I should not have to worry about the dll hell associated with HP
> and Quicken and what not.
>
> Thanks.  I was getting confused.
>
> dvn
>
>
> On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin  wrote:
>
>>
>> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
>>
>> > The C# compiler does not compile C. C# and VB.NET get compiled down to
>> bytecode.
>> >
>> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
>> wrote:
>> >>
>> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
>> >>
>> >>> You can't use the amalgamation directly in C# as the SQLite
>> >>> amalgamation is in C.
>> >>
>> >> Can you not simply tell your compiler that '.c' files are C and not C#
>> ?  That's what you do with Objective-C.  Or do C# compilers not compile C ?
>>
>> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
>>
>> Simon.
>> ___
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-24 Thread Black, Michael (IS)
Yes --  you do need to worry.

Plusyou apparently should rename the DLL so it doesn't collide with any 
others from what I can discern from this:

http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx



Michael D. Black

Senior Scientist

Advanced Analytics Directorate

Advanced GEOINT Solutions Operating Unit

Northrop Grumman Information Systems


From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org] on 
behalf of Don V Nielsen [donvniel...@gmail.com]
Sent: Tuesday, January 24, 2012 9:39 AM
To: General Discussion of SQLite Database
Subject: EXT :Re: [sqlite] C# amalgamation hand holding requested

Ok.  So I am doing things correctly.  I am already doing things correctly.
 I am using the provided .NET dll.  I copy it to my local project.  And
when that project moves to production, it will be in the project's .bin
folder.  I should not have to worry about the dll hell associated with HP
and Quicken and what not.

Thanks.  I was getting confused.

dvn


On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin  wrote:

>
> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
>
> > The C# compiler does not compile C. C# and VB.NET get compiled down to
> bytecode.
> >
> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
> wrote:
> >>
> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
> >>
> >>> You can't use the amalgamation directly in C# as the SQLite
> >>> amalgamation is in C.
> >>
> >> Can you not simply tell your compiler that '.c' files are C and not C#
> ?  That's what you do with Objective-C.  Or do C# compilers not compile C ?
>
> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
>
> Simon.
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-24 Thread Don V Nielsen
Ok.  So I am doing things correctly.  I am already doing things correctly.
 I am using the provided .NET dll.  I copy it to my local project.  And
when that project moves to production, it will be in the project's .bin
folder.  I should not have to worry about the dll hell associated with HP
and Quicken and what not.

Thanks.  I was getting confused.

dvn


On Mon, Jan 23, 2012 at 2:03 PM, Simon Slavin  wrote:

>
> On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:
>
> > The C# compiler does not compile C. C# and VB.NET get compiled down to
> bytecode.
> >
> > On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin 
> wrote:
> >>
> >> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
> >>
> >>> You can't use the amalgamation directly in C# as the SQLite
> >>> amalgamation is in C.
> >>
> >> Can you not simply tell your compiler that '.c' files are C and not C#
> ?  That's what you do with Objective-C.  Or do C# compilers not compile C ?
>
> Ah.  So C# is not a superset of C.  That explains things.  Thanks.
>
> Simon.
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Simon Slavin

On 23 Jan 2012, at 7:39pm, Roosevelt Anderson wrote:

> The C# compiler does not compile C. C# and VB.NET get compiled down to 
> bytecode.
> 
> On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin  wrote:
>> 
>> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
>> 
>>> You can't use the amalgamation directly in C# as the SQLite
>>> amalgamation is in C.
>> 
>> Can you not simply tell your compiler that '.c' files are C and not C# ?  
>> That's what you do with Objective-C.  Or do C# compilers not compile C ?

Ah.  So C# is not a superset of C.  That explains things.  Thanks.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Roosevelt Anderson
The C# compiler does not compile C. C# and VB.NET get compiled down to bytecode.

On Mon, Jan 23, 2012 at 12:56 PM, Simon Slavin  wrote:
>
> On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:
>
>> You can't use the amalgamation directly in C# as the SQLite
>> amalgamation is in C.
>
> Can you not simply tell your compiler that '.c' files are C and not C# ?  
> That's what you do with Objective-C.  Or do C# compilers not compile C ?
>
> Simon.
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Simon Slavin

On 23 Jan 2012, at 4:39pm, Roosevelt Anderson wrote:

> You can't use the amalgamation directly in C# as the SQLite
> amalgamation is in C.

Can you not simply tell your compiler that '.c' files are C and not C# ?  
That's what you do with Objective-C.  Or do C# compilers not compile C ?

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Roosevelt Anderson
You can't use the amalgamation directly in C# as the SQLite
amalgamation is in C. To use the amalgamation you'd have to compile
the code in a separate C/C++ project, create a wrapper class using
P/Invoke and then call it from your application. You should use the
.NET data provider found here
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
which has already done the work for you.

On Fri, Jan 20, 2012 at 10:42 AM, Don V Nielsen  wrote:
> I need help using the amalgamation in my projects.  I simply do not know
> what steps to take in VS to implement it.
>
> I have some fairly elaborate projects that I have been redeveloping to use
> sqlite instead of .net structure and memory functions.  One project is
> complete, but it uses the sqlite dll.  Recent conversations by users has
> convinced me that I would be better off using the amalgamation file
> instead.  However, I don't know what steps in VS to do to specify the
> source and header files so that it compiles into my application.
>
> Can someone walk through steps necessary for specifying properties,
> references, and source code.  Again, this is C# development.  I've really
> become self-aware just how little I know about VS in the terms of
> application development.  I've been flying blind for quite some time.  I'm
> just like a newbie.
>
> dvn
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Jean-Denis MUYS

On 23 janv. 2012, at 11:18, Simon Slavin wrote:

> 
> On 23 Jan 2012, at 8:59am, Jean-Denis MUYS wrote:
> 
>> I am a Mac developer, and I haven't even tried to look for such 
>> documentation on Xcode. This is because the steps to follow couldn't be more 
>> obvious. Here they are:
>> 
>> Step 1: drag and drop the amalgamation files to your Xcode project
>> Step 2: there is no step 2
> 
> Have you tried that recently ?

Depends on what you mean by recently. Last time for me was around last summer. 
It was definitely with Xcode 4. I do that on perhaps a weekly basis with all 
kinds of source code however.

>  Where in the project ?

Wherever you like. I suspect you organize your project with groups for each 
subsystem. I put it in either in the subsystem that uses SQLite, or in a more 
general "3rd party libraries" group.

>  The Xcode icon in the dock ?

If you do that, Xcode will open the file(s) as is, and will not add it(them) to 
any of your open projects.

>  Part of an Xcode window ?

The project navigator as always.

>  The project icon in the window ?

Possibly. That icon is in the project navigator, and if drop a file on it, it 
ends up at the top level, outside of all groups.

>  One of the folders in the window ?  Make a new folder for them ?

Your choice.

>  How do you answer the dialog that pops up ?

Well, nothing special here. You answer it exactly as for any other set of 
source files: you check the targets that will use SQLite (probably all of them 
if you have more than one), you create a group if you dropped a directory 
rather than the source files themselves, and you check/or not the option to 
copy the files in the group folder (up to you).

>  Should the 'Target Membership' checkbox be checked for both files ?

It doesn't matter. In fact, if you drag and drop both files at the same time, 
you will not have the opportunity to decide on file by file basis. In any case, 
Xcode 4 is smart enough to know that header files are never added to any target.

While all those questions are legitimate, they are beginners questions 
regarding Xcode and none of them is related to SQLite. I would contend that 
SQLite documentation is not the right place where to put basic level 1 
documentation about any or all IDEs that can be used to develop with it.

Perhaps more interesting would be to propose Xcode project templates for 
projects that use SQLite with the Amalgamation distribution (as opposed to the 
SQLite versions that Apple ships with its OS'es). Though the added value would 
slight indeed.

> 
> Simon.

Jean-Denis

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Simon Slavin

On 23 Jan 2012, at 8:59am, Jean-Denis MUYS wrote:

> I am a Mac developer, and I haven't even tried to look for such documentation 
> on Xcode. This is because the steps to follow couldn't be more obvious. Here 
> they are:
> 
> Step 1: drag and drop the amalgamation files to your Xcode project
> Step 2: there is no step 2

Have you tried that recently ?  Where in the project ?  The Xcode icon in the 
dock ?  Part of an Xcode window ?  The project icon in the window ?  One of the 
folders in the window ?  Make a new folder for them ?  How do you answer the 
dialog that pops up ?  Should the 'Target Membership' checkbox be checked for 
both files ?

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-23 Thread Jean-Denis MUYS

On 20 janv. 2012, at 18:08, Simon Slavin wrote:

> 
> On 20 Jan 2012, at 3:42pm, Don V Nielsen wrote:
> 
>> Recent conversations by users has
>> convinced me that I would be better off using the amalgamation file
>> instead.  However, I don't know what steps in VS to do to specify the
>> source and header files so that it compiles into my application.
>> 
>> Can someone walk through steps necessary for specifying properties,
>> references, and source code.
> 
> And once it's done can we add it to the documentation or something ?  A page 
> for each of the most common uses would be excellent: one for VS, one for 
> common Linux compilations, one for Xcode on Macs, would be really useful.
> 
> Simon.

I am a Mac developer, and I haven't even tried to look for such documentation 
on Xcode. This is because the steps to follow couldn't be more obvious. Here 
they are:

Step 1: drag and drop the amalgamation files to your Xcode project
Step 2: there is no step 2

Anything beyond that concerns your project, not SQLite.

Jean-Denis

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] C# amalgamation hand holding requested

2012-01-20 Thread Simon Slavin

On 20 Jan 2012, at 3:42pm, Don V Nielsen wrote:

> Recent conversations by users has
> convinced me that I would be better off using the amalgamation file
> instead.  However, I don't know what steps in VS to do to specify the
> source and header files so that it compiles into my application.
> 
> Can someone walk through steps necessary for specifying properties,
> references, and source code.

And once it's done can we add it to the documentation or something ?  A page 
for each of the most common uses would be excellent: one for VS, one for common 
Linux compilations, one for Xcode on Macs, would be really useful.

Simon.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users