egilbernt
Sweden
Asked
— Edited
I cannot get the EZB_Connect to work. When I drag the EZB_Connect into the form and then run the program it just get stuck. Visual C# 2010 Express just hangs, nothing comes up.
Hoping For answer.
- Egil
" Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. "
on the line
"this.ezB_Connect1 = new EZ_B.EZB_Connect();"
Interesting! I will give it a shot and take a look. I am in San Fran at Make Faire, so my time is limited. I'll post something soon as i have a minute to check for you
I won't have the time for a few more days to look. Can you change the .Net version for the project in VS Express? If so, select 3.5 instead and see if that helps.
Maybe I'll make a 3.5 and 4.0 DLL someday soon
The i getting build errors confused
Can you post your code? It looks like the dll is not added as a reference to the project.
What code is it you want to see? The only thing I have added to the form is the EZB_Connect
Ah okay. Try right clicking on the project folder (in the visual studio explorer window) and select "Add References". Use Browse and select the EZB.DLL file.
Did a fresh install of Visual C# express 2010 but still the same error confused Yes, I have added the EZB.DLL file And the only thing I have added in the windows form is the ezb_connect tool.
I get the same errors.
I once got the Omnibot examles in the SDK to run many releases ago but have had no luck for awhile now.
However the ARC platform is becoming a whole language of its own and requires some thinking about as it offers so much versatilaty
I can't imagine what the difference between our systems are. Have you tried setting the project to use .Net 3.5?
Yep tried that
confused
Yes I have set it to use 3.5 and then when it ask me to save the project it just hangs again.
EDIT: Wow, 39 secs after your post !
I haven't had a chance to try the last few builds - been focusing mostly on hardware. I'll update and fire it up tomorrow to see what happens for me...
Just downloaded and configured the latest SDK. Thus far I haven't experienced any errors loading the projects...
This is the process I use to get the SDK running on my systems:
(1) Add the following references to all projects: EZ-B.dll DirectX.dll DirectX.DirectInput.dll
(2) Select Clean Solution from the Build menu
(3) Select Rebuild Solution from the Build menu
Also, I have a fairly large number of development platforms, frameworks and SDKs installed on my systems for work-related projects and everything was working prior to adding the EZ-B goodies. I'm wondering if something is missing from the systems experiencing errors?
Note: I add the DirectX references to get rid of the unmanaged code debug warnings. SlimDX please?
I considered slimdx, but the performance is limited due to the abstraction layer for interop calls. I also would have to take a peak at their licensing for distribution.
Hi im new to Visual C#, and this EZ-B platform. Im stuck in trying to run any of the sample code. not sure what to look for?
I have visual studio C# 2010, on win7. Using "Test - Servo"
now what do i do to run this code?
I double-clicked /C#/Test - Servo/bin/Release/Test - Servo.vshost.exe and nothing happened. am i suppose to have ARC running in the background? i looked around "Form1.cs" "form1.Designer.cs" "program.cs" and i did not modify anything.
Hi there,
Try the next few things :
first open a project. make sure you have added the ezb.dll add the reverence -> ezb.dll for x64 you have to change the Active solution platform to X86 -> configuration manager in debug make sure u have disabled the loaderlock -> debug, exeptions -> managed debug assist.
That did it for me.
confused All Hi, Issues with running the C# example code, to specific the "servo-Test" program.
Thanks
what is the problem and where is the attachment ?
Please follow the instructions in the included readme.txt file in the sdk package.
I did to the letter before i wrote to you about the issue. Maybe you should read what i wrote?? anyway after repeating the entire procedure there was no change in the outcome. I will continue to debug the issue. thanks for your help. George
@garober, all you wrote was this:
If you can provide me more information, i'm certain i'll be able to help. My suggestion is to follow the README.TXT file. That will provide you with the necessary configuration steps to compile. From that point, anything in the SDK ZIP will compile
hi I am trying to learn C# and I got to run the tutorial or atleast no erros show but I can not see the code. Now in form I get to connect the EZ-B but still the buttons to do forward or reverse dont work and I can not see what ports I need to connect the servo.
Please could any one guie my to the next step.
coljc85
Hi Coljc85, I think this is what you are asking for, click this button and you should see the forms code:
My advice if you want to learn C# is to check out the online tutorial sections that you access from the visual studio IDE or just google it and microsoft has a ton of good beginner stuff.
I am new to C# and programming... When I am trying to open the project in EZ-SDK... I am getting the following problem...
I added the reference and still have the problem...
Please help me out...
Delete the EZ-B reference with the big yellow exclamation mark that says "this reference cannot be located"
Thanks a lot @DJ... It's working fine now...
:D