CAB file for X86 and X64 - activex

HI
I have created a CAB file for an ActiveX component which is wrapper around a .Net Libray.
Here the .Net Library is refering some third party components which are actually build in (X86 or X64) No Any CPU.
So My Cab file should be intelligent enogh to install eigther X86 or X64 depending on the client ( Browser)
I Know the change should be in the INF file.
As i am new to thsi Interoperabilit technology.
Please guide me in solving this problem.
Thanking you.

Take a look at this, http://social.msdn.microsoft.com/Forums/fr-FR/ieextensiondevelopment/thread/32ec4e8f-cded-4f39-b57b-bea2222fdb92

Related

Delphi Chromium enbedded alternative on Firemonkey OSX, Windows and Linux

I need a fast and reliable HTML5 Browser component. For my needs TWebBrowser is too slow. I came across Chromium embedded but the components I found (DCEF3, DCEF4) are relying on Windows units. Also, there are no libraries for OSX32 as chromium is only available on 64 Bit for Mac.
Is there an alternative approach for native HTML5 for FMX on Windows, Linux and OSX?
Background: I use Delphi, FMX and FMXLinux to create a cross platform application on Windows, OSX and Linux and would like to embed and deploy Chromium together with TMS Webcore to offer a fat client and web access simultaneously without having to develop complicated forms twice (FMX and Web).
Michael
There is a version of DCEF maded by Salvador DF that can be compiled in Firemonkey at: https://github.com/salvadordf/CEF4Delphi.
It is a library for Delphi that i have tested on Windows 32&64Bit with good results.
I need to try it on fmxLinux using the binaries that you can find at: http://opensource.spotify.com/cefbuilds/index.html
But i think there is some work to do.

Delphi XE4: target linux desktop? (gui application)

I am embarking on a cross platform app, but not mobile. It will be win/osx/linux. Would love to use Delphi + firemonkey, but it appears linux is not a possible target?
The GUI will not be extensive. Most of the code is non visual.
What are my options here? (Do I end up using lazerous for the linux side.... and then I have to have a special UI there?)
Please let me know my options here, how to solve this cross platform dev project (and hopefully avoid c++).
Linux is not currently one of the supported operating systems, as can clearly be seen from the product description on the Embarcadero web site. If you need Linux/Unix support, XE4 and FireMonkey aren't an option. (XE4 supports Win32, Win64, OSX, and iOS.)
There's support for Linux planned at some point in the future (after Android, which is currently being developed and slated for release later this year).

How can I get Microsoft Document Explorer, which is missing from my Delphi installation?

I installed my Delphi 2005 Personal but after running the IDE it gives me AV and some help bpl file error. I came to a conslusion that this occurs because somehow I don't have installed Microsoft Document Explorer.
Then my question is: where can I download Microsoft Document Explorer? I can't find any links myself. I think it comes with Visual Studio but I don't want to install it only to have a help system in Delphi.
Update
When installing Delphi I did a certain trick to not install .NET 1.0 stuff and I did wrong. There was the Microsoft Document Explorer in one of these packages. Just had to install the .NET SDK.
When installing Delphi I did a certain trick to not install .NET 1.0 stuff and I did wrong. There was the Microsoft Document Explorer in one of these packages. Just had to install the .NET SDK from Delphi installer.
Afaik it is part of MSDN, but that is an huge download:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20955
The Embarcadero FTP server might also be a smart location to check.
I found same problem when trying to install devExpress component for Delphi 2010. Problem was solved when reinstalling the help build.

Is there a web browser component for use in FireMonkey application?

For Delphi VCL there is TWebBrowser and some 3rd party components like TEmbeddedWebBrowser available for browsing a web.
Is there a similar web browser component but for Firemonkey framework in Delphi XE2 (ideally with Windows and Mac support) ?
You can use the ChromiumEmbedded package for Delphi. There's a TChromiumFMX component which is suited for FireMonkey applications. I've tested the demo project from the repository and it works fine for 32-bit Windows.
However I can't tell you if nor how to build and use it in Mac OS. The only thing I can tell you is that the ChromiumEmbedded for Delphi is distributed only with Windows binaries, the binaries for Mac OS you can download from here.
As far as I know (!), the situation is as follows:
CromiumEmbedded supports OSX (& Windows of course)
There is a Delphi ChromiumEmbedded
Delphi supports OSX through the FireMonkey framework
There is even a FireMonkey version of the Delphi ChromiumEmbedded
The Delphi/FireMonkey ChromiumEmbedded does not support OSX
If somebody knows better, that would be fantastic.

ASMX in Delphi Studio

I recently bought Bob's book Delphi XML, SOAP & Web Services
in page 85 of this book the (Delphi 2006 8used) comes with several New Item Categories such as
C# Projects
C++ Builder projects
Delphi for .NET Projects
something that you don't have in a fresh installation
I need this ASP.NET Web Service Application that is inside Delphi for .NET Projects, but I can't find how do we get this plugin(?) to install in Delphi so we get all this new projects categories.
Does any of you use this and can tell me what is the Plugin?
image from the book showing what we are after
alt text http://www.balexandre.com/temp/2009-08-31_1322_asmx_in_delphi.png
We tried Delphi prism but it is not that as Prism works in Visual Studio it self and not in Delphi Studio.
We also tried to send an email to Bob Swart but no answer from him :(
We thought and we own RAD Studio 2007 Professional, and that comes with that Delphi for .NET Projects but not the ASP.NET Web Services, so, we are thinking that it only be available for the Enterprise or Architect versions, but I can't find any information regarding where is this (bundle details and what's inside what) :(
Thanks
The Delphi.Net functionality was removed after Delphi 2007, so I am not sure why you do not see the project type. But as Delphi.Net is a pretty dead technology it would probably make sense to look for an alternative for .Net development like Delphi Prism or C#.
Actually, since Delphi 2007, the functionality has been split into three different product, plus a fourth studio product. There's Delphi for WIN32 which includes C++ and Delphi for .NET which includes C# and ASP.NET. And then there's the Developers Studio which combines these development systems into one product. There are also products called Turbo Delphi, Turbo C++, Turbo C# and Turbo Delphi for .NET.
To be honest, Borland/Codegear/Embarcadero is trying to find the most popular combinations of these products making it very unclear for developers to choose the right version. Now we have Delphi Prism for .NET which integrates in Visual Studio, plus Delphi and Delphi for .NET or whatever. Anyway, I stopped upgrading Delphi since I bought Developer Studio 2007 simply because they're making a big mess of their marketing strategy.
Plus, they're becoming too expensive. For .NET development, Visual Studio will provide plenty of options already, especially when designing web applications. I will upgrade once the price becomes reasonable again and their marketing strategy becomes more normalized. I fear it will be a cold day in Hell when that happens.
You're probably using just the WIN32 version, not the Studio version which would combine both. Or you just installed the WIN32 and not the .NET part! Or, with Delphi 2007, you just start the WIN32 identity, not the whole Studio identity. (Delphi will install multiple icons, one for Delphi/WIN32, one for C++, one for C#/.NET and one for the complete studio.)
Just adding that I myself use the RAD Developer Studio 2007 and it does contain the ASP.NET Web Services. Just make sure you've included them during installation!
Got it.... (finally)
The best way to integrate Delphi code in a .NET output (in my case ASP.NET Web Services) is to download Delphi Prism (free trial version for evaluation) and use it.
File > New Website > ASP.NET Web Service > Language: Oxygene > Choose the required Framework
alt text http://www.balexandre.com/temp/2009-09-01_0857.png
This will create a normal ASMX Web Service with the .pas file as the Code Behind :)
Exactly what I'm after!

Resources