Carbon Bundle issue

Following the instructions from the docs located here:
http://unity3d.com/Documentation/Manual/Plugins.html

My carbon bundle object is not found.

Here is my script:

using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;

public class LinkSyncSCR : MonoBehaviour {
	 
   [DllImport ("LinkBan")]
   private static extern float FooPluginFunction ();
	
	void Start () {
		 print (FooPluginFunction ());
	}
	
	void Update () {
	}
}

Are there another set of instructions I need to read that give information about C++ plugins?

39386--1461--$picture_1_116.png

Flipside to this, is that I created a C# DLL (yup a DLL FILE), placed it in the plugins folder (Both the C++ DLL and the C# DLL are managed code base, but it only recognizes C# Managed DLL files but doesn’t recogonize C++ Managed DLL’s, thus trying to get Carbon Bundles to work and not succeeding)

Here is my screen when I used a compiled C# Managed DLL placed in my Plugins folder.

I really need to know how to get Carbon Bundles to work.
Trying some other routes at the moment to get hooks into those C++ DLL’s that I need.

Have you tried if the example project on the docs page works for you?

Maybe just start by taking that example project and expanding it. Otherwise it’s impossible for me to see what you are doing wrong, C++ and xCode has plenty of opportunity to shoot yourself in the foot.

If you are talking about the MIDI project, no I haven’t tried it because I don’t have a MIDI keyboard or interface for it. Possible future request would be a simple xCode project that is just a basic send and receive text method. I’ll try playing with the MIDI example tonight to see if I can figure out what my problem is.