xsharp.eu • XPorted program does not start - Page 2
Page 2 of 2

XPorted program does not start

Posted: Thu Feb 03, 2022 7:14 am
by FFF
Dick,
a shot in the dark: Looks like you target anycpu in your xsharp lib? Try changing that to x86.

XPorted program does not start

Posted: Thu Feb 03, 2022 7:33 am
by robert
Karl,
I think you are right.

Robert

XPorted program does not start

Posted: Thu Feb 03, 2022 8:45 am
by Chris
Hi Wolfgang,
wriedmann wrote: P.S. of course, when migrating the application to X#, the same COM module can be used directly as application dependency, using conditional compilation to keep the code portable between X# and VO
Thanks for the info! I realize what you say, but Dick said if I understood correctly that his app is a combination of c#/X# only, so no VO involved to use c#/X# by COM. Unless I have misunderstood of course.

XPorted program does not start

Posted: Thu Feb 03, 2022 9:51 am
by wriedmann
Hi Chris,
since the application is a ported VO application, the same rules apply.
IMHO there was a problem with the migration of the manifest.
But since the application now is a X# application, the DLL can be used directly instead of through COM - and it was this what I suggest to Dick to do.
But the beauty of the COM interface is that is the only (easy) possibility to transfer the bitness limit: you can access a 64 bit COM module from a 32 bit application, and a 32 bit COM module from a 64 bit application.
So the only possibilty to work with Outlook 64 bit from a 32 bit VO or X# application is through COM (MAPI is not available on Outlook 64 bit).
Wolfgang

XPorted program does not start

Posted: Thu Feb 03, 2022 10:13 am
by TerryB1
all output files are up-to-date with respect to the input files.

I wonder if that's true?

Terry

XPorted program does not start

Posted: Thu Feb 03, 2022 11:21 am
by ic2
Hello Wolfgang,
wriedmann wrote: IMHO there was a problem with the migration of the manifest.
But since the application now is a X# application, the DLL can be used directly instead of through COM - and it was this what I suggest to Dick to do.
You are exactly. right, as often, a working VO configuration to use the DLL wasn't XPorted such that it worked there too and since the error isn't visible until you think about looking in Windows logs, it took some time to find it.

Also your explanation how Side by Side works and how useful it can be but also how easy it gives you headaches is exactly how we experienced it.

For X# I hope I never have to use it again!

Dick