Building FDO source code on Windows - arcgis

I'm trying to compile the FDO source code (http://fdo.osgeo.org/) on Windows to be able to use the FDO provider for ArcSDE.
The FDO build instructions say I need ArcSDE client SDK installed. I am not sure which installer would this be part of. I do have an installer for ArcSDE server components but it needs that I have Oracle installed on my machine. Is there an easier way to just get the ArcSDE Client SDK. I have gone through the information on the ESRI website, but couldn't find an easy answer.
I was wondering if anyone here has faced similar issues building the FDO code and can share their experience. Any pointers will be highly appreciated.

Related

VB.Net Installation and DLL horrors

have been working and wearing out my fingers doing google searches with this one:
I generally develop on server side, but we require small desktop apps to connect certain hardware pieces with our web based software -- I put something together with very limited knowledge of VB.Net no issues there. I don't know much about making installers, messing with the registry or signing programs to make antivirus software not flag my executables as unsafe.
My main woe is that I have a DLL file I used for my installation which I don't know how to register during the installation process. I am using VB.Net Express 2010 for the actual application code and InnoIDE to compile an installation script with those files.
Is there a script I can add to InnoIDE so it will register the DLL file for me? Or is this something I can do programmatically from VB.Net (Express version, not full...). The DLL is a COM library, so according to the research I did it requires registering.
As an aside, any information anyone could provide in terms of signing the application or something which will stop antivirus software from warning users that this file could be potentially unsafe? We use Avast in the office and in all test machines Avast tried to have the app run in the sandbox every time I ran it.
Thank you in advance, and please let me know if this question requires further information.
Since InnoIDE is just a graphical interface to Inno Setup you could try using the Pascal Scripting function RegisterServer.
From above link
Registers the DLL/OCX with the specified filename. If Is64Bit is True,
the DLL/OCX will be loaded as a 64-bit image and registered in a
64-bit process. If FailCriticalErrors is True, the system will not
display any critical-error-handler message boxes. Raises an exception
if not successful.

One of the assemblies in MS Expression Encoder SDK fails to resolve

I have an year or so old application which uses Expression Encoder 3 to generate thumbnails. Few of the users are complaining that they are receiving the following exception:
Could not load file or assembly 'Microsoft.Expression.Encoder.Utilities.dll' or one of its dependencies. This application has failed to start because the application configuration is incorrect.
The application contains in itself the required EE3 assemblies in the setup, so as such installation of Expression Encoder is not required.
All these crashes started to occur after the application was upgraded to .net 4.
Any clues on what might be happening?
[EDIT] Was able to reproduce the issue on one of our local systems. We did a clean install of Windows XP. Installed .net 4 and then our app. It crashed with the same exception. We could fix the issue by installing .net 3.5!
I was quick to point fingers at .net 4 backward compatibility.
So the question remains: any clues on what might be happening?
According to this question this seems to be an issue with EE3 itself in that it requires EE to be installed (via the installer) to work properly.
Sadly this also seems to be the case for EE4, according to this thread, due to a codec licence issue.
Sorry :/
Have you looked at MediaFoundation? it might serve as an alternative, although ive never used it myself.
I had similar problems, where it wasn't working on a Windows7 64-bit server.
Here's some things I've learnt:
You must modify your project's build settings so it has a target platform of "x86".
You must ensure that the "Desktop Experience" feature is enabled on the target machine. See this blog.

How do I bundle an exe with OpenCandy's offer platform?

I have an existing exe file which I would love to have launched from a new installer using the OpenCandy platform.
See here: http://www.opencandy.com/developers/signup/ for OC's integration options. Maybe it could be in the form of a downloader? Or maybe it could just be a fairly empty installer that has OC's api integrated and then will open an embedded exe (all I have is the exe).
Thanks.
You can download our SDK at http://media.opencandy.com/sdk/OpenCandyPublisherKit.zip, which includes instructions for integrating OpenCandy. If you have any questions, there's also a contact address in there.Basically you create an installer (like NSIS or Inno) to install your app/exe and integrate OpenCandy into it.
Be well and good luck integrating!
Dr. Apps
Software Community Guru
OpenCandy

How to develop IronPython applications on Mono?

I might need to write some GUI application that runs on .Net (and Windows), while what I can work with is Mono (on Ubuntu and/or Gentoo). I am very familiar with Python; in addition, I understand that the Mono Windows.Forms assemblies seem to be satisfactorily usable (I've run successfully .Net applications using Windows.Forms).
What are the steps I would have to take to have an environment where I can develop stand-alone IronPython on a GNU/Linux maching? Also, I would very much appreciate some .Net-Mono compatibility pointers (e.g. things I should know or avoid).
I'm not looking for an IDE; I'm quite at ease using vim for my editing purposes, and I don't mind building GUIs programmatically.
Note: what I'm actually asking, is help with the following:
I obviously have to install IronPython; so I make sure my Mono packages are installed, then I run the IronPython installer (using Mono, obviously) just like I would on Windows? Will this make the IronPython assemblies available to Mono? If not, how can I do that? Ubuntu 9.10 has a package for IronPython, but it's not the latest version; at the same time, for compatibility purposes, I can't upgrade the Ubuntu installation. I can't find an ebuild for Gentoo.
Do I have to install any more assemblies?
After I successfully install IronPython, how do I create a .Net/Mono executable from my IronPython sources? Is there a “proper” way?
Is there a way to “embed” the IronPython (and any other required) assemblies in the final .exe?
Check Windows Forms section on IronPython Cookbook for hints about creating Windows Forms applications.
As to the environment, I would write the app in Mono and check it works on Windows. I would set up two virtual machines and any source control system to transfer sources between them.
The key part is to write and run tests so you can verify it works on both platforms. So you cannot use just GNU/Linux machine to be sure. But I think you can install Windows 7 for 30-days trial period.
I used to write WinForms tests so here is link to my blog and several other articles:
GUIAT blog
Acceptance Testing .NET Applications using IronPython
Functional Testing of GUI Applications
IronPython says it requires Reflection.Emit and lightweight code generation. FAQ iOS tends to frown on that kind of thing. So if you want to do iOS, you may be out of luck.

Any way to use Help.ShowHelp in Windows CE Core license build?

I am developing a Compact Framework 3.5 application for Windows CE 6.0. Help.ShowHelp() throws a NotSupportedException. At windowsembedded.com I found this statement:
"Help is not included in the Core run-time because it requires a browser."
Is this the reason for the exception? If so, is there any recommended way to get around this issue or do I need to build my own help system?
ShowHelp uses the browser control (via webview.dll IIRC) under CE. The browser control is definitely part of the Professional CE license SKU (assessment tool here. There used to be a Word doc that listed every component, but I can't seem to locate a download for it), so you will have to roll your own Help framework if you intend to stay with a Core license. Options might be to use Opera or MiniMo as a browser, but you'd still have to roll all of the searh/help stuff.
Using RTF might be simpler.