Calling function between subprojects and DLL in WINCE7

We inherit a project develop using Platform Builder with WINCE7 and Visual Studio 2008. The project has a BSP, 5 sub-projects and a DLL. The problem is that when we add a function to the DLL Data Manager and try to call the new function from any of the subproject
using an Data Manager object that is currently used in the subproject to call other functions on the Data Manager DLL, we get the following error:"Error 107 Configuration_Setting_Mapper.obj : error LNK2019: unresolved external symbol "public: void
__cdecl Data_Manager::Configuration_Manager::Set_Default_TEST(void)" (?Set_Default_TEST@Configuration_Manager@Data_Manager@@QAAXXZ) referenced in function "public: bool __cdecl Configuration_Setting_Mapper::Set_UserName_Default(void)" (?Set_UserName_Default@Configuration_Setting_Mapper@@QAA_NXZ)
Same error is received when we try to change the return type of any of the functions in the Data Manager DLL. Do we have to set a link between the Data Manager and the subproject? What could be missing?

So the import library for the DLL needs to be updated (with the new function which you are exporting). Otherwise, it's as though you installed a new version of desktop Windows with new capabilities but used the old API libraries; your code won't link because
the API library *you are using* doesn't match the DLL you want to call.
Since your code compiles, you're obviously using the new header file(s).
So, what to do? Without seeing the projects and understanding how the original structure was intended to work, I'm not sure we can say. You may be linking with a library in the SDK folder but not regenerating that library when the DLL changes, or you may
not be generating a new import library when rebuilding the DLL.
Paul T.

