fmwviormv / sqlite-net

Automatically exported from code.google.com/p/sqlite-net
0 stars 0 forks source link

Patch: Enable sqlite-net to work on Windows #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you try to use sqlite-net on windows you will get stack unbalanced 
exceptions on every native call.
The attached patch corrects the CallingConvention to reflect how sqlite is 
compiled for windows.

I don't recommend this patch be applied as is, as it will not work on other 
platforms. I think perhaps a constant could be configured that changed based on 
the platform or the imports could be moved to an external platform dependent 
file.

Provide some feedback and I will make the required changes.

Original issue reported on code.google.com by elite.da...@gmail.com on 27 Oct 2010 at 7:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by frank.al...@gmail.com on 14 Nov 2010 at 12:42

GoogleCodeExporter commented 9 years ago
I don't think it's Windows that is the problem. I think it's .NET. I am using 
sqlite-net on Windows with Mono and it works perfectly.

Original comment by myralove...@gmail.com on 12 Sep 2011 at 6:51