Call COM components as a service Windows 7 (NOT A WEB SERVICE!) via LabVIEW
First of all, what I'm trying to do is completely new terrority for me and I've looked everywhere, impossible to find a solution. I have reviewed the following resources and tried to get out but nothing helps:
[1] ActiveX and LabVIEW
http://www.NI.com/white-paper/2983/en
[2] ActiveX and COM - part I
http://www.NI.com/white-paper/2981/en
[3] tutorial: Configure the node of the function of the library Call to call a Simple DLL
https://decibel.NI.com/content/docs/doc-9069
My problem is that I got a COM which was installed to run as a Windows 7 service, always running in the background (service.msc). So far, it seems only to be an intuition that you shoul dbe able to use:
(A) ActiveX in LabVIEW to call the COM object by name or the .dll file.
(B) call the .dll file of the service using the library function node call
I see the COM running as a service if I (service.msc). I see also two .dll files associated with this service (they have the same base name as the service running). Let's say the service is called "TestService" then the other two .dll are called "TestServicePK.dll" and "TestServiceXY.dll." In test ActiveX and node library function call, I tried to call the two .dll files. When I tried the ActiveX method I get "the selected file is not a .NET, type library or executable automation assembly."
Also COM binaries were made in C++, but if I understand well there should not be a problem at least for the library call feature.
This seems to be a case of corner.
Actually COM! = ActiveX!
COM uses ActiveX to implements its objects and also to instantiate and control their but COM is simply a binary model of the API and some functions to control the instantiation and the lifecycle of objects COM, nothing else. The only way to access COM objects correctly (when no ActiveX type library is provided) is to have a C (++) compiler that can analyze the header files according to interface with the interface object methods. All ActiveX controls use COM to implement the interface calling of their objects, but also adds a type library in the DLL and a few other niceties such as the properties of the object. This type library describes how to match the properties and methods of the ActiveX for real virtual table COM interface pointers.
LabVIEW lists this type library in order to be able to interface to the COM, Active X objects interface. A pure COM library is missing all these subtleties. If LabVIEW would be favourable to a COM interface node, its configuration should allow the configuration of all the things that describes the type library. This configuration would require a lot of manual configuration details, similar to what the library node call, only a magnitude more complex. If this is not really an option.
If your server COM DLL does not an ActiveX type library interface, the only way to access it in LabVIEW must obtain such a type library as an external interface (not possible for all COM components) or to wrap the COM DLL server by a traditional DLL, which translates the methods standard COM exported C functions then that may be called by the node library call.
Creating a library of types from a single COM DLL is more or less unfeasable. You should at least have the original IDL file that was used to create the interface com write a C (++) wrapper for your object COM is very probably the most practical approach, but will require some good C programming knowledge as well as experience handling COM objects in C code.
Tags: NI Software
Similar Questions
-
wireless connection on windows but not fast web
Do we have a solution to the problem of wireless works with Windows, but not of Quickweb?
If you run the wireless configuration secure as WPA2, you will not be able to use internet in quickweb. limitation of the quickweb OS (software). Please have the Basic setting of the network, check, this should work for you.
-
Footer seems to be 'stick' at the bottom of the browser window and not substantive Web site edge
Hi all
I am designing a site in Muse CC (2014) and I have my footer on the main template located in the designated page footer area. But for some reason, the footer is anchoring or paste along the very bottom of the browser window instead of at the bottom of the box for the Web site online. Here is a link to the site:
You may need to adjust your window and drag down to see what happening, since on the first appearance, it seems to sit correctly on the lower edge of the Web site.
Thanks for your help!
Howard
Click right ono your footer items and uncheck "Sticky Footer".
-
Windows 7 not genuine, authentic, so no cycle - how to fix?
So I loaded windows and I had turned it on and it was authentic. Then, I logged on the next day and it was apparently not authentic (Build 7600) I have tryied the SLMGR-REARM and that worked. Still, it was authentic!
So I come back the next day - windows is not genuine construction 7601. This time, I deleted the KB-170339 (or something like that) and now there are tons of updates from windows to do and I'm afraid that if I update them make the Moon "not authentic."
It's really annoying and the SLMGR-REARM appears as a temporary solution. I know that this copy is authentic (windows 7 ultimate), but it seems to become non-authentique after a certain period of time.
Why? How can this be repaired? It's really annoying and when something costs 130 pounds I expect it to work (call me old fashioned).
Repair and recovery Forum left Windows 7.
Try to activate Windows 7 by phone
http://support.Microsoft.com/kb/950929/en-us1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) to select your "country" you are in the drop-down list.
(4) choose the option "activate phone".
(5) stay on the phone * do not select/press any option * and wait for a person to help you.
(6) explain your problem clearly to the support person.
(7) the person must give you a confirmation ID, copy it down on paper,
(8) check that the ID is correct in reading the support person.
(9) to enter the ID number, then click 'Next' to complete the activation process.Activation and registration of a Microsoft product
http://support.Microsoft.com/?kbid=326851
Windows activation: (888) 571-2048
(888) 725-1047 or 800-936-5700What's the relationship between activation and genuine Windows?
http://Windows.Microsoft.com/en-in/Windows7/what-s-the-relationship-between-activation-and-genuine-WindowsWhat is the validation, and how does it work?
Windows 7: http://windows.microsoft.com/en-us/windows/help/genuine/what-is-validation?os=win7
Vista: http://windows.microsoft.com/en-us/windows/help/genuine/what-is-validation?os=winvistaAuthentic Microsoft software program privacy statement
What data is collected?
http://Windows.Microsoft.com/en-us/Windows/genuine/privacy-statement-Product key of letters and numbers-
Not confused the letter B with the number 8, the letter Q with the letter O.
the letter G and the number 6.A, E, I, O and u are not used.
---------------------------- Alternatives -------------------------------------
To enable the use of the phone
1. open Activation of Windows by clicking on the Start button, right click on computer, clicking Properties.
then by clicking on activate Windows now. ?2. click on show me other ways to activate.
3 type your Windows 7 product key, and then click Next.
4. click on use the automated telephone and then click Next.
If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.5. click on the location nearest you from the drop-down list, and then click Next.
6. call one of the available phone numbers listed. An automated system will guide you through the activation process.
7. When prompted, enter the installation ID that is listed on your screen in your phone keypad.
8 Note the confirmation ID the phone system gives you.
9. under the terms of step 3, type the confirmation ID in the space provided, click Next, and then follow the instructions.
10. If the activation is not successful, stay on the line to be transferred to a product activation agent who can help you.
How to contact a Microsoft Product Activation Center by phone
http://support.Microsoft.com/kb/950929Activation and registration of a Microsoft product
http://support.Microsoft.com/?kbid=326851
Windows activation: (888) 571-2048
(888) 725-1047 or 800-936-5700Microsoft Activation centers worldwide telephone numbers:
http://www.Microsoft.com/licensing/existing-customers/activation-centers.aspx
(This site is for activating Volume License, but if you call, they will help you)The phone number is not working:
Microsoft Worldwide contacts: http://www.microsoft.com/worldwide/default.aspxRegister Windows 7
http://Windows.Microsoft.com/en-us/Windows7/help/register
Register Windows 7 and you automatically receive a series of three welcome to Windows e-mails
filled with tips, creative tips and other information to you help get the most out of Windows 7.
You also get a subscription to the monthly newsletter of Windows Explorer,
where you will find other tips and tricks, as well as special offers.Learn about Activation:
http://TechNet.Microsoft.com/en-us/library/ff793423.aspxJ W Stuart: http://www.pagestart.com
-
Windows could not automatically detects the network proxy settings
Recently, I noticed a triangle appearing little attention with my network icon in the taskbar. When I right click and solve problems, it comes with this message. Windows could not automatically detect the network proxy settings. My internet has been really slow lately, but I wonder if there is a problem with my network? or is - something that my ISP has set?
(This message is intended for all problem reports)
Check the Internet Options (Internet Explorer tools or configuration panel / /Connections Options tab / LAN Settings and make sure that Proxy Server is not checked even if you use Firefox.) Check the settings in Firefox Tools / Advanced connections / settings (should be use system proxy settings or no proxy).
Search for malware, especially using malwarebytes.
Try these commands in this order in an elevated command prompt. Not the first first, then reboot and try. If still bad, try the second.
netsh winsock reset
netsh int ipv4 resetIf they do not help, please after the output of a command ipconfig/all-order
-
Service pack update from 1 to 2 now, I get a "windows did not start properly.
I needed to upgrade my addition House of windows xp service Pack 1 to service pack 2 to add Norton to my system... I did it and my system asked me to re - start to take effect. I did and now I get the black screen that says white on it that says that windows did not start successfully... and start normally or in safe mode... I tried all the options and I get a dell screen and it goes straight to the screen... HELP PLEASE!
See...
Help: I got hacked. Now what should I do?
http://TechNet.Microsoft.com/en-us/library/cc700813.aspxPersonal data backup (which none should be considered 100% reliable at this point) then format the HARD disk and do a clean install of Windows. Please note that a repair installation (upgrade AKA on-site) won't fix this!
HOW to do a clean install of Windows XP: see method 1 and http://michaelstevenstech.com/cleanxpinstall.html#steps in http://support.microsoft.com/kb/978307
Once installed the clean, you will have the equivalent of a "new computer" in order to take care of everything on the next page before connecting the machine to the internet or one local network (i.e. other computers) otherwise and before using a flash drive or the SD card that is not brand new, or has not been freshly formatted:
4 steps to help protect your new computer before going online
http://www.Microsoft.com/security/pypc.aspxOther useful references include:
HOW to get a computer that is running Windows XP Gold (no Service Pack) fully patched (after a clean install)
http://groups.Google.com/group/Microsoft.public.windowsupdate/MSG/3f5afa8ed33e121cHOW TO get a computer that is running Windows XP SP1 (a) or SP2 fully patched (after a clean install)
http://groups.Google.com/group/Microsoft.public.WindowsXP.General/MSG/a066ae41add7dd2bTip: After getting the computer fully patched, download/install KB971029 manually: http://support.microsoft.com/kb/971029
NB: No matter what Norton or McAfee free trial which is preinstalled on the computer when you bought will be reinstalled (but invalid) when Windows is reinstalled. You MUST uninstall the trial for free and download/run the removal tool before installing updates, Windows Service Packs, or updates IE and before installing your new anti-virus application (which will require WinXP SP3 must be installed).
Norton Removal Tool
FTP://ftp.Symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exeMcAfee Consumer product removal tool
http://download.McAfee.com/Products/Licensed/cust_support_patches/MCPR.exeSee also:
Measures to help prevent spyware
http://www.Microsoft.com/security/spyware/prevent.aspxMeasures to help prevent computer worms
http://www.Microsoft.com/security/worms/prevent.aspxAvoid fake security software!
http://www.Microsoft.com/security/antivirus/rogue.aspxIf these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and stand-alone computer (that is, not BigBoxStoreUSA or Geek Squad) repair facility.
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
Windows XP SP3 problem
Recently, I met a problem with my PC and was forced to use the system recovery. Now I'm back to factory settings and try to install Windows XP Service Pack 3 on my computer. Windows Update won't work for me, that whenever I try to update I get [error number: 0x8024400A]. I think it's because I use Service Pack 2, or that's what I concluded after researching the problem, anyway.
This is not my real concern, however. Because I could not get the update automatically, I tried to download and install the "Windows XP Service Pack 3 Network Installation Package for IT professionals and developers" myself. The first time I did it, I restarted the PC after the installation and was met with "We apologize for the inconvenience, but Windows did not start successfully. A recent hardware or software change might have caused this. " I went into safe mode and went to a just system restore point before SP3 was installed, but now I don't know how to install it correctly without encountering this problem after reboot. I'm hardly the easy just stick with SP2 when there are potentially important available updates. How can I get Windows Service Pack 3 is installed on my PC?
It's certainly interesting!
If the cause of your problem is to have a HP PC with an AMD processor and an original image on your hard drive (and of course it sounds like this is the case), the solution should be to rename the file intelppm.sys and launch the sp37394.exe patch. Once done, the SP3 file that you downloaded from here:SHOULD work!I'm puzzled why there is no intelppm.sys file in your directory C:\WINDOWS\system32\drivers.Since you recently returned to square one with your PC ("return to factory settings"), then you may as well run the patch from this page:and try the SP3 Setup file again.But, first, let's be absolutely sure that we are both using the same terminology. Please answer the following questions:1. have you safely backed up ALL your data?2. what method did you use to ride "back to factory settings? I think that your choices have been a destructive restore (full) and a (partial) non-destructive recovery. The first erases the disk and leave you with a pristine image and NOTHING ELSE (which means that all of your programs and data get deleted). The other (which does not always correctly) is supposed to leave programs and data intact. -
NUANCE has a software called "SOFTWARE MANAGER". Please change windows XP Professional and VISTA to list this software in the Remove Programs list. I can't remove it cause it used to list and it is full of ups popp. So boring.
Otherwise, keep up the good work microsoft.
Concerning
GaryHi Gary,.
We will try to uninstall this software by using Microsoft fix - it Manager.
Refer to this link:
Solve problems with programs that cannot be installed or uninstalledhttp://support.Microsoft.com/mats/program_install_and_uninstall
Also perform a virus scan full assistance Security Microsoft scanner.
See this link for download:
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
After completing the methods suggested above, answer us with the State of the question.
-
How can I remove Windows Live Call to the context Menu of Windows Xp Desktop?
I'm unable to remove Windows Live Call in my context Menu of Windows Xp Desktop. Send me instructions on how to remove Windows Live Call in my context Menu of WIndows Xp Desktop. See screenshot.
Screenshot:
http://i47.Tinypic.com/2cwqzqg.jpg
Hello again,
Another reason for not getting answers in due time, it's that you post in the wrong forum in "answers". This should really be posted in this forum...
http://answers.Microsoft.com/en-us/windowslive/Forum/Messenger
.. because Windows live call is part of messenger. By posting your question in the wrong forum you not reach the largest selection of possible contributors, perhaps even eliminate everyone with the appropriate knowledge.
You have already been informed of the connection of Windows live call with messenger by Srinivas KR in your original question.
In short, most of the lack of response, you have found is down to your own lack of knowledge about the best way to get results. If you want to use a new tool, it is always a good idea to do some research before you use it so that you can get the best out of it. "Answers" are your information tool and will make you much better work for you if you are reading this...
http://answers.Microsoft.com/en-us/page/FAQ
.. .in conjunction with the link I gave in another of your questions.
That said...
It doesn't seem like Messenger have the ability to disable this option. Editing the registry appears as a possible solution. Editing the registry when done incorrectly can have serious detrimental effects on your system. Do so at your own risk. I can say that I followed the instructions here...
http://www.mydigitallife.info/how-to-remove-Windows-Live-call-entry-from-new-ShellNew-menu/
.. .and they worked on my PC.
Of course, if you do not use Messenger, you could just uninstall as advised previously by Srinivas KR.
Tricky
-
Original title: windows scam
can u tell me what are all the files in the windows/inf folder, I received a call from someone claiming to be windows saying that my computer has malaciuos spyware etc on it, and they are located in the inf file that is to say the driver FILES the PNF
Hello
Of course these are SCAMS!
Avoid scams to phone for tech support
http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspxIn the United States, you can contact the FBI, Attorney general, the police authorities and consumer
Watch groups. Arm yourself with knowledge.The Internet Crime Complaint Center (IC3) is a partnership between the Federal Bureau of Investigation
(FBI) and the National White Collar Crime Center (NW3C), funded in part by the Bureau of Justice Assistance
(BJA).
http://www.ic3.gov/complaint/default.aspxNo, Microsoft wouldn't you not solicited. Or they would know if errors exist on your
computer. So that's the fraud or scams to get your money or worse to steal your identity.Avoid scams that use the Microsoft name fraudulently - Microsoft is not unsolicited
phone calls to help you fix your computer
http://www.Microsoft.com/protect/fraud/phishing/msName.aspxScams and hoaxes
http://support.Microsoft.com/contactus/cu_sc_virsec_master?ws=support#tab3Microsoft Support Center consumer
https://consumersecuritysupport.Microsoft.com/default.aspx?altbrand=true&SD=GN&ln=en-us&St=1&wfxredirect=1&gssnb=1Microsoft technical support
http://support.Microsoft.com/contactus/?ws=support#TAB0Microsoft - contact technical support
http://Windows.Microsoft.com/en-us/Windows/help/contact-supportI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
After installation of service pack 3 I try to restart the computer, but I am sent to the screen that allows only "SAFE mode", safe mode with network, etc... Start up. Windows does not start normally. Also during the instalation it won't save the backup files msadds... file inetwiz... file inetwiz...
Hello
· You receive an error message or error code when you try to start in normal mode?
· What is the number and the model of the computer?
Follow the steps below and check, if it helps:
1 uninstall windows XP service pack 3 from your computer, you can check the link below: how to remove Windows XP Service Pack 3 from your computer: http://support.microsoft.com/kb/950249
2 start the computer in normal mode, and then install service pack 3 on the computer. Before installing service pack 3 see the link that has steps to take before you install Windows XP Service Pack 3 below: http://support.microsoft.com/kb/950717
-
Hello
When I start my laptop there is a long pause between the home screen and the cover page of my office where the message "unable to connect to a windows service windows has no can connect to the system event. I am unable to connect to networks as says "the dependecy service or group could start. I checked some of the solutions to this problem, including the execution of the 'netsh reset winstock' program that did not work. Any advice would be very helpful. Thank you.
Hello
It would be a good idea to run the System File Checker tool to see if you have corrupted files
"How to use the System File Checker tool to fix the files on system missing or corrupted on Windows Vista or Windows 7"
http://support.Microsoft.com/kb/929833
Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:
- Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
- Type the following command and press ENTER:sfc/scannow
The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.
___________________________________________________
And Malware scan:
Search for malware, if necessary using the safe mode with networking.
http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap the F8 key repeatedly until you are presented with the Boot Options Advanced Windows Vista.
- Select the Safe Mode with networking with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
Then, download, install, update and scan your system with the free version of Malwarebytes AntiMalware in Mode safe mode with networking:
-
Windows could not connect to the Group Policy client service
I get the error message after restarting my laptop with Vista Home:
Windows could not connect to the Group Policy client service. This problem prevents limited users to logon to the system and administrative user, you can view the log of events system for details why the service did not respond.
I'm the only user on my laptop with laptop admin rights works correct with few programs but it seems that I have no ADMIN rights now. I have not authorized for the restoration of the system, start-up ccleaner.exe, instalation of new software, etc.
I tried this:
1.
http://social.answers.Microsoft.com/forums/en/vistasecurity/thread/bbfe3246-0ceb-4899-BFBA-7a98e642c009
with hidden Admin, but for Admin hidden even in safe mode was not allowed to change my account more up/down.
My laptop have orginal Vista and I have no bootable CD.
2.
http://social.technet.Microsoft.com/forums/en/winserverGP/thread/5de9f483-ff69-4fac-ac3f-601a62cc78d1
result:
netsh
Netch > winsock reset
Elevation of the requiries the requested operation.
Help, please.
Hi SSergo,
Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in theTechnet Group Policy Forum
Lisa
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
When I reboot after installation of service pack 2 on a computer laptop with Windows Vista Home Premium 32-bit Dell XPS M1530, the message comes out and says that updates are not configured correctly, returning from changes. Do not turn off your computer. I installed update readiness tool, but it does still every time. I tried to disable the antivirus software prior to installation.
Hello1. how you try to install Service Pack 2?2. are you able to boot to the desktop?Method:Step 1: If you are able to start the computer in normal mode, then try a clean boot.To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Please note: after troubleshooting, start the computer in normal mode.Step 2: Try to install Service Pack 2 manually.How to obtain the latest Windows Vista service pack
If you are unable to start the computer, then you can follow this link to start the computer in safe mode.
Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-modeIf you are unable to install Service pack 2, you can consult this article.Error: Failed to setup of the Windows updates. Restoration of the changes. Do not turn off your computer when you try to install Windows updates
http://support.Microsoft.com/kb/949358Please note: method 2 refers about upgrade on site. Perform a repair installation/place will not damage files and applications that are currently installed on your computer. However, I suggest you to back up all important data on the computer before you perform the upgrade on the spot. -
I received a phone call from someone claiming to be windows and I have stupisly access to my computer, but does not give them the credit card details. This could be a problem
Hello Ann,.
If you allowed them access to your PC, then it is a problem. I considered reinstalling my OS and change all my passwords. It would also make sense, if you use the online banking etc., to inform your bank that you have a security hole on your PC. This will alert them to anyone using your current password to the Bank etc.
This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.
John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk | vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com
Maybe you are looking for
-
How to set up the multimedia keys?
Hello everyone! I have just a simple question! How I can configure the multimedia button on top of the keyboard? Cause when touch open media button its open Windows Media Player, but I put t want this, I want to win amp or bsplayer to open! How can d
-
I can longer open a new tab in firefox
I can't open a new tab in firefox. If I click on a link, a new tab opens, but if I use the new tab button or control t that nothing happens. I used to be able to open several tabs, but suddenly, that changed. Can you my why?
-
Satellite M645-S4050: built in camera is not working properly
My built in camera does not work properly.It doesn't have any kind of effect and it captures the images and videos as though a kind of thermal camera is performed. Also a few videos that I upload to youtube like this.I did research on a response, but
-
Re-installation of software D7560 h to another computer
I have a Protosmart D7560 that worked properly on my Windows XP computer. However, when I tried to install the CD on another PC that works with Windows 7, it starts but stops which indicates that it can not be installed using "(exécuter en tant que..
-
Free space on drive C - Windows XP Security takes a large amount of space.