![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am using SQL Anywhere 10.0.1.3807 with Visual Studio 2005 C# framework 2.0.5 sp 1. I can write a windows application that connects to an ultralite database. I can write a pocket pc application that connects to an ultralite database on the device. What I want to do is write a pocket pc application that will run on desktop (I've done this) and connect to an ultralite database on the desktop. The end result being that I can run the exe on either platform by just swapping out the relevant dlls. IS THIS POSSIBLE? I've created a simple application that tries to connect to the database - If I leave the same dlls I get: Parse error: ?????????????????????????????????????????????????? ?????????????? for the ULException message property. If I swap out the iAnywhere.Data.Ultralite.dll and the ulnet10.dll for the win32 versions, I get a File Load exception: Could not load file or assembly 'iAnywhere.Data.UltraLite, Version=10.0.1.3807, Culture=neutral, PublicKeyToken=ebdab8d53cff0621' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) This file is in the same directory as the exe. Is there another file besides the ulnet10.dll that I need? If this is possible, please advise as to what I'm doing wrong! Thank you in advance, Paula |
#3
| |||
| |||
|
|
At this stage, this is not possible. Paula wrote: Hello, I am using SQL Anywhere 10.0.1.3807 with Visual Studio 2005 C# framework 2.0.5 sp 1. I can write a windows application that connects to an ultralite database. I can write a pocket pc application that connects to an ultralite database on the device. What I want to do is write a pocket pc application that will run on desktop (I've done this) and connect to an ultralite database on the desktop. The end result being that I can run the exe on either platform by just swapping out the relevant dlls. IS THIS POSSIBLE? I've created a simple application that tries to connect to the database - If I leave the same dlls I get: Parse error: ?????????????????????????????????????????????????? ???????? ?????? for the ULException message property. If I swap out the iAnywhere.Data.Ultralite.dll and the ulnet10.dll for the win32 versions, I get a File Load exception: Could not load file or assembly 'iAnywhere.Data.UltraLite, Version=10.0.1.3807, Culture=neutral, PublicKeyToken=ebdab8d53cff0621' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) This file is in the same directory as the exe. Is there another file besides the ulnet10.dll that I need? If this is possible, please advise as to what I'm doing wrong! Thank you in advance, Paula |
![]() |
| Thread Tools | |
| Display Modes | |
| |