Can C# dll's be integrated with a LabWindows project?

Hi,
I've integrated C++ dlls into LabWindows projects before, but recently I've been given a C# project that I would like to use instead of deconstructing the source and reconstructing it in C++.
Is there any way of doing this and if so what are the differences between C++ and C# integration? Or am I looking at a minimum of a C++ wrapper?
Solved!
Go to Solution.

Okay, have made progress but I have a question regarding object destruction.
When I create a link to the C# dll I get a .fp, .c, and .h file which I naturally build into my project
At the top of the .h file are listed the following:
// Global Functions
int CVIFUNC Initialize_TB_USB_Comms(void);
int CVIFUNC Close_TB_USB_Comms(void);
// Type: DipoleRxUSB.USBInterfaceExternal
int CVIFUNC DipoleRxUSB_USBInterfaceExternal__Create(
 DipoleRxUSB_USBInterfaceExternal * __instance,
 CDotNetHandle * __exception);
I note that there is no Destructor type call to compliment the Create
In the required functionality I call the Initialise_TB_USB routine, then the Create routine - followed by all the other stuff I need to do, and finally the Close routine.
However I know from experiment that this doesnt destroy the object created by the Create routine, as if I come in again I can still access the previously created objects functions.
So how do I go about destroying the instance of the dll I assume I've created. I have put a default constructor and destructor in the C#, but this doesnt seem to have had any effect.
What am I missing?

