Search found 44 matches

by RolWil
Tue Sep 12, 2023 9:47 pm
Forum: Product
Topic: Q re variable scope
Replies: 5
Views: 195

Re: Q re variable scope

thanks for the quick help folks!

Tested with PUBLIC GLOBAL and all is good.

Cheers
Roland
by RolWil
Mon Sep 11, 2023 11:35 pm
Forum: Product
Topic: Q re variable scope
Replies: 5
Views: 195

Re: Q re variable scope

I just thought of something: s a class using get() set() methods the best option?
by RolWil
Mon Sep 11, 2023 9:44 pm
Forum: Product
Topic: Q re variable scope
Replies: 5
Views: 195

Q re variable scope

Hello everyone, I have a question re variable scope. The system I’m converting was written in the Harbour/Clipper dialect and that's what I'm using in the X# conversion. I have over 100 variables declared as ‘PUBLIC’ in the top (controlling) module (let’s call it ‘TOP.PRG’). These are all ‘set’ at t...
by RolWil
Mon Sep 11, 2023 11:06 am
Forum: Product
Topic: Error MSB3041: Unable to create a manifest resource name ...
Replies: 7
Views: 215

Re: Error MSB3041: Unable to create a manifest resource name ...

Robert, I just tried to duplicate this error with a new project and it does not occur - so what I sent you doesn't help you much. I'll start stripping out code from the original problem code until the error no longer occurs - to determine what causes it or, I can send you the entre project if I am u...
by RolWil
Sun Sep 10, 2023 12:56 am
Forum: Product
Topic: Error MSB3041: Unable to create a manifest resource name ...
Replies: 7
Views: 215

Re: Error MSB3041: Unable to create a manifest resource name ...

Hi Robert, here's a little more of the non-working code. If the "/*" is on line #1, the code does not work. However, if line #1 is a blank line, the code compiles and runs no problem. /* Change History: Feb 09, 2010 V 2.0: Numerous changes for Pay Mod */ USING System USING System.Collectio...
by RolWil
Sat Sep 09, 2023 11:32 am
Forum: Product
Topic: Error MSB3041: Unable to create a manifest resource name ...
Replies: 7
Views: 215

Error MSB3041: Unable to create a manifest resource name ...

Hi all, Interesting issue. If I start the first line of my Form1.prg code with the comment statement “/*” I get the following error at compile time: “Error MSB3041: Unable to create a manifest resource name for "Form1.resx", Length cannot be less than zero.” Parameter name: length OSSPremi...
by RolWil
Mon Jul 03, 2023 12:24 pm
Forum: Product
Topic: Harbour Dialect project: issue with “RESTORE FROM” command and membvar.xh
Replies: 2
Views: 210

Harbour Dialect project: issue with “RESTORE FROM” command and membvar.xh

<r>Thank you Robert,<br/> <br/> I did try to  manually pull the include file (see above), BUT .... I did like so <B><s>[b]</s>#include memvar.xh<e>[/b]</e></B>, instead of like so:<B><s>[b]</s> #include "memvar.xh"<e>[/b]</e></B>  <E>:)</E>  Those pesky quotes!<br/> <br/> Cheers<br/> Roland<br/> <br...
by RolWil
Sun Jul 02, 2023 2:12 pm
Forum: Product
Topic: Harbour Dialect project: issue with “RESTORE FROM” command and membvar.xh
Replies: 2
Views: 210

Harbour Dialect project: issue with “RESTORE FROM” command and membvar.xh

<r>Hi all,<br/> <br/> my project dialect is Harbour; I’ve added the following references: <LIST><s>[list]</s> <LI><s>[*]</s>XSharp.Core</LI> <LI><s>[*]</s>XSharp.RT</LI> <e>[/list]</e></LIST> I’ve checked: <LIST><s>[list]</s> <LI><s>[*]</s>Enable MEMVAR support</LI> <LI><s>[*]</s>Enable undeclared v...
by RolWil
Wed Jun 21, 2023 3:17 pm
Forum: Product
Topic: Harbour dialect error XS1510 A REF or OUT value must be an assignable variable
Replies: 2
Views: 316

Harbour dialect error XS1510 A REF or OUT value must be an assignable variable

Thanks Robert, that was indeed the problem!

I must say, I am grateful that you folks have developed XSharp and continue to do so and support it so well. Many thanks,

Cheers
Roland