_WIN32_IE different value in 2009 of the CVI and CVI 2010

Hello everyone, I have a special problem, that I have not experienced before. I hope that I'm not the first person to deal with this problem...

I have a code written and properly compiled in 2009 CVI source and just trying to compile it in CVI 2010 as it is, until I make my changes. The problem is that, in 2010, the NM_CUSTOMDRAW defined in CommCtrl.h (and other things used in the source code) (see below) is not found by the pre-procesor because _WIN32_IE value is not the same as in 2009 of the CVI. I wonder if this _WIN32_IE is set by the compiler itself. I tried to change it in the Build-> Configuration-> Manage configuration-> Edit-> Build options-> compiler sets by adding the /D_WIN32_IE sentence = 0 x 0300, but then the compiler says "ilegal expresion" at the first time, it takes the value _WIN32_IE in ShellAPI.h. I have the same error in compilation for 64 and 32.

Suggestions please!

CommCtrl.h

...

#if (_WIN32_IE > = 0 x 0300)
#define NM_CUSTOMDRAW (NM_FIRST-12)

...

Josete Hello,

Which is the line which gives you errors? Is it in your code or in a headder file? NM_CUSTOMDRAW use in your code?

/ D_WIN32_IE = 0 x 0300 in the compiler sets should work. What is the line that gives you an error in ShellAPI.h?

Could you please list the headers you include in a file that gives you an error.

To understand how the preprocessor directives are expanded, you can use the menu Options-> pre-treatment of Source files from a window of the source editor.

Constantin

Tags: NI Software

