Problem instantiating COM+ object

Hi,
I'm trying to instantiate a com+ object using
<cfobject> and I'm getting:
An exception occurred when instantiating a Com object
The cause of this exception was that: AutomationException:
0x80070002
The com object is built in c# .net and implements the
iDispatch interface. We're running mx 7, and using the following
syntax to instantiate the object:
<cfobject type = "com" action = "create" class =
"COMService" name = "myCOMService" context = "local" />
Can anyone suggest any pointers?
Thanks,

Turns out it was a problem with the COM+ component. Googling
the specific error code 0x80070002 helped to uncover the
problem.

Similar Messages

  • Problem calling COM Object on Windows Server 2008 x64

    Hi,
    We are using 32 bits COM object called in Coldfusion page on 32 bits OS. It works fine since few years.
    Now we need to use it on x64 Windows Server 2008 and 64bits IIS.
    As I 've seen (http://www.coldfusionjedi.com/forums/messages.cfm?threadid=87869C67-B1 9B-288F-F32B6E8BAB3228CA ),a 64 bits process can only call 64 bits DLL.
    So we created a 64 bits Wrapper like this : http://www.dnjonline.com/article.aspx?id=jun07_access3264
    But  calling 64 bits COM Object still raises the same error (" The cause of  this exception was that: java.lang.RuntimeException: Can not use  native  code: Initialisation failed") whereas it works fine with a 64 bits  executable created in .NET for example.
    Is there a known issue about this subject?
    Sorry for english , I'm a french developper.
    Thanks in advance.

    Can somebody please share the solution for this issue?
    I am facing similar issue with Windows 2012 R2 x64 OS and Excel 2007(32-bit) combination.
    I tried couple of things like Excel is able to Open an existing workbook on my system but fails to
    create a new Workbook as done by invoking the "Add" command. It fails with Error 800a03ec.
    I tried creating the two folders i.e. C:\Windows\SysWOW64\config\systemprofile\Desktop & C:\Windows\system32\config\systemprofile\Desktop, but could not get it working.

  • Instantiating COM objects from within the java code in WLS

    is there a way to use COM objects from servlets or ejb's,
    with JVM, not with JView.
    thanks,
    ali.

    Sun has released a beta product - its a COM bridge that you can use
    to connect a Java2 JVM to a COM object with. I havent tried it yet
    but I probably will soon.
    Brad
    "Michael Girdley" <[email protected]> wrote in message news:39b86deb$[email protected]..
    >
    >
    No, at the current time we only support COM integration when using the
    Microsoft JVM. The Jintegra product from Linar is good.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Ali Ozgun" <[email protected]> wrote in message
    news:[email protected]..
    is there a way to use COM objects from servlets or ejb's,
    with JVM, not with JView.
    thanks,
    ali.

  • An exception occurred when instantiating a COM object

    I have installed ColdFusion 9.1 on a 64-bit server running Windows 2008 R2.  I am using IIS 7.5.
    When I try to access the following URL http://localhost/myhousing/security/login_admin.cfm I get the following error.  Is there a patch available for CF 9 to resolve this error?
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes. 
    Error Occurred While Processing Request 
    An exception occurred when instantiating a COM object. 
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed. 
    The error occurred in C:/inetpub/wwwroot/MyHousing/Application.cfm: line 22
    20 : <CFINCLUDE template="lib/housing_functions.cfm">
    21 : <CFSET Application.obj_name = "UserInfo325DLL.UserClass">
    22 : <CFOBJECT name="obj" action="create" type="com" class="#Application.obj_name#">
    23 : <!------------------------------------------------------------------->
    24 : <!--- END OF CONFIGURATION FILE --->
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser   Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Remote Address   ::1
    Referrer   
    Date/Time   08-May-13 01:49 PM
    Stack Trace (click to expand) 
    at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22) at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22)
    java.lang.RuntimeException: Can not use native code: Initialisation failed
    at com.linar.jintegra.NativeObjRef.<init>(Unknown Source)
    at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
    at com.linar.jintegra.Dispatch.<init>(Unknown Source)
    at com.intrinsyc.typeInfo.IMacroViewerProxy.<init>(IMacroViewerProxy.java:32)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:90)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:69)
    at com.intrinsyc.typeInfo.InterfaceInfoFactory.getInfoGivenPROGID(InterfaceInfoFactory.java: 50)
    at coldfusion.runtime.com.ComProxy.<init>(ComProxy.java:114)
    at coldfusion.runtime.com.ComProxyFactory.getProxy(ComProxyFactory.java:41)
    at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
    at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4947)
    at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)
    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
    at cfApplication2ecfm293894775.runPage(C:\inetpub\wwwroot\MyHousing\Application.cfm:22)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Let's narrow down the problem by substituting the variable with the value directly on the cfobject tag.
    <CFOBJECT name="obj" action="create" type="com" class="UserInfo325DLL.UserClass">
    ... and see if that works.
    Another thing you might want to check if this is correct, UserInfo325DLL.UserClass.

  • Cfobject - An exception occurred when instantiating a COM object

    I'm getting the following error:
    An exception occurred when instantiating a COM object.
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.
    1 :
    2 : <cfscript>
    3 :     oLoader = CreateObject("com", "easyPDF.Loader.6");
    4 : </cfscript>
    This is on a dedicated server with 64bit Windows Server 8 and 64bit ColdFusion 9.  easyPDF is a program that will convert files into PDF on the server, it is also the 64 bit version.
    I'm not even trying to do anything but load the object and am getting the error.  I took a peek inside the registry and searched for "easyPDF.Loader" and it was found.
    Any ideas what could be going wrong? Is there something I need to do with the CF setup or IIS to get this working?  It gives the same error with the following line of code as well.
    <cftry>
        <cfobject type="com" action="connect" class="Word.application" name="this.wordCom" context="local">
        <cfcatch>
            <cfobject type="com" action="create" class="Word.application" name="this.wordCom" context="local">
        </cfcatch>
    </cftry>
    Any help or guidance would be great.  Is there a basic <cfobject type="com"> that should work on ANY computer without installing something that I could use to test?
    Thanks!

    Just to give everyone some closure in this matter:
    I've opened a case with Adobe Support. Their reply was:
    COM interoperability with CF9 is not supported on 64 bit Windows OS. This is due to the limitations imposed by JIntergra. You can find a reference for this in the following tech-note:http://helpx.adobe.com/coldfusion/kb/coldfusion-limitations-running-coldfusion-64.html
    It seems that J-Integra (http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963) won't update their code libraries for 64-bit support due to lack of customer demand for this functionality. Mind you this is the newest technot I could find on the matter but it was last update in 2010. I've also emailed j-Integra sales (http://j-integra.intrinsyc.com/contact.asp) to inquire about any progress in porting over their libraries to 64-bit. Who knows, if they get enough requests...
    I will now try to access my COM libraries from a .NET dll and call it using cfexecute.

  • Creating a COM object with CF9 32-bit on Windows Server 2008 R2 64-bit machine

    I'm using a 32-bit version of CF9 and it's installed on a Windows Server 2008 R2 machine (64-bit).  The problem I'm running into is that it won't allow me to create a COM object - it gives me the error, "no ntvinv in java.library.path null" when I try to run,
    <cftry>
    <cfobject type="COM" action="CONNECT" name="Engine" class="JRO.JetEngine">
    <cfcatch type="Any">
        <cfobject type="COM" action="CREATE" name="Engine" class="JRO.JetEngine">
    </cfcatch>
    </cftry>
    Then when I run it a 2nd time, I get "An exception occurred when instantiating a COM object. The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed."
    Can you help me?

    Replying for your patchset installation pre-req error:
    Use below command:
    ./runInstaller -ignoreSysPrereqs
    Review MOS note 763143.1 for more info.

  • Problem With Business Object and printing job

    Hello,
    We are encountering a problem with the application "Business Objects FINANCE", and we would need your help quickly.
    In the application , itu2019s impossible to print Consolidated Subsidiaries nor the Securities Held. If we try so, the application freezes and we can't do anything but killing the application via the task manager.
    Though, other states can be printed without problem.
    We tried on several different PCs, and the problem occured equally on each one.
    The version installed is 10.5, and we can do any tests that you think would be useful to diagnose problem.
    Our society is AUBAY SA, and our credential to enter in your support website are : S0005386617
    In attachment youu2019ll find a screenshot of the event viewer from the server where the application is install.
    Thanks in advance for your answer,
    best regards.

    check the export parameters of the event triggering workflow.
    If there is a problem, try instantiating the object in your wf based on the key.
    Also check if the wf is able to import the data.
    regards,
    Sandeep Josyula

  • Error Msg "Invalid Com Object Exception is output"

    Hi,
    The following error message was output when I tried to perform an
    optimization on the Finance Application.
    "An unhandled exception has occurred in your application....COM object
    that has been separated from its underlying RCW cannot be used".
    However, when my colleague perform the same optimization using her PC, it was ok. Please advise if there are any specific settings that are I need to set at the client or desktop level in order to avoid the error.
    Cheers
    Hon Leong

    Hi,
    My notebook is on Windows XP and Office 2007. As per your suggestion, I have run the client diagnostic program and found the following error:
    [Internet Explorer Option setting]
      Proxy server
        No proxy setting
      Use HTTP 1.1
        Required: True
        Currently: True
        Status: OK
      Enable Integrated Windows Authentication
        Required: False
        Currently: True
        Status: Error
    Would you be able to advise how I can disable the Integrated Windows Authentication so that I can see the problem is due to the above error.
    Cheers
    Hon Leong

  • Word 2007 COM object

    I am having a heck of a time finding a good example of a word
    COM object. I just upgraded from word 2000 to word 2007, in hopes
    that would suddenly work for me (which honestly I didn't
    expect...). In word 2000, this line worked fine, but not in 2007:
    thisDoc.SaveAs("c:\MyDoc.doc");
    Here is what I am trying to accomplish: I need to use values
    submitted by forms and input it into a word document. The word doc
    needs to have different paragraphs in different formats. I thought
    I could build the paragraphs somehow, with formatting with
    something like para1 = docrange.newparagraph(); then insert the
    text and formatting into para1 and then insert para1 into the
    document. It does not seem to be working at all. If someone can
    link me to a good example I can figure it out from there, but I
    don't seem to be able to find it. Here is my code so far:
    <cfquery name="getAttorney" datasource="agreement">
    Select * from Attorney where ID = #Form.attorney#
    </cfquery>
    <cfoutput query="getAttorney">
    <cfset attornyInfo =
    "#Name#
    #email#
    #Phone#">
    </cfoutput>
    <CFTRY>
    <!--- If it exists, connect to it --->
    <CFOBJECT
    ACTION="CONNECT"
    CLASS="Word.Application"
    NAME="objWordApp"
    TYPE="COM">
    <CFCATCH>
    <!--- The object doesn't exist, so create it --->
    <CFOBJECT
    ACTION="CREATE"
    CLASS="Word.Application"
    NAME="objWordApp"
    TYPE="COM">
    </CFCATCH>
    </CFTRY>
    <CFSCRIPT>
    /* This will open Word if running locally */
    objWordApp.Visible = true;
    /* This returns the 'Documents' collection the Word Object
    thisDoc = objWordApp.Documents.add();
    /* Save the document to a location */
    thisDoc.SaveAs("c:\MyDoc.doc");
    docRange = thisDoc.Range(0);
    docRange.Style=-2;
    docRange.InsertAfter("Header1");
    docRange.InsertParagraphAfter();
    docRange.Style=-3;
    docRange.InsertAfter("I am the paragraph you requested");
    docRange.InsertBreak();
    docRange.InsertAfter("check me out... I'm on the second
    page!");
    para1 = thisdoc.paragraphs.count();
    data = docrange.listparagraphs();
    data1 = docrange;
    /* Save the changes */
    thisDoc.Save();
    /* Close the document */
    thisDoc.Close();
    /* Quit Word */
    objWordApp.Quit();
    </CFSCRIPT>
    <cfdump var="#para1#">
    <cfdump var="#data#">
    <cfdump var="#data1#">
    The dumps do dump information on the related objects, giving
    me methods, puts and gets, but I need more explantion than what is
    actually provided. Para1 used to dump "1" even though I had more
    paragraphs than that in the build. Since I upgraded to 2007, I have
    not gotten it not to error out, I will try to save it as a docx,
    but a doc is really more appropiate for my purposes.
    Thank you for your time.

    The last time I had to deal with a requirement like this,
    which was
    about 2000-2001, we eventually scrapped the word COM thing.
    Even then
    it was such a fragile and perilous solution, fraught with
    problems and
    headaches.
    What we ended up doing, that was much easier, was to create a
    .rtf, rich
    text format, file. We could do all the required formating in
    this
    format, and 90% of the uses would have this file open in MS
    Word and not
    even know they did not get a .doc file.
    How we did it was create a .rtf template with dummy text that
    had all
    the desired formating. Then we could read in the .rtf file,
    which is
    just a marked-up text file, not a binary, and string replace
    the dummy
    text with the dynamic text. Save it again and viola a rich
    text
    formated file with the required content.
    These days, I would push for doing this in PDFs and use
    ColdFusion's
    <cfdocument...> and|or <cfpdf...> functionality.
    But if it has to be
    Word, I suppose it has to be Word.

  • Memory leak problem while passing Object to stored procedure from C++ code

    Hi,
    I am facing memory leak problem while passing object to oracle stored procedure from C++ code.Here I am writing brief description of the code :
    1) created objects in oracle with the help of "create or replace type as objects"
    2) generated C++ classes corresponding to oracle objects with the help of OTT utility.
    3) Instantiating classes in C++ code and assigning values.
    4) calling oracle stored procedure and setting object in statement with the help of setObject function.
    5) deleted objects.
    this is all I am doing ,and getting memory leak , if you need the sample code then please write your e-mail id , so that I can attach files in reply.
    TIA
    Jagendra

    just to correct my previous reply , adding delete statement
    Hi,
    I am using oracle 10.2.0.1 and compiling the code with Sun Studio 11, following is the brief dicription of my code :
    1) create oracle object :
    create or replace type TEST_OBJECT as object
    ( field1 number(10),
    field2 number(10),
    field3 number(10) )
    2) create table :
    create table TEST_TABLE (
    f1 number(10),f2 number (10),f3 number (10))
    3) create procedure :
    CREATE OR REPLACE PROCEDURE testProc
    data IN test_object)
    IS
    BEGIN
    insert into TEST_TABLE( f1,f2,f3) values ( data.field1,data.field2,data.field3);
    commit;
    end;
    4) generate C++ classes along with map file for database object TEST_OBJECT by using Oracle OTT Utility
    5) C++ code :
    // include OTT generate files here and other required header files
    int main()
    int x = 0;
    int y = 0;
    int z =0;
    Environment *env = Environment::createEnvironment(Environment::DEFAULT);
    Connection* const pConn =
    env->createConnection"stmprf","stmprf","spwtrgt3nms");
    const string sqlStmt("BEGIN testProc(:1) END;");
    Statement * pStmt = pConn->createStatement(sqlStmt);
    while(1)
    TEST_OBJECT* pObj = new TEST_OBJECT();
    pObj->field1 = x++;
    pObj->field2 = y++;
    pObj->field3 = z++;
    pStmt->setObject(1,pObj);
    pStmt->executeUpdate();
    pConn->commit();
    delete pObj;
    }

  • Method not found error when creating COM object

    i am trying to initiate a COM object with CF and Imagemagick
    on windows 2003. when i initiate the object i get the error "The
    selected method convert was not found." if i do a dump of the
    method in the COM object but i cant call it. what am i missing?
    the code i am using is attached.
    the VBscipt sample that comes with imagemagick works fine,
    its just that CF cant all it. any ideas?
    thanks
    NF

    Hi,
    Have you had a reponse or find the solution?
    I have a similar problem, no error message but that kill the
    session.
    Thanks
    Didier

  • Controlling Matlab via TestStand COM Objects

    I am attempting to control MATLAB via teststand activex com objects.  I set up my module to use the matlab 7 automation server, and when I try to run the sequence, I get this error:
    "Create New Object" in automation call failed.
    No such interface supported
    One reason this can occur is if the interface of your COM server cannot be marshaled. This can happen if your server is not using the default OLE marshaling implementation and does not implement its own proxy and stub code. If you write your server using Visual C++ you can add the oleautomation attribute to your interface in order to use the default OLE marshaling implementation. Alternatively, COM does not require marshaling if the server's threading model is the same as the client thread's apartment. You can try changing your server's threading model or the client thread's apartment to avoid the need to marshal the interface."
    Anyone know how to fix this?
    -Joey

    It turns out this issue was a bug within Matlab itself.  The correct registry keys were not being added for the Matlab ActiveX server with version 7.2.  The bug report is located here.  Once the correct registry keys were added there was no problem calling the Matlab ActiveX interface.
    Pat P.
    Software Engineer
    National Instruments

  • Problem in SAPbobscom OBJECTS

    Good Day Experts,
    We've created an AddOn that automatically creates an JE on Incoming Payment. It works just fine in client side.
    But a problem occured if we're to do a direct transaction ON the SERVER side.
    Upon checking the application in debug mode the cause of the error is when the program tries to call for any SAPbobscom Object such as the oJournalEntries that we used for the AddOn,
    The exception throws the following error:
    Unable to Cast Com Object of type "SAPBobsCom.CompanyClass"to interface type "SAPBobsCom.ICompany". This operation failed because the QueryInterface call on the COM component for the interface with IID u2018{3BA8DAED-5B33-4CE4-A4B8-B4308D86E524}u2019 failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    The clients we've tested using our AddOn has the following setup:
    (NO ERROR ENCOUNTERED)
    OS: Windows XP / Vista
    MS SQL Server 2005
    MS .Net  Framework 2.0
    SBO 2007 PL 41
    And for the server's setup
    (HAS ERROR ENCOUNTERED)
    OS: Windows Server 2008
    MS SQL Server 2005
    MS .Net  Framework 2.0
    SBO 2007 PL 41
    Thanks & Regards,
    Tyron
    Edited by: Tyron Gono on Feb 26, 2010 9:25 AM

    Hi
    This problem mainly occurs if your system is of 64 bit....As petr said first of all compile your application as well as your Add-on both for x86....in your projects properties-->compile>Advanced Compile options->Change your target CPU from Any to x86 and then rebuild the project and make a new ard from this rebuilded project and change here also the target CPU to x86....
    It may solve the problem....
    If not then you have to register your SAPBobs.Com again on the Server and then make the ard again....for registering the SAPBobs.Com,  C:--->Program Files ->SAP>SAP B1 DI API->Select the SAPBobs.Com dll from the folder---> select Open with option and Select Browse-->Windows->Select System 32 folder---->type regsvr32
    It will register your dll...
    And in the end you have to again recompile your project and then again make the new ard from this project
    Hope it helps..
    Regards

  • COM object that has been seperated from its uderlying RCW cannot be used

    What exactly does this error mean?
    I receive this error when I perform "Unload All Modules" from the sequence editor using TestStand 4.2.1.83 development system, which is part of NI Developer Suite 2010 DS1.
    It causes TestStand to crash citing that error, and then a secondary error cites corrupted memory.

    ATE_Dude_22 wrote:
    Here is a capture of my sequence editor, where I have a alert from TestStand telling me the parameter specified doesn't match the sequence parameters (specified in the vi prototype as a string not a number), but this version of TestStand allows it to execute without needing to clear the error.
    Do you think this may have anything to do with the error I am seeing?
    Probably not. Sequence calls support mismatched parameters, what happens is that the callee gets whatever is passed to it, if that's not what it's expecting, then you might get a type mismatch error if type checking is enabled, if not then it's up to the sequence what it tries to do with the parameter for what happens next.
    Most likely the bug is in one of the code modules you are calling, probably a vi or dll is not properly maintaining a reference count somewhere or is corrupting memory and only indirectly causing the error. If most of your code is in labview, one thing to look out for is incorrectly specified calls to dlls from LabVIEW. If a call to a dll is incorrectly specified, either from LabVIEW or TestStand that can very easily lead to memory corruption and random errors later on in the code.
    I'd recommend trying to either debug and see where it's failing, if it's always failing in the same place. Or try to eliminate possibilities and reduce the called code to the minimum code required to reproduce the problem and then look for bugs in that code (paying special attention to the possibility of incorrectly specified dll calls and/or perhaps incorrectly maintained reference counts on COM objects).
    Another idea, to see if the problem is memory corruption caused by a vi, is to run all of your labview vis using the development environment (labview adapter setting), if so, any memory corruption would be in the labview process and not the main teststand process and should not bring down teststand.
    -Doug

  • Calling test sequence from CVI DLL that use ATL COM object does not work

    I am trying to call some DLL function writen in CVI from teststand. The CVI DLL is using ATL COM object(Written by me).
    The ATL COM object making instance of several ATL COM object inside it (including two controls that contains dialog). If I use a client writen in VC++ 6 and use the ATL COM (writen by me) works perfectly. But if I try to use it from CVI DLL it does not work any more.
    What is wrong? The client is passing an IUnknow interface to my component. Can anybody explain me what is wrong?

    It is not clear from your question as to what is specifically failing. If possible, one option would be to remove TestStand from the picture and see if the problem still occurs using a CVI EXE that invokes the CVI DLL.
    Scott Richardson - NI
    Scott Richardson
    National Instruments

Maybe you are looking for

  • Discount in PO Price

    hi, if i input discount (header and item level in configuration) in header level, the net price will be deduced as discount involve. Is it possible the item net price not change even discount had input in header level. thanks

  • Reading Attachments from T-code VF03

    Hi folks, I have a requirement to download all the attachments from T-code VF03 into my 'Z' program, I searched SDN a lot and I came to know that FM 'SO_OBJECT_READ'  can be of some help. However, I could not understand how exactly I need to pass the

  • Design View Not displaying the page

    Recently I asked the same question here but I think I did not explain myself correctly. I have hunted for answers but not found any so I am asking again with images this time. I have had this site written for me and I know it was written in DW. They

  • Problem scrolling using property nodes

    What Im trying to do is a "fake scroll bar" using numeric controls and the VI Property FP Origin for the same vi where the numeric controls are. The problem is that when the vi is running and I use the scroll bar the controls also move and is a mess.

  • FB70 - Payment Terms and discount rates

    Dear Friends, We have a requirement in transaction FB70, in which we wanted to provide 3 different discounts for a given payment term, but the transaction by default provide only 2 discounts. Is there a way in which we can add a third discount for a