Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - habadeer

Pages: [1]
1
Figured it out.  Thanks to Groda for pointing out the Raspberry Pi thread.  There is a package that allows compiling of VB code under MonoDevelop on Linux.  It is the mono-vbnc package.  Once I installed this the IDE recognized the VB code and I was able to compile.  Of course there were many errors due to references to things that do not translate into Linux, such as most of the Controls components, but once these were fixed, everything compiled and executed directly under Linux.  This is actually even better since now I do not need to go to Windows at all.

WOOHOO!!!

Thanks, guys.

2
dmroeder, thanks for the reply.  I will try repeating your steps.  Just making sure of the steps you followed...., you did bring the project into Mono on a Linux machine and do the compiling there, correct?  I know I can RUN an exe using Mono on a Linux machine, my problem is I am trying to COMPILE and run the project.  Whenever I build the project the bin folders only ever contain the MFG dlls and nothing more.  I could still be doing this completely wrong.  Just trying to figure out what step I am missing.  Any help is appreciated.

I am using GTK for my HMI, so I am assuming I cannot build a GTK application on Windows.  Also, I would prefer not to have to build it in Windows.  :)

Godra, thanks for the reply.  I have looked at the Raspberry Pi posting.  Again, here the problem is Mono was used strictly to run the exe and not to build the project.

3
Support Questions / MonoDevelop Getting Cannot Separate Components 399x
« on: October 16, 2017, 08:16:56 PM »
I have been building the assemblies in Windows VS and then bringing them over into Linux, adding my project to the AdvancedHMI solution in MonoDevelop and explicitly referencing the pre-built assemblies, but now with 399x I am getting an exception that states you cannot separate the components.  Since I cannot get the components to natively compile under Mono I am not sure I am ever going to be able to satisfy this new requirement even though I wasn't separating the components.  If anyone knows a way of doing this under MonoDevelop please let me know.

Unless I can figure out how to get around this exception, I may have hit a brick wall with this new version. :(

Any help is appreciated.

4
So I must have something screwed up, but moving on from that, I have discovered a bigger problem.  I'll post separately if I cannot find a solution.

Thanks!

5
I am getting an "Offset plus number of elements extends beyond ..." when trying to read a single element from an array of boolean using the CLX read method. Oddly I wasn't getting this error using the 398t version.  This has only recently popped up in the 399x version.

The original call looked like this:
newVal = CLX.Read ("BOOLARR[0]");

I tried explicitly specifying the number of elements like this and got the same result:
newVal = CLX.Read ("BOOLARR[0]", 1)[0];

Any help is appreciated.

Update: Status Code = 255 (Not sure if that helps.)

Pages: [1]