Similar Questions

  • How to set a fixed length scheme, composed of several documents of different types, with details of the header and footer in points 22 and 23, namely having 10 for 20 for detail header and 30 for the footer

    How to set a fixed length scheme, composed of several documents of different types, with details of the header and footer in points 22 and 23, namely having 10 for header, 20 for retail and 30 for the footer.

    Here is the sample file

    DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\ 2013/09/25 01:19:08 BILLEND

    DDWTYBILL13092502572 2000000212PRIVATE PRIVATE STY5572142 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT NNM DIMPHANA, CN, CELESTE NERINA 9 January 1964 TYG A2 DR OF PREEZ 5602181 63301345 TB731543 Suspect 91TB? (AC) EMPIEEM A2 Z03.0 05-AUG-201305-AUG-201324-SEP Z03.9 - 2013FEND 113,60 TYGERBERG HOSPITAL Ward

    DDWTYBILL13092502572 2000000312PRIVATE PRIVATE STY5572149 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNM DIMPHANA, CN, CELESTE NERINA 9 January 1964 TYG A2 DR OF PREEZ 5602181 63301345 TB731548 empyema GMP A2 Z03.9 05-AUG-201305-AUG-201324-SEP Z03.9 - 2013FEND 113,60 TYGERBERG HOSPITAL Ward

    DDWTYBILL13092502572 2000000412PRIVATE PRIVATE STY5572351 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT NNM DIMPHANA, CN, CELESTE NERINA 9 January 1964 TYG A2 DR OF PREEZ 5602181 63301345 TB731584 Suspect 91TB? EMPIEEM? CA Ward HOSPITAL TYGERBERG Z03.0 Z03.9 A2 05-AUG-201305-AUG-201324-SEP-2013FEND 113,60

    DDWTYBILL13092502572 2000000512PRIVATE PRIVATE STY5572352 010700 INV 12STYD000789 02-AUG-20130000010472 STY STY 1100611006MGIT NNM DIMPHANA, CN, CELESTE NERINA 9 January 1964 TYG A2 DR OF PREEZ 5602181 63301345 TB731585 Suspect 91TB? EMPIEEM? CA Ward HOSPITAL TYGERBERG Z03.0 Z03.9 A2 05-AUG-201305-AUG-201324-SEP-2013FEND 113,60

    DDWTYBILL13092502572 2000000612MAJOR MAJOR STY5577530 010700 INV 12ZTYG000009 02-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS ZOZI, S, SIYAMBONGA 27 March 2010 TYG D3 DR MARCELIN 5602181 113799662 TB731663 lymphadenitis Ward D3 TYGERBERG HOSPITAL I88.9 Z03.9 07-AUG-201307-AUG-201324-SEP H1 - 2013MEND 58,52

    DDWTYBILL13092502572 2000000712MAJOR STY5577537 MAJOR 010700 INV 12ZTYG000009 06-AUG-20130000010472 STY STY 1100611006MGIT 91 NNS DLAMINI, N, SIMON TYG 9 October 1976 F1 DR WZESE 5602181 135524676 TB731666 Suspect Ward TB F1 TYGERBERG HOSPITAL Z03.0 Z03.9 H1 07-AUG-201314-AUG-201324-SEP - 2013MEND 58,52

    DDWTYBILL13092502572 30003034120000003032END

    You can create a nXSD the use of the Native Format generator and advanced search attribute is used to read values to a specific position and use it as the choice. You can find an example here

    http://docs.Oracle.com/CD/E11036_01/integrate.1013/b28994/NFB.htm#BGBBAJFD

  • How to enter the postcode in the streets and trips 2010

    How can I enter a postcode as 50-33 pl 48th 11377 the streets and trips 2010? These closures are a little different in New York and the streets & trips is not allowing me to enter correctly.

    Hello

    You can check out the following link and see if it helps:

    http://www.Microsoft.com/streets/en-us/PlanBreaks.aspx

    You can also post your request in the forum of Streets and Trips for any matter related to it.

    http://social.Microsoft.com/forums/en/streetsandtrips/threads

    Hope this information is useful.

  • Different values of Excitation in the same spot

    Hello

    I am trying to acquire signals of pressure two sensors of pressure simultaneously using DAQ Assistant. I use an Ethernet NI DAQ with the NI 9237 Module chassis. One of the transducers requires a voltage of 10 vdc, while the other transducer requires 5 vdc excitation. I created a task DAQ Assistant with two channels (one for each transducer). When I run the VI, it returns the following error:

    Error-200257 occurred to the DAQ Assistant

    Possible reasons:

    Property of excitement must be the same for the related physical channels.

    Refer to the documentation for more information on the definition of excitement through the related physical channels.

    Conflicting properties

    Property: AI. Excit.Src
    Value: Internal

    Property: AI. Excit.Val
    Value: 10.0

    Channel name: Pressure_1

    It looks like using different excitations causing the problem. Can you please help me solve this problem in order to acquire simultaneous action of the two sensors and provide the necessary excitement for each of them.

    Aaron_W

    Thank you for your response. Based on what you posted and I expected different values of excitement are at the origin of the problem. However, I am always looking for another solution instead of buying an additional module because it is quite expensive for a student like me.

  • Connect the different values of text on the canvas with arrows using flex

    Hello


    For so many days, I struggle with this problem... Could you please any one help me on this issue...

    I have a datagrid with some data... I have draaged of data for the datagrid control to the canvas as the text value...


    What I have to do iss:

    Connect these dragged values with arrows and design a flowchart by adding these values with the arrows... want to move these values on canvas in the other place in the Web (slide - déposer somewhere in the area of the canvas.) ... Can you please provide me sample example for this...

    Please please help on this...

    Thanks in advance

    You can clean the area and create it again.

    Thank you

    Atul

  • The CVI 2010 SP1 download link works?

    The downloaded file from SP1 link seems to be the unserviced pack version. After the 'install' which took place much too quickly, the help > about shows LW/CVI 2010 Version 10.0.0 (360). Am I missing something or am I just too early?

    Hello

    There has recently been some changes made to the experience of downloading on ni.com.  To get the latest download for the ICB, please visit ni.com/downloads.  There you should find the LabWindows/CVI 2010 SP1 download.

    Let me know if you have any problems,

    NickB

    National Instruments

  • How to set different fonts for numbers in the titles and tables of contents

    Hello

    I noticed some people to use a different font for the numbers in the titles and tables of contents to get an extra magic. Is it possible to automate the use of fonts in paragraph styles?

    Oh and suggestions on which fonts would be a good thing for numbers?

    Thank you!

    Furthermore, you must doany of this fancy stuff if you use an OpenType font that made OSF glyphs (and if you are not you will need to set the font as part of your style). Just head on to the style definition and enable OSF there OpenType features section.

  • Problem with the value by defect of the shuttle and transfer to the following site

    Hi alltogether.

    We have a problem with a shuttle service on a page at the Apex.

    The shuttle is filled by a pl/sql in a database and then wanted the values that are already in the database for that user defined by default on the right side of the shuttle.

    For the satisfaction that we used the way mentioned in the blog here:
    http://dgielis.blogspot.com/2008/01/Apex-by-example-default-value-of.html

    It worked well.

    Now we have a problem, and somehow, we can't find a solution here in the forum, or through google.

    By clicking Next, to have passed on to the next page in the workflow the default values sort are removed.

    If I look in the Session before the transfer, I see IDS are loaded as default values, but after clicking Next, the validation gives an error (the shuttle is not allowed to be null) and then the IDS are deleted when the session...

    We don't know where it comes from and hopefully someone here might be able to help us...

    Greetings
    Chris

    P.s: Don't mind my English please is not my native language

    Chris,

    As you say NOT NULL validation fails, but the session shows the values before you hit the other, pick up a calculation process or submit before calculations and Validations that might be reset the shuttle.

    Have you tried running the page with debug and observing the execution path?

    If no aid above maybe you can do a test on apex.oracle.com case?

    Kind regards

  • Display different IMEI Smartphones blackBerry in the phone and the IMEI glued to the back, behind the battery

    I just bought a Blackberry curve 9360 and the problem is the PIN & IMEI that appears on the phone is:

    IMEI: 3 * 5899

    PIN: 2 * C3

    but the IMEI sticker stuck to the back of the battery and as well as on the boxshows:

    IMEI: 357965042073448

    PIN: 2 * 4F

    It's really frustrating. Also I can't use the BIS plan that is already activated, because whenever I ask you to join the host routing table, it returns with none.

    I use Airtel India as my carrier. Help, please.

    You already posted this. Return the unit where you bought it. It's been tampered with.

  • Different plan back color between the composition and rendering after adobe media encoder

    I discovered after effect...

    I have a problem of correspondence between the composition and the final rendering through adobe media encoder

    The color of the background composition of Loire (regardless of color) and always a background BLACK after the adobe media encoder

    After 2.jpgAfter 3.jpg

    Despite several manipulations by changing the settings I can't solve the problem.

    A little help would be welcome, thanks

    The composition background color will never surrender.  Hug composition background color will never, not even with the record locator.  The background is transparent and will always be unless you fill it with pixels. Unless you choose a format that supports Alpha channels, Alpha channels will make always black. Media players will always play a movie with a black background with alpha channel. If you want a yellow background, you will need a solid yellow or yellow shape on the bottom of your model layer.

  • Windows 7 Aero does not work after the computer and Lync 2010 screen sharing session force shutdown

    Hi guys,.

    I can't activate Aero, my theme is stuck on Basic after that I got a power issue and forced stop running Lync 2010 screen sharing (this disables Aero but it turns on when the sharing is stopped).

    I'm running Windows 7 Ultimate x 64 on a workstation with the following specifications:

    CPU: AMD Phenom II X 4 955

    RAM: 16GB DDR3 Corsair

    GPU: nVidia GTS 450 (1 GB of GDDR5 memory)

    My Windows experience index is 5.9 (determined by HDD SATAII, the rest scores are higher than 7).

    Troubleshooting I executed before writing these lines:

    • Updated my nVidia drivers
    • Checked the themes and DWM Session Manager services, both started, both the Auto value
    • Ran the store built, the problem cannot be resolved
    • Running the Wizard Microsoft Fix It, he pointed out that my graphics card does not support Aero Glass

    So the GPU is not the problem, I've been running Aero until this problem has occurred.

    Any ideas?

    Thank you!

    Hello

    It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Forum.

    You can follow the link to your question:

    The customers TechNet Lync and devices Forum

    http://social.technet.Microsoft.com/forums/en-us/ocsclients/threads

  • Activation of the streets and trips 2010

    My name is Jim.  I am trying to install streets & trips 2010 on my new laptop.  It has been previously installed and worked fine on my old laptop.  When you try to activate it on the new laptop and after you enter the correct product key, I get a "invalid or invalaid product key" notice.  I called MS activation service and they confirmed that my product key is valid.  Customer service says they can't help because phone activitation for this version does not work because this version is obsolete and cannot help me.  Can someone help me get beyond this issue, if I may use the product on my new laptop computer?

    Hello

    Check with streets and trips in support of the community and Forum.

    Streets & Trips
    http://www.Microsoft.com/streets/en-us/default.aspx

    Streets & Trips - help and Support
    http://www.Microsoft.com/streets/en-us/support-and-training.aspx

    Streets and travel community
    http://www.Microsoft.com/streets/en-us/community-and-news.aspx

    Streets and travel Forum
    http://social.Microsoft.com/forums/en-us/streetsandtrips/threads

    Support for MapPoint, streets & trips and Highway
    http://support.Microsoft.com/ph/851

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • set values for numbers in the precision and scale

    Hello.

    I have a column named total amount by which the total showed up as 999. I want to show resembles 999.99.

    Amount total is a database column.

    My query:

    Select

    p.PRODUCT_ID,

    PN.product_name,

    p.PRODUCT_QTY,

    p.unit_price,

    p.TOTAL_AMOUNT

    OMS_SHIP_CART_DETAIL p, pn OMS_PRODUCT

    where p.product_id = pn.product_id

    and user_id = 1

    Run it below and check the last column.

    Select

    p.PRODUCT_ID,

    PN.product_name,

    p.PRODUCT_QTY,

    p.unit_price,

    TO_CHAR (p.TOTAL_AMOUNT, '99999999999999.99') Total_amount

    OMS_SHIP_CART_DETAIL p, pn OMS_PRODUCT

    where p.product_id = pn.product_id

    and user_id = 1

    In running this you can print your 999.00 value, if the value of your database is 999.

    Is there a reason why you want to do like 999.99, which would be incorrect according to the value of the database

  • Different behaviors in music videos the remote and

    I'm writing a flash framework that is used to load other SWFs as 'applications '. The framework provides a simple API by setting certain functions to the _root, so that loading the applications may call using _root.whatever (...).

    It's all work beautifully... except for one thing:

    I want to allow access of applications loaded at named singletons by application. This method works perfect when run locally.

    BUT: When downloaded and executed in a browser the singleton objects returned by the functions in 1. swf are still undefined.

    I know, by means of debugging statements and a debug output window when running remotely the singleton object is definatley not created only once and subsequent requests for it return the object created.

    Here's what's happening.
    the main frame, 1. swf is loaded
    This in turn loads (for example) app.swf
    App.swf contains two movieclips, both of which call
    _root. GetSingleton (This, "Globals");
    Where the function getSingleton was placed on _root by 1. swf loading.
    However, although the output of debugging for the function getSingleton shows that it returns an object at the time wherever he will return in the app.swf clips, the object became not defined!

    I've seen this kind of behaviour before. Return values of functions sometimes just go missing in transit and becomes undefined. Does anyone have any ideas? I don't think it can be a security problem, because all the SWFs are loaded from the same server.

    And the answer is:

    Do not use getURL("javascript:...");

    because it has broken and will cause very strange behavior. for example:

    for loops (x y) terminate unexpectedly
    return values of function calls goes missing

    Use:

    ExternalInterface.call("function",...);

    Instead. It works fine.

  • the .c and .h files still open in CVI 9.0 even with CVI 2009 is installed

    I had this problem for a while but have managed to live with her. Since I installed LabWindows/CVI 2009 my .c and .h files still open in LabWindows/CVI 9.0. all .cws, .fp, .uir and .prj files will open in 2009. I tried the files in "file types" remapping and even fiddled with the registry to try to get the .c and .h files to open with the correct version of the CVI. This has been without success.

    Any help would be appreciated.

    Thank you!

    I found myself fixing entering into the registry and change the path to cvi.exe. He was always set the path to the executable file for CVI 9.0. That's what the types of files for .c and .h files were SEO even if I selected the executable file in 2009 of the CVI.

    It seems that the path was never changed when I installed CVI 2009.

    Regards-

    John o ' c

Maybe you are looking for