Similar Messages

  • Simulation model which call functions in an other dll...

    I have a C simulation model that I implement like NI Model Framework template (NI_VStand_Model_Framework_Guide.pdf ). If I use this simple model I can deploy on my PXI. But I must call functions which are in an other dll. When I call functions in other DLL I can't deploy because Veristand specify that the model is not compatible.
    NI VeriStand: The specified compiled model is not compatible with NI VeriStand.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> Model Execution.lvlib:Initialize Model Loop Data.vi >> SIT Model API.lvlib:Initialize Model.vi >> SIT Model API.lvlib:Load Model DLL.vi
    <append>=========================
    NI VeriStand: Failed to load c:\ni-rt\NIVeriStand\Models\LD1_T1.dll
    If I use DLL Checker there is no bad import.  How to add a simulation model in veristand which call function in an other DLL?

    Thank you for your answer.
    I know how to import a dll in veristand. My Dll  is LD1_T1. I can import it in Veristand without error. But this DLL depends of an other dll (addition.dll) as you can see in the print screen.
    When I try to deploy to my PXI I have an error message of compatibility. 
    NI VeriStand: The specified compiled model is not compatible with NI VeriStand.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> Model Execution.lvlib:Initialize Model Loop Data.vi >> SIT Model API.lvlib:Initialize Model.vi >> SIT Model API.lvlib:Load Model DLL.vi
    <append>=========================
    NI VeriStand: Failed to load c:\ni-rt\NIVeriStand\Models\LD1_T1.dll
    For LD1_T1.dll I have use NI Model Framework template (NI_VStand_Model_Framework_Guide.pdf ).
    If I check my Dll with dll checker it's ok but I can't deploy. 
    Please somebody have an idee to deploy my model ?

  • Calling function wsastartup() of wsock32 DLL

    Could someone tell me how to use the function "wsastartup()" of wsock32.dll to initial a network connection?
    Here is the definition of the wsastartup() function:
    int WSAStartup(
    __in WORD wVersionRequested,
    __out LPWSADATA lpWSAData
    Parameters
    wVersionRequested [in]
    The highest version of Windows Sockets specification that the caller can use.
    The high-order byte specifies the minor version number; the low-order byte specifies the major version number.
    lpWSAData[out]
    A pointer to the WSADATA data structure that is to receive details of the Windows Sockets implementation.
    Return Value
    If successful, the WSAStartup function returns zero. Otherwise, it returns one of the error codes listed below.
    For more wsastartup() detail, please visiti
    http://msdn.microsoft.com/en-us/library/ms742213%28VS.85%29.aspx
    I've tried many times and that cause labview to crash.
    Please give an example, thanks.
    Devin

    smercurio_fc wrote:
    The LabVIEW network functions don't operate at that low of a level. Based on what you are looking to get, it seems to me that a third-party software solution would be far easier to use than to try to call Windows API functions from LabVIEW. Have you tried Google to find such software?
    I would say it depends what network throughput numbers the OP wants to calculate. If sending out data through TCP/IP to some remote location and calculating the maximum or average possible throughput from that it could certainly be done in native LabVIEW. One thing to watch out here is that LabVIEW uses the network socket API in a specific way that is for instance not suited for high througput server applications. So the numbers calculated in such a way would be meaningful in comparison with each other but not necessarely a good indication what a high througput server application could achieve using overlapped and/or I/O Completion Ports Winsock calls.
    If it is about generic data about the winsock usage then there are IPHLP.DLL APIs to get at some of that data and some is available through the registry in the Performance data section.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call alternating between earpiece and loudspeaker

    I have a Sony Z1The last few days when i answer a call I will start the call using the ear speaker (phone held to ear) however after a while the phone begins to alternate between the ear speaker and the loudspeaker and eventually after about 15 seconds i just have to end the call.  I don't know if it was an app update on the phone or my SW3 update that is causing the issue.
    I have tried clearing a few apps but that does not seem to have helped.
    Now not sure if linked but i have a new set of Sony Bluetooth earphones also that sometimes starts and stops when playing music.  I thought it might have beenthe earphone battery going flat but it was doing it also when fully charged.
    Anyone had similar?  I have seen the post where calls go directly to loudspeaker but i thought this was different.

    Started to happen again today however the cache was empty. This time however the call alternated between all the options (earpiece, speaker and headphones). I conducted a factory reset and it still occurred. I am now stuck for answers.
    Another issue I am getting at the same time is my wifi disconnects and says ' temporarily avoiding poor signal ' when the signal in the wifi section shows full wifi signal?
    UPDATE;
    I had been getting notifications in the notification bar that 'Smart Connect' had headset connected when there was definetly no headset connected.  During a call it was again alternating between the different options of earpiece, headset and bluetooth.  I subsequently uninstalled allupdates for Smart connect, but i still had call issues.  I have now disabled smart connect and will wait to see if this solves the issue.  I am now hopeful that this is the problem.  Next would be to find out if it is a software or hardware issue.

  • How to call function which return and out

    My function specifcation is
    FUNCTION GetGoogleScholarActivation (
    pi_clnt_id IN google_scholar_status.clnt_id%TYPE,
    pi_status_type IN ci_status_type_tab_type,
    po_status OUT ci_status_tab_type,
    po_date OUT ci_date_tab_type
    RETURN NUMBER ;
    where type is
    TYPE ci_status_type_tab_type IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
    TYPE ci_status_tab_type IS TABLE OF VARCHAR2 (10) INDEX BY BINARY_INTEGER;
    TYPE ci_date_tab_type IS TABLE OF VARCHAR2 (8) INDEX BY BINARY_INTEGER;
    I am trying to call function in SQL PLUS for testing as
    declare
    var number ( 10);
    TYPE p_st1 IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
    p_st p_st1 ;
    type p_status1 IS TABLE OF VARCHAR2 (1) INDEX BY BINARY_INTEGER;
    p_status p_status1 ;
    TYPE p_date1 IS TABLE OF VARCHAR2 (8) INDEX BY BINARY_INTEGER;
    p_date p_date1 ;
    Begin
    p_st(0) := 'A';
    var := PQDKGOSH.GetGoogleScholarActivation(11920 , p_st, p_status ,p_date );
    dbms_output.put_line ('Activation_status '|| p_status(0) );
    dbms_output.put_line ('Activation_date '|| p_date(0) );
    dbms_output.put_line ('Retun Value'|| var );
    End;
    but getting error PLS-00306: wrong number or types of arguments in call to
    'GETGOOGLESCHOLARACTIVATION'
    so how to test from SQL Plus

    HI
    I tried to execute below like this
    declare
    var number ( 10);
    p_st ci_status_type_tab_type ;
    p_status ci_status_tab_type;
    p_date ci_date_tab_type;
    Begin
    p_st(0) := 'A';
    var := PQDKGOSH.GetGoogleScholarActivation(11920 , p_st, p_status ,p_date );
    dbms_output.put_line ('Activation_status '|| p_status(0) );
    dbms_output.put_line ('Activation_date '|| p_date(0) );
    dbms_output.put_line ('Retun Value'|| var );
    End;
    still iget error
    PLS-00201: identifier 'CI_STATUS_TYPE_TAB_TYPE' must be declared
    becuse this declareation i did in package specification .
    and i am trying to execute the function .

  • How to attatch sub vi . can we do it the same way as we call functions in C and return values to the main vi?

    I am creating a Vi. I want to do a sub function. I want to connect a switch to a toggle flip flop so need to  use a push button switch in the input  but at the same time take its output to a true/false loop and execute it according to the ourput of the toggle flip flop which will have an ON and OFF state.
    Jeril

    In the front panel you can r-click the top right icon and "Show Connector". Click which controls and indicator you want to be your interface. Then drag it to your main application and it'll work as a sub-vi. You can do this for all VI's. Just like the "+" VI takes two numbers (controls) and return one result (indicator).
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Problem with call-offs between APO and R/3 system

    Hi, gurus.
    We have following problem:
    APO system receives DELINS idocs. They are processed correctly (status 53). But sometimes the call-offs in R/3 system are not updated. I do not know much about the underlaying process but how can I check where the problem is?
    I suppose it can be caused by blocking of particular material or order or whatever in R/3 system when the call-off is being processed. But then the system should give some warning. I need to know where it could be found.
    The only workaround at the moment we do is to create copies of DELINS in APO system and let them be processed.by APO and consequently by R/3 system.
    Thank you.
    Stano Letko

    Hi Stano,
    When ever IDOC fail you can trigger a workflow to the respective person through Partner profile and message type setting .(we20) as Post processing permitted agent .
    Get in touch with techincal person who have idea of  IDOC configuration.
    Message type : DELINS
    Partner number : XXX
    Workflow tcode : PPOSE
    Manish

  • Call functions between classes

    Hi all,
    I have two java classes compiled into the DB in different schemas. How could I call the static method in classA from classB?
    I suppose I need to get the schema name in there somehow, or is it just as simple as classA.method(arg1)
    havent dared trying yet ;)

    You need to change the resolver of the referencing class to include the schema of the referenced class.
    When a class is created, whether directly by create java ddl or by loadjava it has an attribute known as a resolver which is essentially a search path for schemas to look in when resolving names referenced in the class. The resolver is a list of pairs of the form ((<pattern> <schema name>)(<pattern> <schema name>)...). When the class is resolved any name X that it references is bound to a class object by iterating over the resolver from left to right identifying each term in which the name of X matches the pattern and looking to see whether a class with the name of X exists in the schema identified by the term. If such a class exists, the search stops and the name X is bound to that class. If after looking at all the terms there is no class found, then a resolution error occurs. The pattern can either be an explicit name, or an explicit prefix followed by '*' or simply '*'. The latter is the usual pattern used, and matches any name. The default resolver given when a class is created without explicitly specifying an alternate resolver is ((* <current schema>)(* PUBLIC)). A class with this resolver will be able to resolve names in its own schema or in PUBLIC. In your case you want the referencing class to have a resolver like
    ((* <current schema>)(* <the other schema>)(* PUBLIC))
    or some variation on this. An alternate resolver can be specified in loadjava using the -resolver argument, or in create or alter java ddl using the
    resolver ((...)...) syntax. This is all documented in the java developers guide.

  • Pages sync function between Mac and iPhone

    I decided to get Pages to sync between my iPhone and my Macbook Pro because of the feature that lets me continue typing on my phone when I can't use my laptop. But I want to know if, when I make a document, does my phone need constant internet connection or does it just kind of download it to the phone and updates when I look for it on my computer?
    I'm basically asking if my data bill will reflect me using this feature or can I not worry past the initial download.
    Thanks

    I have been doing some reading on the Apple site, and they do not explicitly state that Pages on IOS 8.1 autosaves. I have my suspicions that it does.
    I don't have IOS 8.1 installed here, but a simple test can be revealing. Open the same document from iCloud drive on your phone, and on your Mac in Pages v5.5. Make changes to the document on your phone. Don't attempt to quit the application. Do the changes automatically update after a short delay on Pages v5.5? If they do, then you know that the phones network connection is utilized — likely with Wi-Fi priority over your carrier data plan.
    Do not confuse iCloud Drive document availability on participating networked Apple devices as the Handoff feature. I still believe for that to automatically work, it would require Bluetooth enabled on both devices, and local proximity to one another.

  • Lost functionality between CS6 and CC2014

    In CS6 if you were zoomed into a photo you could press the space-bar and C to zoom out and treat the window as if it were the navigator pallet... In CC 2014 this option seems to be gone. Is it just hidden or is it really gone and if it is gone where can i request that feature to be added back?

    I don't think holding space and C work like a navigator for me in CS6, CC or CC 2014. However holding the "H" key and using the left mouse button work like a navigator on all three.

  • How to Disable or Remove the Click and Call Function

     The Skype Click and Call function highlights phone and contact numbers on webpages and emails, and a Skype call can be executed by simply clicking the highlighted number. The easiest way to disable this is to remove or uninstall the Click to Call with Skype plugin, via Control Panel's Add/Remove or Uninstall Program function.
       Click and Call feature can also be deactivated by disabling or removing the plugin through your browsers' manage add-ons/plugins options (actual procedure varies according the the browser type).  Moreover, to re-enable this function, just download and install the Click and Call plugin again; Download Skype’s Click and Call plug-in   

    BISability wrote:
    I had to uninstall Skype Click-To-Call because after the last update, all Microsoft products copy/paste was broken, allowing only pasting of Unicode Text. As a programmer, this is serious really bad programmings and aweful beta testing and quality control. How many millions of people are affected by this? Priority one bug fix should be initiated and rolled out asap. the following was posted at skype.com back in April http://blogs.skype.com/garage/2012/04/skype_click_to_call_fix_for_of.html
    plus there is now an even later release
    http://www.skype.com/intl/en-us/get-skype/on-your-computer/click-to-call/windows/

  • Synchronous message handling between OSB and MQ

    Hi,
    I have a requirement to have a PS in OSB that gets some XML data from another application.
    The PS implementation has to be synchronous.
    The interface is like
    External Application<->OSB PS<->MQ<->OSB <-> External Application
    Can anyone help me with the request-reply implementation(i.e. synchronous call handling) between OSB and MQ.
    Required functionality :
    OSB will get XML data from the external application,will do the data transformation to make it compatible with MQ interface and will then send data to MQ and will wait for the reply from MQ that it then sends back to the external application after transformation.
    Queries:
    How to correlate two messages i.e. request msg to mq and reply msg from mq in OSB?
    What kind of Proxy Service implementation is required to have such functionality?
    If someone can help me with similar kind of implementation,it will be of great help to me.
    Thanks in advance

    OSB support this pattern out of the box . You can implement the MessageID pattern as specified in this link:
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/interopjms/MsgIDPatternforJMS.html
    When you configure the business service to use MessageID as the correlation pattern, the following happens under the hood:
    1. Business service sends request to the MQ request queue. The MQ JMS provider sets the message ID on the message and this is returned to the bs. The business service also sets the reply queue details in the JMSReplyTo Header in the request.
    2. The business service then waits for a response message which has a correlationID equal to the messageID in the request message.
    3. The system which processes the request from the MQ should set the correlation ID of the response to the same value as the Message ID in the request.
    4. The business service process the reply if it is received before the timeout interval. No need to purge the queues for message arriving out after timeout since OSB does this automatically for you.
    A point to note here is that if you deploy this in a cluster , you need to create 'N' local MQ queues for reply, where N is same as the number of managed servers in the cluster. Else you could lose replies in a scenario where the reply for a request sent by man server 'X" is processed by man server "Y". The request-response correlation tables are maintained internally on man server memory. Since Y had no clue of the requests sent in X it would just discard the reply received.
    So create dedicate queues for each man server and specify them in the business service definition.
    Another key thing for this to work would be to get right the MQ setup between the queue manager in OSB domain and the remote system which process the MQ requests. A simple setup would be for you to create all reply queues as local queues under your OSB queue manager and create only a transmission queue with the same name as your OSB queue manager in the remote system. You need to ask the remote system to do the MQOpen with the ReplyToQueue and ReplyToQM names for queue and queue manager names. This will put the replies to the transmission queue to your QM and through it can reach the right reply queue.
    Edited by: atheek1 on Mar 29, 2010 7:50 AM

  • Mismatch between availability and marker

    I have run the following command:
    /repvfy -detail -fix -pwd password
    and am seeing a section called "Mismatch between availabiltiy and marker". What does this mean? I know there is a bug out from Note: 735957 against 10.2.04 and that patch 6951116 is available. I also know this bug is fixed in 10.2.0.5. But I don't know what exactly this section is telling me. Here is the output I am seeing:
    6. Mismatches between availability and marker
    TARGET_GUID TARGET_NAME TARGET_TYPE MARKER_AVAIL_STATUS MARKER_TIME CURRENT_STATUS START_TIME
    9CB8EE19415C3C6B55954BF3346C1106 ssan-Internal Concurrent Manager oracle_apps_icm 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:22
    1B21AAEF5AC63DD44FE339B7852EA1EE ssan-Report Server_ssan_devstar2 oracle_apps_reports 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:13
    F5EAD749526EC1116A70157771E3D011 ssan-Oracle Workflow Agent Listener oracle_apps_wfalsnr 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:29
    CD32714673BC508CDBF85BF191A5A1B7 ssan-Workflow Background Engine oracle_apps_wfbg 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:26
    FADA1D6BF4DFD0E8AA1739A6666BA210 SSAN oracle_database 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:40
    0BE2ACE2EDC7271744DA1A249E30C9A5 APPS_ssan oracle_listener 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:12
    89D241EEEF24821E30AD66741BC3D433 devstar2.rtd-denver.com oracle_listener 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:20
    F40BAF501645A5957A498E7A270AEA47 ssan-Apps Listener_ssan_devstar2 oracle_listener 6 09-JUN-2009 10:41:50 1 28-MAY-2009 14:25:28
    8 rows selected.

    Various provision like Freight, transport etc .
    these should go to separate GL accounts. if you give wrong account assignment value will be passed to GRIR. then difference will happen
    sunoj

  • Diff in functionality betwen centralised and decentralised Warehouse magmt

    Hi Gurus,
      Could anybody clarify the difference in functionality between centralized and decentralized warehouse management linked with inventory management in SAP System.
      mail me related doc or pdf to mai ID: [email protected]
    fFull points for answer
    regards,
    Venkatesh

    Hello Venkatesh,
    Functionality are same in centralized warehouse management and decentralized management, but is all about the volume of transactions, system performance and independency.
    The following document will give you very good idea about the decentralized warehouse management.
    http://www.catalystinternational.com/Content/Knowledge_Center/Downloads/whitepapers/dWM_Whitepaper.pdf
    Hope this helps.
    Regards
    Arif Mansuri

  • Custom functionality for home and end keys?

    I don't know anything about automate, but I was wondering if it's possible to do this:
    I'm a former PC user and on PCs you could use the 'home' and 'end' keys to go to the beginning and end of one line (subsequently, you could hold shift + home/end to highlight from your current cursor position to the beginning or end of a line). This functionality is extremely helpful for text editing and programming. Luckily the versions of Word and Dreamweaver I have on mac do use this, but TextEdit, Flash, and others do not. Is there anyway to program this kind of functionality? And if so how? And why is basic functionality like this different program to program on macs? PC's were at least consistent. Thanks!

    The Command and Option shortcuts will take some getting used to, but that will work. Thanks! an external text editor would be okay for some things, but not Flash ActionScripting within a flash file.
    I just wish some of the more basic functions between mac and pc were the same. I think both platforms would have an easier time getting users to switch if they were a little more consistent and took some of the good features of each into consideration.

Maybe you are looking for