I have currently implemented the use of XML parsing functions within
VS2005 using the directive #import, but im wanting to use
this in Borland Builder 6. My problem is i know that i cannot use
this #import directive to link to the DLL and use these XML
functions. After much research i used -Project Create Type Library
form the menus bar, to try and create a static lib of the msxml3.dll,
the development environment told me that the TXMLDocument component
had already been implemented with the XML funtionality. After
several
days i could not find any information on how to use this component,
and i could not create an instance of the XMLDOM document. I really
didnt want to use the component either as i have already created my
XML specific classes. I thought i would still try though.
I have also used the TLIBIMP.exe to get a static lib of my DLL, which
has returned me a .cpp, a .h and a .TLB file. I also used the
TLIB.exe on the msxml3.dll and got a msxml3.lib, i have placed this
lib with all the other .lib files within the borland .lib directory,
and i have #include "msxml3_tlb.h" to my project. I can get the
intellisense of the msxml3.dll functions that i want to use, but i
get
an error saying that there is no reference to the funtion.
I really need to use this XML capability within my project, and i
would really appreciate if anyone could help me with this. I hope
this post is informative enough for you.
Many thanks Ryan.
VC's #import is a way for C++ code to access a COM object. Behind the scene
the compiler imports the DLL (by reading the typelibrary embedded in the
DLL), generates some header files(*) and include them in your C++ source.
You are *not* linking in the MSXML DLL. IOW, you application still relies on
MSXML being present at runtime. You are using a binding to the objects
exposed by MSXML.The equivalent is to use TLIBIMP to generate some bindings from MSXML and
include the headers generated by TLIBIMP in your source code.NOTE: If you use the TXMLDocument component, that's exactly what the
component does behind the scene. It's a wrapper around MSXML. Unless you'd
rather not use any VCL component, TXMLDocument can be used as a wrapper to
MSXML.Does that make sense? Please let me know if I can provide more information.Cheers,Bruneau.PS: #import generates .tlh and .tli files from the typelibraries. You can
find these files in the build directory. Like the files generated by
TLIBIMP, they are simply bindings to types and interfaces declared in the
imported typelibrary. Unfortunately, TLIBIMP and #import don't use similar
naming conventions... so code that worked with #import bindings needs to be
adjusted/tweaked to work with TLIBIMP bindings... but the tweaks are minor
and once one see the pattern, it's easy to convert. They are things like
'Get/Put' vs. 'Get/Set'.
> I have copied all 4 of these files to my project source directory
> and i have #include "MSXML2_TLB.h" then i have added
> MSXML2_OCX.cpp to the project files, but ive read that i have
> to add a MSXML2_TLB.cpp to my project but i dont have this
> file??? how do i aquire this file?
No. Everything is implemented inlined inside of the .h file directly.
In older versions of BCB, the only thing the .cpp ever held was the
definitions of GUIDs that were declared as 'extern' in the .h file.
The .cpp held nothing else. In newer versions, the GUIDs are inlined
as well, so the .cpp is redundant now.
Many thanks for your swift reply! really appreciate it.
Thanks for the information above that has now worked, you was right
about all the GUIDs being inline int the MSXML3_TLB.h header file, It
just threw me looking around for .cpp after reading some other posts.
Once i had added the WideString( ) functions to my m_pObjDomDocument-
>createProcessingInstruction(), this then worked. My only problem
that then arose is that i had to upgrade to a newer version of the
UTILCLS.h file. My biggest problem here is that im unable to install
this as im using Borland builder 6 over my university network. This
is really frustrating, as ive produced a XML class for one of my
visual studio 2005 projects, and need this for my project that is
being created in borland, I wanted to use an XML class as i will have
many instances of open XML files, and also creating new ones possible
simultaneously, so i wasnt so keen on using a component. I think
that im going to have to use the TXMLDocument component and have
another look at how to get that working. I was a little confused at
how to create the the Preprocessing Instruction and the first node of
the tree using this component, or to create it without the component
just using the IXMLDocument? Would anyone be able to help.Again thanks for the replies, i think your great.Ryan
> I think that im going to have to use the TXMLDocument
> component and have another look at how to get that working.
> I was a little confused at how to create the the Preprocessing
> Instruction and the first node of the tree using this component
You don't create the preprocessing instruction yourself. That is
generated automatically for you. TXMLDocument has Version and
Encoding properties that you can use to manipulate those values
individually as needed. As for creating the root node, simply call
TXMLDocument's CreateElement() method, and then assign the resulting
IXMLNode to the TXMLDocument's DocumentElement property.
The wizard hangs indefinitely when the path to the installer contains spaces and there's a " - " in the path to the installer, e.g. with a path like this: "/media/ubuntu/Disk Name/Backups - installers/Office_HB_2010_Polish_x32.exe" due to the call to `file`. Also, this means that it may not correctly detect when a x64 executable is passed since it treats each arguments as a separate path while still exiting with code 0.
Oh, and my installation CD doesn't have some setup*.exe plus loads of files. On the CD there is just one file, called something like X17-*.exe. I tried to install MS-Access with the procedures given on -installiere-ich-ms-office-2016-unter-playonlinux. (They use Wine 3.4, Windows 7 and the 32kb-version.) The installation went through, but the program would not start because of one fatal error or another. The cause was not clear.
I installed mysql-connector-odbc-3.51.30-win32.msi and am able to reliably connect Access to a MySQL or MariaDB database which I'm chuffed about. If the two libruaries above could be included in the Play On Linux then Access becomes a lot more viable.
Bonjour, je viens d'installer Microsoft Office 2010 standard. L'installation se passe bien, mais je ne peux activer le produit. Lorsque je cherche le faire, je reois le message "Le programme setup.exe a rencontr un grave probleme et doit fermer".
During the installation, POL showed "Error ! Files mismatch" for msxml6_x86.msi. I continued regardless and ended with 32-bit version of Word and Excel. Both are not able to save files, with Word showing a message that MSXML 6.0 need to be properly installed while Excel says "may be able to save by removing or repairing some features".
hello, it worked perfectly. but i have a doubt there is a way to be able to install all the installer requirements offline, what happens is that i live in venezuela and the internet does not work well, and i can last up to 6 hours installing it. and i am installing it on several pc.
Just wanted to inform that corefonts are not getting installed therefore not letting the installer complete. The installation of corefonts gets stuck on Downloading: andale32.exe... and just sits there. I have tried to cancel the installation at that point, install corefonts with winetricks pointing at the wineprefix (which appeared to work), but still - installer would get stuck at the same point.
Buenas tardes, cuando se abre un documento de MW Word haciendo doble clic sobre l, MS Word se abre perfectamente, pero el uso de la CPU se dispara y se generan muchos procesos de wine. Cuando se cierra MS Word los procesos siguen abiertos y el uso de la CPU en un 100%.
Hello, I want to give feedback that the installation of Office 2010 was not working. Obviously the wine directory is not found due to the double slash in the directory paths (see logfile below). Is there a workaround?
Only after I had accessed, for Office 2010, the Tab "Wine" and "Configure Wine" (or German: Wine Konfigurieren), and then added "'riched20' (Native, Builtin)" in the Tab "Libraries"? (German: Bibliotheken) did it work, and I had to run through the installation process again. PlayOnLinux downloaded further software (something to do with .NET???, I think), and then everything was fine.
I'm stuck at the point where PlayOnLinux wants to install Microsoft fonts. It says "Please read and accept the following:" but there is just a blank space below and nothing to click. Cannot proceed installation.
I installed MS Office 2010 (Word, Powerpoint, Excel) on Linux Mint 18.3 Cinnamon 64-bit. The Apps work perfect, only if I try to open any office file with right klick "open with", office does not start and wine crashes with a message it has to refresh something. I think it is because the "open with" funktion uses the comands of the menu entries. They look like this: "/usr/share/playonlinux/playonlinux --run "Microsoft Powerpoint 2010" %F"
I only have an Office EXE file instead of an Installation CD/DVD, or ISO file, and I think that's the source of evil. Doing the installation with the file itself doesn't work because the setup.exe file is being needed for that. But the extracted files also don't work. At first, during the Installation process, the error message about a non-usable config.xml file appeared, then later on, the core EXE files (Winword, Excel etc.) have not been found by the installer. (Because not in the EXE's main folder?! They're hidden in the archive SIWW.cab, or elsewhere.)
b37509886e