Previous topicNext topic

Probleme mit dem Module Development Kit

Questions, comments, feedback, etc.
Post Reply
klangchaos
Posts: 4
Joined: Sun Mar 20, 2016 3:26 pm

Probleme mit dem Module Development Kit

Post by klangchaos »

Hallo David hier,

ich bin sehr daran interessiert ein eigenes Modul zu programmieren.
Da ich nur Erfahrungen mit C# hab und erst seit kurzen VS 2015 benutzen bleib ich sehr weit am Anfang hängen.

Wäre super wenn ihr mir weiter helfen könntet.

Zur Zeit nutze ich Visual Studio 2015 mit .NetFramework 4.5.2 & auf 64Bit System
Ich kann ohne Probleme das Example Projekt in VS 2015 öffnen und clean/rebuild - keine Fehler.

Start ich nun das Programm kommt folgender Fehler

.... Example.dll kann nicht erstellt werden...
Der Vorgang wird nicht unterstützt. Unbekannter Fehler 0x800700c1

Wenn ich im Netz schaue, find ich Hinweise auf ein 32/64Bit Problem. Hab das aber auch getestet ohne Erfolg.


Vielen Dank David
blackdot
Posts: 528
Joined: Sun Jul 06, 2014 10:18 pm

Re: Probleme mit dem Module Development Kit

Post by blackdot »

Ich glaube die meisten hier sprechen kein Deutsch David.

I think the most people here dont speak German.

I offer my humble services as a translator:
klangchaos wrote:Hello David speaking,

i'm very interested in programming my own module

As i've only made experience with C# and just recently started using VS 2015, I'm stuck at the very beginning.

Would be great if you could help me.

I'm currently using Visual Studio 2015 with .NetFramework 4.5.2 & on 64Bit system

I can open and clean/rebuild the example Project in VS2015 without any problems or mistakes.

If I'm starting the program now, the following error appears:

.... Example.dll couldn't be created...
The process isn't supported. Unknown error 0x800700c1

If i research the problem on the web, i find clues to a 32/64 bit problem. but i tested this to no avail.

Many thanks David
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: Probleme mit dem Module Development Kit

Post by Magic »

Hi David, the problem might be that you are trying to use a 32-bit plugin in 64-bit Magic, which won't work. Make sure you set your Visual Studio configuration to match your Magic version in Help > About:
64-bit.png
64-bit.png (55.05 KiB) Viewed 3961 times
Here is a screenshot from Visual Studio (2010) where I've selected the x64 configuration for 64-bit:
x64.png
x64.png (8.47 KiB) Viewed 3961 times
klangchaos
Posts: 4
Joined: Sun Mar 20, 2016 3:26 pm

Re: Probleme mit dem Module Development Kit

Post by klangchaos »

Hi guys,
thanks for the translation and the possible solutions.

I've assumed that you can run the program but this is not so.

I have the project now clean and rebuild.
the dll generated can now be used in Magic.

So far so good.

I actually wanted to program a module, which allows you to read a Kinect. Without debugging I imagine the still very difficult.

Is there a workflow, how best to develop a module?

Thx for any help
David
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: Probleme mit dem Module Development Kit

Post by Magic »

Hi David, you can set up your Visual Studio project so it runs and debugs Magic automatically. In the Property Pages, go to Configuration Properties > Debugging, and specify the Command and Working Directory for Magic, like this:
Debug.png
Debug.png (29.72 KiB) Viewed 3932 times
Post Reply