Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Beunders

    Urgent help on who to coùmunicate to external application

    No , I mean the libraries which are in the TLB file in the uses statement . It shows: uses Windows, ActiveX, Classes, Graphics, OleServer, StdVCL, Variants; In your main file are: uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls...
  2. Beunders

    Urgent help on who to coùmunicate to external application

    You should add the libraries which are in your USES statement in the TLB file to your main file Cheers, Joop
  3. Beunders

    Urgent help on who to coùmunicate to external application

    I copied the file from the link and the source code. First you should add yhe "uses" units from the TLB file to the main unit as well. Then I found errors in this part: procedure TForm1.FormDblClick(Sender: TObject); Var Ch: IWFChannel; Event: TWFEvent; EMask : SYSINT; begin Ch :=...
  4. Beunders

    How To Get The OS Version.

    I added the manifest according to your instructions and now it works. I modified my own check procedures to accommodate Win81 and Win10 and now it works fine. I attached a zip with a demo program including all sources. Due to this "automatic" adjusting of MS, my GUI looks quite different on...
  5. Beunders

    How To Get The OS Version.

    Compiles OK now, but Win10 still returns Win8.0 (6.2) here...???
  6. Beunders

    How To Get The OS Version.

    The "TOSVERSIONINFOEX" definition cannot be found by the compiler. When I add the definition from your link then "FExtendedInfo := GetVersionEx(LOSVE);" crashes because "LOSVE" does not have the right format....
  7. Beunders

    How To Get The OS Version.

    Good idea, but pls check also the code I send you. I know most of it is identical (more or less) to what you did, nut the main unit (which does not compile) does other things as well. The compiler stops at "TOSVersionInfoEx" as undeclared identifier. When you leave out the "Ex" is does compile...
  8. Beunders

    How To Get The OS Version.

    Think that's a good idea. Pls also include a section on how to add the manifest to a Delphi program. I found also another source (sip attached), but it does not compile properly, but I do see differences in OS type when I made it ready for compilation. I am not a low-level programmer, so maybe...
  9. Beunders

    How To Get The OS Version.

    Hi, I tried your code with the "GreaterThen.." functions, but unfortunately they fail when tested on a Windows 10 machine. Looking at your code it looks like you assume a Major Version number of 10 for Windows 10, but we all know that this scheme was thrown overboard after Windows 8 by MS. So...

Part and Inventory Search

Back
Top