Build Tuxedo service in Visual Studio

Hi!
I need to build the executable for a Tuxedo service. The Visual Studio project
already contains a TuxServer.cp file which has the tpsvrinit function, and tux.c
which was generated by BuildTuxedo. It also contains a sybesql.c file and other
codes files. It was a legacy system, and I don't know much about Tuxedo. The machine
I want to build it on already has Visual Studio, Sybase and Tuxedo installed.
How do I set up the environment so I can build the exe in Visual Studio itself?
Thanks,
Caroline

Hello and thank you very much for your answers
Right now I tried RobertH's solution. I'm gona try it also with Coq rouge's link.
To RobertH's way:
I inserted the line __declspec(dllexport) unsigned int __stdcall multiply(unsigned char a, unsigned char b);
and my file looked like this:
#include "stdafx.h"  __declspec(dllexport) unsigned int __stdcall multiply(unsigned char a, unsigned char b);unsigned int multiply(unsigned char a, unsigned char b) {unsigned int c; c = a * b;return c; }
When I tried to compile, i got an errormessage:
error C2373: 'multiply': Neudefinition; unterschiedliche Modifizierer
in English:
error C2373 'multiply': redefinition; different modifier
I could fix this error by editing the line
unsigned int multiply(unsigned char a, unsigned char b)
into
unsigned int __stdcall multiply(unsigned char a, unsigned char b)
but i have no idea if this is the correct way. Maybe this is wrong? Now i could compile.
I also could open the function multiply in LabView. I created at the call library function node the inputs and outputs. LabView described the functionprototype as:
uint16_t ?multiply@@YGIEE@Z(uint8_t a, uint8_t b);
I could start the programm, but I got a LabView errormessage:
Error 1097 occurred at Call Library Function Node in extcodetest.vi
Possible reason(s):
LabVIEW:  An exception occurred within the external code called by a Call Library Function Node. The exception may have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
I tried both calling conventions, c and stdcall 
At least, i could start the LabView Programm. Thats already a littel success. But i think i will need more help.
Now I'm also gonna try Coq rouge's link.

