I want to use the expression edit control in a VC++ DLL, how?

Good morning,
as mentioned I want to use the expression edit control in my DLL written with VSC++ 2005 MFC. But I ran into some problems:
If I just add the ExpressionEdit control from the toolbar to my dialog then the dialog will not be shown during runtime. As soon as I delete the control the dialog shows up.
In the TS examples is one called 'TCL' (...National Instruments\TestStand 4.1.1\Examples\Tcl\source\EditSubstep). This is programmed in C++ and uses the expression edit control.
The original dll works fine but as soon as I compile the editsubstep with my VS 2005 I get a runtime error (see image).
What do i have to do to be able to use this control?
Has anybody an working example for me?
Cheers Frank
Solved!
Go to Solution.
Attachments:
fehler.JPG ‏21 KB

@juergen: how do I know which lib I am using?
I am using this COM-Control: c:\programme\national Instruments\testStand 4.1.1\bin\exprEdit.dll
@Doug: I created the sequence as you described and used this for debugging to find out where the problem is.
I found out, that the problem must be somewhere here:
dlgcore.cpp
BOOL CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,
CWnd* pParentWnd, HINSTANCE hInst)
Line 314:
hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,
pParentWnd->GetSafeHwnd(), AfxDlgProc);
Without the ExpEdit-control hWnd has a Value
with control hWnd is 0.
This is what I found out so far.
Frank