Similar Messages

  • How can Photoshop Album SE3 be integrated with Photoshop Elements 1.0?

    How can Photoshop Album SE3 be integrated with Photoshop Elements 1.0?
    I am quite happy with Elements 1, but now have my images catalogued in SE3, can I link directly between the two programs?
    Maybe this has been asked before but the user forum is a nightmare to negotiate.

    Theer is no easy way to link them - this is something the paid-for PSA 2 can do. However, you can do simple drag and drop - drag a thumb out of PSA SE into PSE and the image will open. If you save back to the same file, you'll need to update the thumbnail. If you do a Save As, you'll need to import the new version.
    > the user forum is a nightmare to negotiate
    Odd comment. In what way do you find it hard?

  • Can Exchange 2007 to be integrated with SharePoint 2013

    Can Exchange 2007 to be integrated with SharePoint 2013?

    In the sense of using Incoming and Outgoing email, absolutely. But not for other things, like Site Mailboxes, which require Exchange 2013.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How can SMART METER Technology be integrated with SAP ISU system?

    At present the SMART METER technology is integrated with SAP ISU through a third party vendor. The idocs are sent to a third party and the readings are downloaded and sent back in idoc segments.
    How can the integration be done without the third party intervention.

    HI
    SAP XI   needs to be  used for 3rd party  intervention to  send and recive idocs..
    or there are some thrid party  softwareslike MDUS ,meter data utilisation  system.which  wil be again a interface between  sap and ami system
    so basically  its like  sap syst--sap xi3rd patry 4 ami  comapnyami system
    kr
    raj

  • How can i control my iPad 2 with a interactive projecter?

    we are buying a epson interactinve projecter, and i was wondering if i can control my ipad by just swiping on the projecter screen.
    i know you can control a normal computer by left & right-clicking on the screen, but can you control an iPad?
    BTW, yes the projecter is compatable with. the iPad.

    Assuming it works the same as an interactive whiteboard and Epson has not made an interactive whiteboard app (and I haven't heard of such a thing, I likely would have from a distributor source I have), all you can do is view the iPad through the projector. There is no way that I know of to control it from the projector. I would contact Epson or the source you're ordering the projector from to find out for sure - ask very specifically what you're looking for (i.e. more than being able to view the ipad through the projector).

  • How can I link 1 movie file with several logic projects?

    Hi all,
    I've been  working on the music for a film with a colleague of mine and are sharing logic files via dropbox. 72 cues had to be altered for logisitical reason to work in someone else's studio for the final mix. Since I had a copy of the movie on my machine and my colleague had a copy on his we thought that if we put our movie into the root directory of our logic project's folder then the movie would automatically load up with the projects after we shared them via dropbox. We checked to make sure that both movies had the same filename. Unfortunately this did not work and we had to then reassociate 72 cues individually with each logic project. With such limited time to prepare the cues for the final mix this really took too much time.
    Is there any way in logic (9.1.8) to associate 1 movie file with a number of logic projects quickly, without having to open up the project and select open movie?
    kind regards
    /mischa

    Seems to me that if you both had the movie file in the same location on both of your drives (eg on Macintosh HD at root level, in no other folder) then all the project files would search for this common path and find the file.
    The problem arises when there is even a small difference between path names.
    Unfortunately, this won't help you at this point as all the project files already are associated with unique file paths for the movie. By now, you've probably already done it one by one - but maybe for next time....?
    There's no bulk or quick way to do this.

  • Can GRC AC 10 be integrated with BOBJ ?? Is Plugin available for BOBJ

    Hello Gurus,
    We are currently implementing GRC AC 10 for ERP and EP , we have found the plugins for both .
    The client requirement is also to implement it in their BOBJ system .
    We tried to search the plugin in the marketplace but could not find one.
    Does anyone knoe if it is possible to integrate GRC AC 10 with BOBJ ???
    If yes , is there any config document or any info link , please let me know.
    Thank You.
    Regards,
    Victor

    Hello Simon,
    Thank You for your reply !!
    But can you please provide me little more information .. e.g) we want that using the functionality of CUP (compliant user provisioning) , using various forms the end-user should be able to get access in the BO system.
    Is that possible ??
    If the plugin has to be custom developed by the "vendor" you specified" , how do we contact them ??
    or do we have to raise this issue with SAP ??
    Humbly requesting you to guide .
    Thank You.
    Regards,
    Victor

  • Can any other web components integrated with Oracle Portal

    Can we include any third party web component (Shockwave, Flash) into the web page created by Oracle Portal?

    Received this help from Oracle, Rhoderick Butial :
    Flash images could be included using html portlets into the a content area.
    1. Into the content area choose the link "Edit Properties"
    2. Click in the tab "page" and choose the edit button.
    3. Add the HTML portlet.
    4. In the html portlet, click on 'Edit Defaults" link, and the code:
    <H1>Test </H1>
    <EMBED SRC="/image.swf" swLiveConnect=FALSE WIDTH=600 HEIGHT=250
    LOOP=false QUALITY=high BGCOLOR=#000000 TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?
    P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    <H1> End</H1>
    null

  • Integration with Third Party Project Management Software

    My company is looking for software that can be "bolted on" to Oracle Projects to provide more robust project managment functionality. We already know of two (Microsoft Project and Primavera), but we'd like to hear from other companies who may have implemented other solutions.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by James O'Brien ([email protected]):
    My company is looking for software that can be "bolted on" to Oracle Projects to provide more robust project managment functionality. We already know of two (Microsoft Project and Primavera), but we'd like to hear from other companies who may have implemented other solutions. <HR></BLOCKQUOTE>
    James:
    I've been involved on 2 projects that included integration into Projects. On both occasions Oracle's Activity Management Gateway (AMG) was used. AMG is the open interface for Projects. We used it on one occasion with Primavera Expedition to load budgets and the WBS and on another with MS Excel to upload budget information. ODBC and AMG was used on the MS Excel project.
    Regards,
    Robert
    null

  • Can iDVD 09 open and work with an iDVD project i made in 06?

    I am bringing over my iMovie 06 and iDVD projects over to new mac with iDVD 09. I took out iMovie 09 and resinstalled 06HD. The iMovie 06 files now open ok, but not the iDVD 06 projects, when I try to open them with iDVD 09. Should I remove iDVD 09 and install iDVD 06.
    I heard that iMovie 06 files will import ok into iDVD 09, but now assuming that the iDVD 06 projects themselves will not open in the newer program.

    i uninstalled iDVD 09 and installed iDVD 06 to see if I could open the G4's old iDVD projects.
    Error message says iDVD 06 will not work with this OS. What gives? Apparently iMovie HD06 will work, as far as I can tell, with just a few tests.
    What CAN I DO HERE to bring over my iDVD 06 projects so I can work them on Snow Leopard?
    Luckily the dvd projects are not many and not complex. But there are so many issues with all of this. I might as well have a computer that knows only Chinese characters. I got the new mac so my video work wouldnt clog up on the old G4. But this is beyond clog. This is cement, stuck at the starting gate.

  • HRMS Integration with third party Project Management Tool

    Hi All,
    We have plans of procurring a third party Project Management Tool which needs to be integrated to existing Oracle Financials. Project Management Tool needs employee information for its functioning.
    a)Is there any API available for this purpose which exposes HR data to any third party tool?
    b)Can anyone suggest what should be the approach for such integration?
    Thanks in advance
    Regards,
    SA

    What 3rd party tool are you going to be using? You might get lucky and it might be something that Oracle has bought recently. Does this post mean you are using Oracle Projects? If so, you may want to post this question in that forum as well. At least you would limit the audience to projects oriented customers, so might get some better replies there than you will here. Food for thought.
    John Dickey

  • Can Premiere Pro 5.5 work with Several AE projects on a Network?

    Hi All:
    First time posting. Long time Final Cut user looking to migrate.
    We have 3 licenses of Production Premium, on a shared network of Fiber.
    We would love to have one Premiere project open and send shots to different after effects projects so we can have 3 people working on comps at the same time and then send those back to Premier. Is this even possible?
    This would be an incredible workflow for us.
    So far we have had no luck, Premiere sees all our different After Effects projects as the same one.
    Thanks in advance for the response.
    Alex Neuman

    From what I have read (and saved a few links) PPro does not work on a network
    Win Server is NOT supported http://forums.adobe.com/thread/851602?tstart=0
    Not in a Network environment http://forums.adobe.com/thread/771151?tstart=0
    -and not on a "domain" http://forums.adobe.com/thread/858977?tstart=0
    The best you can do is keep your "master" copy on the network server... use check out/in software to manage who does what... copy the project to the local hard drive and do the work... then copy back and check in on the server

  • Sms integration with sap b1

    HI to all,
        can it possible if sms integration with sap business one. means if i create a/r invoice if i add the document automaticlly send sms to the customer  in that sms following matter to be send
    invoice number,posting date,due date,invoice amount.can it possible .if yes then what is requirement for that.pls reply i will waiting for your reply...
    Regards,
    vishal.

    hi
    1.Create  class library in Visual Studio 2005 C# Express Edition create assembley  SQLCore
    Write code:
    using System;
    using System.IO;
    using System.Text;
    using System.Net;
    namespace SQLCore
        public static class SMS
            public static void PlusSend(string Sender, string Recipient, string Message)
                string Destination = "http://www.text.plusgsm.pl/sms/sendsms.php";
                string Data = "?tprefix=" + Recipient.Substring(0, 3) + "&numer=" + Recipient + "&odkogo=" + Sender + "&termin=0&tekst=" + Message + "&godz=00&min=00";
                SMS.PostStringToURI(Destination, Data);
            private static void PostStringToURI(string URI, string String)
                byte[] Bytes = Encoding.UTF8.GetBytes(String);
                HttpWebRequest Request = (HttpWebRequest)WebRequest.Create(URI);
                Request.Method = "POST";
                Request.ContentLength = Bytes.Length;
                Request.ContentType = "application/x-www-form-urlencoded";
                Stream RequestStream = Request.GetRequestStream();
                RequestStream.Write(Bytes, 0, Bytes.Length);
                HttpWebResponse Response = (HttpWebResponse)Request.GetResponse();
                if (Response.StatusCode != HttpStatusCode.OK)
                    string Message = String.Format(
                    "POST failed. Response staus {0}.",
                    Response.StatusCode);
                    throw new ApplicationException(Message);
    for your localization you have to find your own sms gateway.
    2.Compile project .
    3.Copy dll to C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn
    4. Set SETTRUSTWORTHY on true using
    ALTER DATABASE databasename SETTRUSTWORTHYON;
    go;
    [more info about SETTRUSTWORTHY|http://msdn2.microsoft.com/en-us/library/ms187861.aspx ]
    5.Create Assembly for your dll.
    CREATE ASSEMBLY SQLCore
    FROM 'C:\Program Files\Microsoft SQLServer\MSSQL.1\MSSQL\Binn\SQLCore.dll'
    WITH PERMISSION_SET = EXTERNAL_ACCESS
    6. Create Procedure
    CREATE PROCEDURE dbo.[PlusSend](@Sender nvarchar(max), @Recipient nvarchar(max), Message nvarchar(max))
    AS EXTERNAL NAME SQLCore.[SQLCore.SMS].PlusSend
    go;
    7 .Fially execute using
    EXECUTE dbo.[PlusSend]('SENDER'','PHONE NUMBER','Message')
    Insert it in transaction notification.
    Hope it helps.

  • SMS gateway integration with UCCX 7.0

    I have a question, can we perform SMS gateway integration with Cisco Unified Contact Center Express 7.0 premuim license?

    Just to enhance Somar's response a bit: The CCX Premium licnese activates an SMTP subsystem in CCX. This allows you to send emails from within a script. As long as the SMS gateway can accept SMTP you should be able to make it work.

  • Hp 35s integrating with complex numbers/functions

    Are there any examples of how to integrate a complex function for
    the HP 35s..the manual suggests its possible..but, I can not find one
    example...anywhere... I am just interested in testing.....I do
    not want to break things into parts etc...I just want to try
    e^z for example, where z is complex..any help?
    I have tried xiy, rTheta, x+iy...syntax errors or non existent..funny

    Hi,
    The manual states that complex numbers can be used with EXP(x), but it does not mention anything about using complex numbers for integration. Edit: I missed some text in the manual, see below.
    As far as I can tell it cannot do integration with complex numbers. (The 50g can do this.)
    However, you may get a more definitive answer if you ask your question here:
    http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi
    EDIT: that forum has moved to a new version:
    http://www.hpmuseum.org/forum/forum-4.html
    Note: I do not work for HP, I just like playing with calculators :-)

Maybe you are looking for

  • Delete records from multiple table

    Hi, I need to delete records from multiple tables using a single delete statement. Is it possible ? If so please let me know the procedure. Kindly Help. Thanks, Alexander.

  • AR Customer Open Balance / Accumulative Balance

    Hi  gurus, Can anybody provide me the BAPI / IDOC to send AR Customer Open balances .Here I have to post KUNNR(Customer number),BUKRS(Company Code) & FDBL_DE_BAL_*** (Data Element) i.e., Cumulative Balance amount. to some other system. I googled but

  • Ecsallation of Complaint - Assign to next Partner function

    Hi, I want to escalate the complaint to the concern person if it is not taken over by the responsible person within time limit. I just have 5 statuses and if transaction exist in the particular status more than the specified time limit it should get

  • Retriving single field from two tables which are unrelated

    Hi experts..        i would like to retrieve a field say X from two database tables TAB1 and TAB2 which are unrelated . Can you give me a way to retrive the field X from TAB1 and TAB2 in a single select statement on perticular condition. Reward point

  • [svn:fx-trunk] 10503: Prepping to update textLayout sources with a more recent build.

    Revision: 10503 Author:   [email protected] Date:     2009-09-22 09:18:51 -0700 (Tue, 22 Sep 2009) Log Message: Prepping to update textLayout sources with a more recent build.  TLFTextField is no longer in textLayout since we now own it.  It is being