Can't compile OleWebBrowser

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
FdeRaadt
Posts: 31
Joined: Wed Sep 01, 2021 12:49 pm
Location: Netherlands

Can't compile OleWebBrowser

Post by FdeRaadt »

Good afternoon guys,

I'm trying to export some Libraries from an old project to a newer one.
I've done this by making AEF's of the Libraries i wish to export.
When i loaded up the new project i used the File > Import function to import all the Libraries from the AEF's.

When i run the compiler at the new project/library/module it results in 65 out of 66 dead entities.
This is very weird because i've done the same proces in a barebones project which didnt give me any errors.

The Module in question only uses base libraries such as OLE, GUI CLASSES and SYSTEM CLASSES.
These base libraries have been included by properties but still result in 65/66 dead entities.

I shall include some screenshots for addional context.

Has this happened to anyone before?
I'm probadly missing something very simple but i can't figure it out at the moment.

With Kind Regards

Frank
Attachments
Errors.png
Errors.png (286.63 KiB) Viewed 862 times
Application.png
Application.png (31.63 KiB) Viewed 862 times
props.png
props.png (4.77 KiB) Viewed 862 times
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Can't compile OleWebBrowser

Post by wriedmann »

Hi Frank,
please try to reindex your repo, following by a complete rebuild of the entre project.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

Can't compile OleWebBrowser

Post by Karl-Heinz »

Hi Frank,

i suggest to do a *external* reindex.

- close VO
- Doubleclick in the cavo bin folder the file "reindex.exe".
- now reindex the "Kleijn202103" project.

If there are still problems to build the "__OleWebBrowser" app. Select the app, do a right click and select "Touch"

regards
Karl-Heinz
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Can't compile OleWebBrowser

Post by ic2 »

Hello Wolfgang, Karl-Heinz,

We tried reindexing and touching. We've deleted the mef's and reimported it, same result (while the same AEF imports & compiles without problems in any other repo). And every other AEF (which does not include this OleWebBrowser) compiles fine in the same repo.

I've never seen this before but what we didn't try is an external reindex. We'll do that Monday.

Dick
FdeRaadt
Posts: 31
Joined: Wed Sep 01, 2021 12:49 pm
Location: Netherlands

Can't compile OleWebBrowser

Post by FdeRaadt »

Hello everyone,

I've tried the external reindex.
After that i also did "Touch" the project.

Unfortunately the result is still the same.

Frank
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Can't compile OleWebBrowser

Post by robert »

Frank,
Can you ZIP the repo folder and mail it to me ?
Your image shows that you're using VO 2.8 SP4. Do your other projects also use 2.8 SP4 ?

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
FdeRaadt
Posts: 31
Joined: Wed Sep 01, 2021 12:49 pm
Location: Netherlands

Can't compile OleWebBrowser

Post by FdeRaadt »

Hello Everyone,

What i've tried which seems to work are following steps.

[*]
[*]Export all AEF's from the Repo with the problem.
[*]Create a new project
[*]Import all AEF's with the File/Import (recommended to skip readme's to save yourself some unnecessary clicks)
[*]Go to Tools/More VO Productivity pack, system builder, Ok

for some reason my 65 out of 66 dead entities are gone.
I have no clue what caused the issue or why this fix works.
All i know is that the problem magicly disappeared and I can continue with my life

Frank
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Can't compile OleWebBrowser

Post by ic2 »

Hello Robert,

What we often do is copy a whole project directory. Frank copied the last directory from the "life" project for reference as he his working on the X# conversion and documents the changes which must be made in the life VO project first before a 'real' conversion will be done.

We've exchanged this other repo's for years without issues but I suspect that there has been some issue in this specific repo (which is not copied often); an issue which didn't manifest until copied now, although you would expect it to work the same.

I think you should not spend your time in finding out "why" as the rebuild strategy worked. I was just wondering if there would be some other cause or setting for the OleWebBrowser failing to compile, apparently it should have worked...

Dick
Jamal
Posts: 315
Joined: Mon Jul 03, 2017 7:02 pm

Can't compile OleWebBrowser

Post by Jamal »

Frank,

Was the library created using an older of version of VO?

May be the OLE classes are incompatible since VO 2.8.x generates and uses new classes with different names and the compiler thus cannot find them.

Could you provide one of the existing generated methods to verify if that's the case?

Jamal
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

Can't compile OleWebBrowser

Post by ic2 »

Hello Jamal,

No, it was a copied & working (on the source Pc) repo from the same (latest) VO version.

Dick
Post Reply