Similar Messages

  • I have on airport express that is 5  years old, I now have a new wireless router.  I want to  use the express just for air waving iTunes.  How do I set it up?

    I have on airport express that is 5  years old, I now have a new wireless router.  I want to  use the express just for air waving iTunes.  How do I set it up?

    Hello 84wvu,
    It sounds like you want to setup your Airport Express to Airplay music from iTunes.  I found an article with steps to help you get this setup:
    Connecting to an existing Wi-Fi network, exclusively for iTunes music
    AirPort Express used exclusively for AirPlay by setting it up in Client Mode.
    Choose this configuration if the computer containing your iTunes library may be out of direct range of the AirPort Express, but is within range of the Wi-Fi network.
    How to Set It Up
    Connect your AirPort Express to your home stereo or powered speakers.
    From your computer, join the wireless network. Use the AirPort status menu in the menu bar on a Mac. On a Windows-based computer, hold the pointer over the wireless connection icon until you see your AirPort network name (SSID), and choose it from the list if there are multiple networks available. Enter the network password, if necessary.
    Open iTunes on your computer and choose the AirPort Express(es) you wish to stream music through from the speakers pop-up menu in the lower-right corner of the iTunes window.
    I also recommend reviewing the sections titled "Some things you should know about AirPort Express with AirPlay" and "Things to consider before you begin" in the full article:
    Wi-Fi base stations: How to set up and configure AirPort Express for AirPlay and iTunes
    http://support.apple.com/kb/ht4587
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

  • I don't want to use the head phones when making a call.  How do I turn up the ear volume on the iphone 4se

    I can't hear people when they call me.  How do I raise the volume with out using the head phones?

    You can only raise and lower the earpiece volume while you are on a call. So, make a call, then use the bottons on the side to adjust the volume. If you're not in a call, those buttons will adjust the ringer/media volume.

  • I am adding itunes to a new computer and I do not want to use the back-up that is in icloud. How do I bypass icloud so i can add music from "My Music" file

    I am installing itunes on a new computer (Windows 8,1). I want to start fresh and would like to import my music from my music file and not from icloud. How do I make sure icloud doesn't automatically populate itunes on the new computer?

    Uncheck Edit > Preferences > Store > Show iTunes in the cloud purchases
    The correct way to move iTunes from one computer to another is to copy the ENTIRE iTunes folder from the old computer (or backup of the old computer) to the new computer.  This will make everything in iTunes on the new computer exactly as it was on the old computer.

  • I believe my phone was just stolen while shopping, I want to use the find my phone option but dont know how to do it from my computer

    Can anyone tell me how to locate my phone with the find my phone option?

    Login to iCloud.com, from any computer, & try to locate your phone. Be aware, most thieves know to turn an iPhone off & remove the sim card. This defeats Find My Phone. Report the loss to the police, your carrier & Insurance company. Change all of your passwords.

  • How can I find my serial number for Adobe Acrobat 11. I got a new iMac and I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    I used to use CS5 and I want to use the Acrobat version on my new iMac.
    How can I find my serial number for Adobe Acrobat 11.  I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    Hi Anthony Aduhene
    Please refer : Find your serial number quickly

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • HT204053 Enter the Apple ID you want to use for iCloud in Control Panel Network Internet iCloud.  Enter the Apple ID you want to use for store purchases (including iTunes in the Cloud and iTunes Match) in iTunes iTunes Store.

    Enter the Apple ID you want to use for iCloud in Control Panel > Network > Internet > iCloud. 
    Enter the Apple ID you want to use for store purchases (including iTunes in the Cloud and iTunes Match) in iTunes > iTunes Store.

    Welcome to the Apple community.
    iTunes and iCloud and different accounts, you will need to delete both accounts from your device before adding the new details in their place.
    For iCloud go to settings > iCloud, scroll down and hit the delete button. You can then sign back in using your correct details. For iTunes go to settings >store, tap your account ID and then sign out, you can then sign back in using your correct Apple ID.

  • Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections. For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb. These terrible download speed really only affects the iPhones as my MacBook Pro usually gets the good speed no matter where it is. I don't believe there is anything wrong with my phone because if I am in the part of the house that uses just the extreme the download speeds on the iphone goes up to 50-75mb. As a note I have an AirPort Extreme on the top floor of my house (second floor) that's where my modem is located. On the first floor that's where one airport express is located. I also have another airport express in the basement that is accessed by my landlord. Any thoughts on how to fix this would be helpful.

    Is there a way to turn the wireless capabilities off on an AirPort Express?  I have an AirPort Extreme as my main router and use the express to just extend it. I only really want to you use the express for hard ethernet connections.
    It appears that your networking goals with the AirPort Express is to use it as a wireless Ethernet bridge instead of using it to extend the wireless range of your AirPort Extreme. The latter requires that the Express Wi-Fi radios be enabled.
    If you intended to use the Express as a wireless bridge, you just need to reconfigure it to "Join a wireless" network instead of "Extend a wireless network."
    For whatever reason when I have my express extend my wifi at home the download speed from just the express is absolutely terrible, drops to about 1.5 mb compared to when it's on the extremes part of the network the speed goes up to 50-75mb.
    In an extended network, the placement of the extending base station is critical as it can only extend the wireless network at the bandwidth at which it receives it.
    Please check out the following AirPort User Tip for details on optimal base station placement.

  • I want to use Airport Express in my hotel room using the wired internet connection, but I don't carry a computer, just my iPad.  Is that possible?

    I want to use AirPort Express when I am traveling.  I would like to use a wired internet connection in a hotel room to create a wireless connection.  However, I do not normally carry my laptop, just my iPad.  Is it possible to do this?

    You will have to pre-configure the Express using AirPort Utility on your computer before you leave on the trip. The Express will store and remember the settings.
    You might want to check with the hotel in advance to make sure that they have Ethernet ports available. Most hotels have switched to wireless and the others are not far behind.

  • HT3728 I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    I do not need another wireless network but want to use the airport express for printer access only.  Can this be done and how?

    You can configure the AirPort Expess to "Join a wireless network" and enable the Ethernet port so that Ethernet devices will be able to connect.
    In order to print from the iOS devices, you will need to have an application like Printopia installed on your Mac. The Mac must be active when you want to print.
    More details here: Printopia - AirPrint to Any Printer - Print from iPad - Print from iPhone ...
    There is a free trial available for Printopia, so make sure that it will work before you buy the AirPort Express.

  • HT4864 Do I need to use Outlook as my email programme instead of Outlook Express if I want to use The Cloud to sync between PC and iPad? Can I transfer my contacts, emails and diary appontments from Outlook Express to Outlook?

    Do I need to use Outlook as my email programme instead of Outlook Express if I want to use The Cloud to sync between PC and iPad? Can I transfer my existing contacts, emails and diary appointments from Outlook Express to Outlook? What is cheapest way to aquire Outlook?

    iCloud only "syncs" data in the iCloud account, not data in other external accounts such as Gmail, Yahoo, etc.  If your email, contacts and calendars are hosted by another external account, such as Gmail/Google, you may want to not sync this data using iCloud as you would have import it all to the iCloud account in order to do so.  Instead, add your external account to your iOS devices and in Settings>Mail,Conacts,Calendars>Add Account and turn on contacts and calendar syncing with your external account.

  • I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?

    I scanned an image and want to use the image trace tool, but it doesn't pick up all the lines.  Is there a way to darken the lines before using the image trace tool?  Help!

    If the scan is in B&W, then play with the Threshold setting here
    If it's in Color, then you will have to open the scan in a Raster editing software (like Photoshop) and play with the Brightness/Contrast settings to make the lines bolder.

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use?

    I have an airport extreme and express, if I use the extreme as a base station connected to my old router can I use the express to extend the signal while also creating a new network that only I can use? Essentially having two wifi connection off the same network? If so how do I set this up?

    Extending using a wireless connection always results in a performance compromise.
    If the Express is going to extend using a wireless connection, then the Express will need to be located about half way between the AirPort Extreme and the general area where you need more wireless coverage. The more that you have line-of-sight between the Extreme and Express, the better the network will operate.
    Remember......the Express can only "extend" the quality and signal speed that it receives, so it needs to be located where it can get a very good signal from the Extreme. Although Apple cleverly uses the term "extend", a more accurate term for the Express would be "repeater".
    If the Express will extend by connecting to the Extreme using a permanent, wired Ethernet cable connection......highly recommended for best performance.....then the Express can be located exactly where you need more wireless coverage. There is no signal loss at all through the Ethernet cable, so the Express gets a full speed signal no matter where it might be located.
    Post back to let us know which way to you want to go.

Maybe you are looking for

  • Rounding difference in down payment for header condition

    We have header condition, marked as "group condition" for traqnsport. But when doing down payment the system calculates incorrectly - for example I enter transport $600 at header level, but because the system calculates it at item level and due to ro

  • Promise to Pay

    Hello Experts, Can someone explain me the concept of "Promise to Pay" in Accounts Receivables and the configuration involved in this. Regards, Sriram

  • Order book without dust cover

    Hello, I have iPhoto '08, in the past when I ordered a Hard cover 8.5 x 11 book via iPhoto it came with a canvas cover with the picture on the front. The latest book I ordered came with a dust cover and a picture on the dust cover by default. I was w

  • RFC as type of connection in transaction sm04 of Database server

    Hello I wander what means RFC as type of connection in transaction sm04 of Database server. Does it mean an user logged on applicaton server is displayed on database server as RFC?

  • Netsh wlan show profiles name=[profile name] key=clear batch file

    i want to make a bat.file for this command : netsh wlan show profiles name=[profile name] key=clear. when i start the bat.file, i want to only write in the network name, and just press enter. and then the network key will show. can you help me please