Similar Messages

  • Unable to connect Biztalk service from Visual Studio

    I am trying connect to the BizTalk Adapter Service from My VS2012.
    I am sure connect information are correct with ACS Nnamespace/Issue name/Issue Secert
    But got some errors
    Exception Code: BadRequest
    Error:Code:400:SubCode:T0:Detail:ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 'http://xxxxxxxxx.biztalk.windows.net/default' was not found.:TraceID:fda3d29f-911c-4b63-8733-98c59ee4f685:TimeStamp:2015-04-24 15:51:23Z
    How can I do?

    Thanks Girish,
    I can connect Biztalk service from Visual Studio now.
    but I have an another issue with add SQL Target.
    How can I fix it?
    error below:
    500
    Code: '13' 
    Message: 'Error occurred while trying to bring up the relay service. Error Message: '要求的名稱正確,但找不到所要求類型的資料。
    '/twtestbs~_order_9fe15fb881964e3fafa9f79c7128daa9' 應用程式中發生伺服器錯誤。
    要求的名稱正確,但找不到所要求類型的資料。
     描述: 
    在執行目前 Web 要求的過程中發生未處理的例外狀況。請檢閱堆疊追蹤以取得錯誤的詳細資訊,以及在程式碼中產生的位置。
     例外狀況詳細資訊: 
    System.Net.Sockets.SocketException: 要求的名稱正確,但找不到所要求類型的資料。
    原始程式錯誤:
    在執行目前 Web 要求期間,產生未處理的例外狀況。如需有關例外狀況來源與位置的資訊,可以使用下列的例外狀況堆疊追蹤取得。
    堆疊追蹤:
    [SocketException (0x2afc): 要求的名稱正確,但找不到所要求類型的資料。]
     System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6) +8767461
     System.Net.Dns.GetHostEntry(String hostNameOrAddress) +191
     System.ServiceModel.Channels.DnsCache.Resolve(Uri uri) +535
    [EndpointNotFoundException: 主機 twtestbst0379-bts.servicebus.windows.net 沒有 DNS 項目。]
     System.ServiceModel.Channels.DnsCache.Resolve(Uri uri) +17434161
     System.ServiceModel.Channels.SocketConnectionInitiator.GetIPAddresses(Uri uri) +211
     System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) +329
     System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) +31
     System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) +951
     System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) +104
     System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +742
     Microsoft.ServiceBus.NetworkDetector.CheckTcpConnectivity(Uri baseAddress, Exception& exception) +733
    [AggregateException: 發生一或多項錯誤。]
    [CommunicationException: Unable to reach twtestbst0379-bts.servicebus.windows.net via TCP (9351, 9352) or HTTP (80, 443)]
     Microsoft.ServiceBus.NetworkDetector.DetectInternalConnectivityModeForAutoDetect(Uri uri) +648
     Microsoft.ServiceBus.ConnectivityModeHelper.GetInternalConnectivityMode(ConnectivitySettings connectivitySettings, HttpConnectivitySettings httpConnectivitySettings, Uri uri) +149
     Microsoft.ServiceBus.ConnectivityModeConnectionElement..ctor(TokenProvider tokenProvider, SocketSecurityRole socketSecurityMode, BindingContext context, NameSettings nameSettings, ConnectivitySettings connectivitySettings, HttpConnectivitySettings httpConnectivitySettings)
    +169
     Microsoft.ServiceBus.TcpRelayTransportBindingElement.BuildInnerBindingElement(BindingContext context) +647
     Microsoft.ServiceBus.TcpRelayTransportBindingElement.BuildChannelListener(BindingContext context) +40
     Microsoft.ServiceBus.HttpRelayTransportBindingElement.BuildChannelListener(BindingContext context) +429
     System.ServiceModel.Channels.Binding.BuildChannelListener(Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters) +177
     System.ServiceModel.Description.DispatcherBuilder.MaybeCreateListener(Boolean actuallyCreate, Type[] supportedChannels, Binding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, String listenUriRelativeAddress, ListenUriMode listenUriMode,
    ServiceThrottle throttle, IChannelListener& result, Boolean supportContextSession) +393
     System.ServiceModel.Description.DispatcherBuilder.BuildChannelListener(StuffPerListenUriInfo stuff, ServiceHostBase serviceHost, Uri listenUri, ListenUriMode listenUriMode, Boolean supportContextSession, IChannelListener& result) +572
     System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +1908
     System.ServiceModel.ServiceHostBase.InitializeRuntime() +90
     System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) +182
     System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +742
     System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +126
     System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901
    [ServiceActivationException: 編譯期間發生例外狀況,因此無法啟動服務 '/twtestbs~_order_9fe15fb881964e3fafa9f79c7128daa9/RuntimeService.svc'。例外狀況訊息: Unable to reach twtestbst0379-bts.servicebus.windows.net via TCP (9351, 9352) or HTTP (80, 443)。]
     System.Runtime.AsyncResult.End(IAsyncResult result) +650220
     System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +210733
     System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +166
    版本資訊:
     Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.17929'.'

  • Problem while Adding the SAP Web service in Visual Studio 2005

    Hi all,
    I have created the web service thru SOAMANAGER.
    Now I am just trying to access that web service in Visual Studio 2005.
    I am not able to access...
    Please give me the procedure , if any body knows.
    -Balajee Jeyaraj.

    - Start Tcode SOAMANAGER
    - Now it depends on your setup, you might have to press "Logon" and.......logon
    - Click tab "Business Administration"
    - Click "Web Service Administration"
    - Choose "Service" for "Search by"
    - Enter a search pattern (E g Z*) and press "Go"
    - Mark the line of your web service
    - Press "Apply Selection"
    - Click the link "Open WSDL document for selected binding"
    - your web browser opens.
    - copy and paste the link into Visual Studio.
    I'm always adding    &wsdl=1.1     at the end of the link.

  • Create BCS External Content Type or a list based on a WCF Web Service using Visual Studio

    Hi ,
    How to create a BCS External Content Type or a list Based on a WCF Web Service using Visual Studio.
    The link provided here shows the requirement through Designer. http://msdn.microsoft.com/en-us/library/office/ee556431(v=office.14).aspx but I want this to be through VS code..
    Please help ..Appreciate your help..
    Thanks,
    Satheesh

    HI Sateeshlt,
    You can see the below link also;
    http://www.fabiangwilliams.com/2013/10/14/part-2-of-3-blog-update-on-sharepoint-bcs-with-full-crud/
    Best Regards,
    Brij K

  • Error of heads when build the .dll by visual studio 2003

    I am trying to call the dll function in labVIEW which build by visual studio 2003.
    while I compile the basic program in visual studio 2003,the dll will be built successfully,but if I include heads like or in my program, etc.Compiling has the error of ,so the dll can not be built.
    I have trued to look for the solution in NI Discussion Forums,but havent seen the related article about the error of including .
    If someone can answer this for me,that will be a great help,and I'll be so appreciate if anyone get me out
    of the trouble.
    Sean

    I'm a little unclear about your question. What is the exact error that you are receiving and at what point are you receiving it? Is the error occurring when calling the DLL in LabVIEW or is it occurring when building the DLL in Visual Studio? Further clarification about exactly what the problem is and where it is occurring would be a big help!
    Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • Error when adding BI XMLA service as a web service in Visual Studio

    I have Visual Studio 2003 and I am trying to add the XMLA web service via a URL using Add Web reference.
    Visual Studio is able to locate the service and methods but I also  get the following error message. Can anyone help with this issue. Thanks in advance for your assistance.
    message in left panel indicates it found the methods
    "MsXmlAnalysis" Description
    Methods
    Discover ( RequestType As string ,  Restrictions As ,  Properties As )
    Execute ( Command As ,  Properties As PropertiesType )
    actual error message in right panel
    There was an error downloading 'http://bid01.citus.sharp.com:8000/sap/bw/xml/soap/xmla?sap-client=100'.
    The request failed with the error message:
    Moved Temporarily !DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"

    Hi,
    Thanks for posting here.
    Upgrading Web and Business Databases
    Upgrading Web or Business databases to a new service tier/performance level does not take the database offline. The database will continue to work through the upgrade operation. At the time of the actual transition to the new performance level temporary
    dropping of the connections to the database can happen for a very small duration (typically measured in seconds). If an application has transient fault handling for connection terminations then it is sufficient to protect against dropped connections at the
    end of the upgrade.
    Upgrading a Web or Business database to a new service tier involves the following steps:
    Determine service tier based on feature capability
    Determine an acceptable performance level based on historical resource usage
    Why does existing performance for my Web or Business database map to the higher Premium levels?
    Tuning your workload to fit a lower performance level
    Upgrade to the new service tier/performance level
    Monitor the upgrade to the new service tier/performance level
    Monitor the database after the upgrade
    Refer:
    http://azure.microsoft.com/en-us/documentation/articles/sql-database-upgrade-new-service-tiers/
    https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx
    Hope this helps you.
    Girish Prajwal

  • Consuming Web Service In Visual Studio

    Hi there:
    I'm using the sneak preview of SAP NetWeaver 2004s ABAP Server and am able to consume in Visual Studio 2005 (C#) all the 'delivered' Web Services without any problems.  However, when I create a Web Service through SE37 or SE80 (Wizard WS_WZD_START) using a BAPI or Remote enabled RFC (ie RFC_READ_TABLE) I am getting a error when I try to call it in Visual Studio.  In Visual Studio, I am able to add the reference (http://localhost:8000/sap/bc/srt/rfc/sap/ZRFC_READ_TABLE?WSDL) no problem.  When I call it though, I get {"Unable to connect to the remote server"}, with inner exception {"No connection could be made because the target machine actively refused it"}.
    I am providing the credentials (username and password) in the code which are the same as when I go to retrieve the reference.
    Any help would be greatly appreciated.
    Thanks
    Russ

    Hi Russ,
    I had similar problems. You should download the WSDL file to the local file system. Then you can add the downloaded WSDL file as a Web reference rather than using a URL.
    Please note the following issue:
    You have to provide the full qualified path <b>including</b> the file name in the text box for the URL and then press Go.
    For example:
    <i>
    C:\Documents and Settings\USERID\My Documents\downloads\SAP\WebServices
    Z_BAPI_CUSTOMER_FIND_VI.wsdl
    </i>
    If you just provide the path and try to select the WSDL file this probably does not work. At least it was not working for me.
    Best regards,
    Andre

  • Fault messages in target web service (microsoft visual studio) -experience?

    Hi guys!
    We use async scenario : SAP_R3 (ABAP Proxy) -> XI -> Web Service (SOAP). Target web service is created in microsoft visual studio. Standard scenario worx fine. We send data from r3, the web service processes them. However, we want to use also fault messages in case, there will be exception rised in the target web service and let operator in sxmb monitor know, that there's a problem. These fault messages should be used as acknowledgement. But we have serious problem with implementing fault messages in the target web service in the visual studio. Does someone have experience with this?
    Thanx a lot for info!
    Olian

    Hi
    see the below links
    Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
    Troubleshooting SOAP Message - XI - /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    Troubleshooting - RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Regards
    Chilla

  • Silverlight 5 and WCF Ria Services Link Visual Studio 2012

    Hi, I have a Visual Studio 2010 Project, I installed Visual Studio 2012 and Opened the Project with VS 2012. I can run the Project without issues but at design time the Web Project is no recognized as a valid reference.
    My Silverlight application has a WCF RIA Services link to this Project. If I switch to Visual Studio 2010 I have not design time errors.
    Why in Visual Studio 2012 my Silverlight 5 Project shows a message indicating the Web Project namespace does not exists?
    Obiously the reference does not exists because is a WCF RIA Services link and VS Should infer the namespace.
    I've notice that the generated code is being created with the right namespace, it's just that Visual Studio 2012 is not recognizing the classes in the generated code.
    Help please.

    Hi,
     You need add web service again for VS-2012. You can see the step by step process
     http://atikpassion.blogspot.com/2013/01/add-service-after-migrating-silverlight.html
    Hope it will help you.
    Regards atik sarker

  • Language services in Visual Studio-based application (isolated mode)

    Hello everybody,
    I’m developing a Visual Studio-based application in isolated mode (VS 2013). So far everything has gone smoothly, I have programmed some VSPackages, they manage their windows with their items, doing their things.
    The problem arising is how to open a C# file (.cs) in the editor and have syntax coloring, statement completion and the rest of features provided by the language service. If I use VsShellUtilities.OpenDocument() the C# file is opened, but I have no language-specific
    support.
    I have read Language Services part of the Visual Studio SDK tutorial and now I’m exploring the Projects part, but I don’t think I need a new project type or language service. I think I would use the C# language service provided by VS “as is”. Should I load
    it, how?
    I would appreciate any suggestions and hints.
    Pedro.

    Hi Pedro,
    The "isolated" shell does not ship with, nor does it allow the loading of the visual studio languages. You cannot open a C#, VB .NET, or C++ project in the isolated shell, as their respective packages are explicitly prevented from
    loading into the isolated shell.
    If you have a dependency on the C# language service, then you will need to integrate with Visual Studio itself.
    Sincerely,
    Ed Dore

  • FInding the Reporting Services 2014 Web Service in Visual Studio 2013

    Hello
    I am trying to figure out how to Find the webservice for my SSRS 2014 Installation from Visual Studio 2013.
    I looked at this article
    http://msdn.microsoft.com/en-us/library/ms155398.aspx
    And it seemed to say I should use:
    http://<machine name>/Reports_<Machine Name>/ReportService2010.asmx?wsdl
    I am doing this from the Add Web Reference part of Visual Studio 2013
    When I do this I get the error
    There was an error downloading 'http://<machine_Name>/Reports_<machine_Name>/ReportService2010.asmx?wsdl/_vti_bin/ListData.svc/$metadata'.
    The request failed with HTTP status 404: Not Found.
    Thanks in Advance.
    -Dick

    http://<machine name>/Reports_<Machine Name>/ReportService2010.asmx?wsdl
    Hello Dick,
    The second <Machine Name> should be the "<Instance Name>" instead, if you are using a named instance of SSRS. If it's a Default instance, then use simply
    http://<machine name>/Reports/ReportService2010.asmx?wsdl
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Can't Debug Cloud Service w/Visual Studio

    I have used the instructions on the following link to no avail.  Trying to debug a web application.
    http://msdn.microsoft.com/en-us/library/ff683670.aspx#BK_Debugging_Cloud_Azure
    I am using SDK version 2.3 with Visual Studio 2013 Ultimate.
    Yes, remote debugging is turned on.
    Yes, project is compiled in Debug mode.  
    When I attach debugger the default process that comes up selected is "clouddrivesvc.exe".  When I attach the process is debugging in Native mode.  So I'm guessing this is not the right process to attach to.  Based on the screen shots
    in the aforementioned link I have tried attaching to "WallSHost.exe", this doesn't work either though.  I'm assuming I must be attaching to the wrong process.  Instructions state that the correct process should be selected by default...?

    Hi,
    The debugger automatically attaches to the appropriate host process for your role. Depending on what the role is, the debugger attaches to w3wp.exe, WaWorkerHost.exe, or WaIISHost.exe. To verify the process to which the debugger is attached, expand the instance
    node in Server Explorer.
    Best Regards
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BUILDING OF BIOS WITH VISUAL STUDIO

    Hi
    I have one doubt "which is the version and edition of visual studio that support that can be used as IDE for  BIOS development.
    Thanks in advance. 

    This article illustrates how you can get down to the "bone", using C/C++/ASM in Visual Studio:
    http://www.codeproject.com/Articles/36907/How-to-develop-your-own-Boot-Loader
    For specifics on BIOS programming, you would have to visit the BIOS manufacturers' web sites for tools and instruction.

  • SQL Reporting Services with Visual Studio 2012

    Hi
    I would like to know if there will be any release to improve on the placeholder feature in SQL reporting services. Currently, I have users who uses HTML editor to input data and tables. However, the table in html format cannot be read.
    I do understand that currently the placeholder feature can only have limited html tag recognised. However, is there any plan to improve it so that <table> tag can also be recognise?
    Or if there is any workaround to show the table format in the reports?
    Sorry but this is urgent as it is used for business application.
    Many thanks

    Hi DotNeTEngineeR,
    According to description, you want to display the content of table tag (<tag>) in a report. Right?
    In Reporting Services, it only has the supported HTML Tags below:
    Hyperlinks: <A HREF>
    Fonts: <FONT>
    Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    Text format: <B>, <I>, <U>, <S>
    List handling: <OL>, <UL>, <LI>
    For your requirement, we suggest you use <div> to replace <table> tags in your embedded HTML. Please see the article below:
    Embedded HTML using <div> to replace <table> tags in ssrs 2008
    Reference:
    Importing HTML into a Report (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Problems with Web Services in Visual Studio

    (Cross-posted from WAS forums)
    I'm using VB.NET to access SAP BAPI's via web services from a 4.7 system. This works really well (and in my view is simpler than the .Net connector) until I try and add a Web reference to a SAP web service that returns a BAPIRET2 structure - as soon as I add the reference, I get a load of "Reference to a non-shared member requires an object reference" errors - one for each line in the BAPIRET2 definition that VS automatically adds.
    Specific Example (guess who's been using OSS too long!):
    1. Browse the R/3 Web Service Repository at:
    http://yourmachinename:8000/sap/bc/bsp/sap/WebServiceBrowser/search.html
    2. Search for BAPI_USER_GET_DETAIL, click the small "wsdl" link.
    3. Copy the resulting URL, in VS add a web reference and type the necessary security details
    4. Immediately in the task list 15 build errors show - one for each line of the BAPIRET2 definition.
    Would be very grateful for any help on this!
    Thanks
    Martin Dolphin
    Bentley Motors Limited
    [email protected]

    Did you ever get this figured out?  I am having exactly the same problem in code generated by VS, with the BAPIRET2 structure.
    Any help you could provide would be greatly appreciated.
    Thanks!
    Leighton Wingerd
    Adirondack Solutions, Inc.
    [email protected]

Maybe you are looking for

  • Sales order wise report

    HI friends I am generating a report according to sales order wise stock . I need a help in these kdauf             kdpos      shkzg        menge           0000001663     000010     S           10 0000001663     000010     S           20 0000001663  0

  • OnDisconnect don't work in FCS

    Hello, I just install FCS in Fedora Core 4 and have 2 problems: - cannot restart the server from admin console, I receive this message: Restart of server: Unsuccessful error description:Failed to start server. - some user remain in user list after th

  • Video import from Canon A640 now hanging iPhoto

    Hello, I used to be able to import pictures AND video AVI files from my Canon A640 camera, but since I don't do video that often, at some point (I'm not sure exactly when) when I import into the latest iPhoto it just hangs with the beach ball. If I m

  • DOWNLOAD MUSIC TO I POD / I PHONE

    How come when I download music to my I Tunes then sync it to my I PHONE or I POD it puts some of the artist name twice insted of once with all the music under the one artist name. Example: Evanescence is on my IPOD twice, I downloaded 4 songs, it has

  • ExFat External Hard Drive showing up as RAW on Server 2008

    Correct me if I'm wrong but doesn't Server 2008 support ExFat? I plugged an external HD to a 2008 box and it can't read it and it shows up as RAW on disk management. I plugged it into a Server 2008 R2 and it was readable. The size of the external HD