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
Can't compile OleWebBrowser
Can't compile OleWebBrowser
- Attachments
-
- Errors.png (286.63 KiB) Viewed 920 times
-
- Application.png (31.63 KiB) Viewed 920 times
-
- props.png (4.77 KiB) Viewed 920 times
Can't compile OleWebBrowser
Hi Frank,
please try to reindex your repo, following by a complete rebuild of the entre project.
Wolfgang
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
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
-
- Posts: 774
- Joined: Wed May 17, 2017 8:50 am
- Location: Germany
Can't compile OleWebBrowser
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
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
Can't compile OleWebBrowser
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
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
Can't compile OleWebBrowser
Hello everyone,
I've tried the external reindex.
After that i also did "Touch" the project.
Unfortunately the result is still the same.
Frank
I've tried the external reindex.
After that i also did "Touch" the project.
Unfortunately the result is still the same.
Frank
Can't compile OleWebBrowser
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
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
The Netherlands
robert@xsharp.eu
Can't compile OleWebBrowser
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
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
Can't compile OleWebBrowser
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
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
Can't compile OleWebBrowser
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
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
Can't compile OleWebBrowser
Hello Jamal,
No, it was a copied & working (on the source Pc) repo from the same (latest) VO version.
Dick
No, it was a copied & working (on the source Pc) repo from the same (latest) VO version.
Dick