10.11.2015 Views

maXbox3 3.9.9.195 14/05/2015 08:37:17 AM

maXbox3 3.9.9.80 13.11.2013 11:25:53

maXbox3 3.9.9.80 13.11.2013 11:25:53

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>maXbox3</strong> <strong>3.9.9.195</strong><br />

<strong>14</strong>/<strong>05</strong>/<strong>2015</strong> <strong>08</strong>:<strong>37</strong>:<strong>17</strong> <strong>AM</strong><br />

23338: BtnPlotClick(self);<br />

23339: Showmodal; Free;<br />

23340: end;<br />

23341: with TOvcCalculator.create(self) do begin<br />

23342: parent:= aForm; //free;<br />

23343: setbounds(550,510,200,150);<br />

23344: displaystr:= 'maXcalc';<br />

23345: end;<br />

23346: with THexForm2.Create(self) do begin<br />

23347: ShowModal;<br />

23348: Free;<br />

23349: end;<br />

23350:<br />

23351: function CheckBox: string;<br />

23352: var idHTTP: TIDHTTP;<br />

23353: begin<br />

23354: result:= 'version not found';<br />

23355: if IsInternet then begin<br />

23356: idHTTP:= TIdHTTP.Create(NIL);<br />

23357: try<br />

23358: result:= idHTTP.Get(MXVERSIONFILE2);<br />

23359: result:= result[1]+result[2]+result[3]+result[4]+result[5];<br />

23360: if result = MBVER2 then begin<br />

23361: //Speak(' A new Version '+vstr+' of max box is available! ');<br />

23362: result:= ('!!! OK. You have latest Version: '+result+' available at '+MXSITE);<br />

23363: end; //idhttp.get2('http://www.softwareschule.ch/maxbox.htm')<br />

23364: finally<br />

23365: idHTTP.Free<br />

23366: end;<br />

23367: end;<br />

23368: end;<br />

23369:<br />

23<strong>37</strong>0: //Runtimer Spec Functions Edition 190<br />

23<strong>37</strong>1: function ApWinExecAndWait32(FileName:PChar; CommandLine:PChar; Visibility:Integer):Integer;<br />

23<strong>37</strong>2: function KillTask(ExeFileName: string): Integer;<br />

23<strong>37</strong>3: procedure KillProcess(hWindowHandle: HWND);<br />

23<strong>37</strong>4: function FindWindowByTitle(WindowTitle: string): Hwnd;<br />

23<strong>37</strong>5: function IntToFloat(i: Integer): double;<br />

23<strong>37</strong>6: function AddThousandSeparator(S: string; myChr: Char): string;<br />

23<strong>37</strong>7: function mciSendString(cmd: PChar; ret: PChar; len: integer; callback: integer): cardinal;<br />

23<strong>37</strong>8: procedure FormAnimation(Sender: TObject; adelay: integer);<br />

23<strong>37</strong>9: procedure LoadResourceFile2(aFile:string; ms:TMemoryStream);<br />

23380: function putBinResTo(binresname: pchar; newpath: string): boolean;<br />

23381: procedure ExecuteHyperlink(Sender:TObject;HyperLinkClick:TJvHyperLinkClickEvent;const LinkName:string);<br />

23382: function IsHyperLink(Canvas:TCanvas;Rect:TRect;const Text:string; MouseX,MouseY:Integer;var<br />

HyperLink:string):Bool<br />

23383: Function GetWindowThreadProcessId( hWnd : HWND; var dwProcessId : DWORD) : DWORD;');<br />

23384: Function GetWindowTask( hWnd : HWND) : THandle');<br />

23385: Function LoadBitmap( hInstance : HINST; lpBitmapName : PChar) : HBITMAP');<br />

23386: Function GetCommConfig(hCommDev: THandle; var lpCC: TCommConfig; var lpdwSize: DWORD): BOOL');<br />

23387: function WinExecAndWait32(FileName: string; Visibility: Integer): Longword;<br />

23388: Function MakeHash( const s : TbtString) : Longint');<br />

23389: Function GetUsedUnitList( list : Tstringlist) : string');<br />

23390: function ConsoleCapture(const _dirName, _exeName, _cmdLine: string; amemo: TStringlist): Boolean;');<br />

23391: function ConsoleCaptureDOS(const _dirName, _exeName, _cmdLine: string; amemo: TStrings): Boolean;');<br />

23392: srlist:= TStringlist.create;<br />

23393: ConsoleCapture('C:\', 'cmd.exe', '/c dir *.*',srlist);<br />

23394: writeln(srlist.text); srlist.Free;<br />

23395: function RunCaptured(const _dirName, _exeName, _cmdLine: string; amemo: TStringlist): Boolean;');<br />

23396: Function SamePropTypeName( const Name1, Name2 : ShortString) : Boolean');<br />

23397: Function FloatToStrEx( Value : Extended) : string');<br />

23398: Function StrToFloatEx( const S : string) : Extended');<br />

23399: Procedure PerformanceDelayMS(ams: integer); //microsecond resolution delay!<br />

23400: //http://www.swissdelphicenter.ch/en/showcode.php?id=2<strong>17</strong>9<br />

23401: function ExecuteProcess(FileName: string;Visibility:Integer; BitMask:Integer; Synch:Boolean):Longword;<br />

23402: Function<br />

ExecuteMultiProcessor(FileName:string;Visibility:Integer;BitMask:Integer;Synch:Boolean):Longword;');<br />

23403: if ExecuteMultiProcessor('notepad.exe', SW_SHOW, 2, true) = 0 then<br />

23404: writeln('Multiprocessing Runs on CPU 2');<br />

234<strong>05</strong>: procedure StartServiceAfterInstall(aserv: TService);<br />

23406: Function GetDllVersion2(DllName: string; var DLLVersionInfo: TDLLVersionInfo): Boolean;<br />

23407: procedure SendCopyMessage(amess, astation: string); //comunicate process-spanned with WM_COPYDATA<br />

234<strong>08</strong>: function BrowseComputer2(DialogTitle: string; var CompName: string; bNewStyle: Boolean): Boolean;<br />

23409: function ChangeAlphaTo(input: string; aoffset: byte): string;');<br />

23410: function CheckIBAN(iban: string): Boolean;');<br />

23411: function CreateIDStack; //instance to IdStack of CreateStack<br />

23412: Function GetRecordCount(DataSet: TBDEDataSet): Longint;');<br />

23413: Function CountPos(const subtxt: string; Text: string): Integer;<br />

234<strong>14</strong>: procedure HTMLtoRTF(html: string; var rtf: TRichedit);<br />

23415: procedure ReversePlay(const szFileName: string);<br />

23416: Function ADOConnectionString(ParentHandle:THandle; InitialString:WideString;out NewString: string):Boolean;<br />

234<strong>17</strong>: procedure ShowEOleException(AExc: EOleException; Query: String);<br />

23418: function UpdateBlob(Connection: TADOConnection; Spalte: String; Tabelle: String; Where: String; var ms:<br />

TMemoryStream): Boolean; ..save HTML pages as MHTML (HTML Archiv Format)<br />

23419: http://www.swissdelphicenter.ch/en/showcode.php?id=2300<br />

23420: function SaveToMHT(const AUrl, AFileName: string; AShowErrorMessage: Boolean = False): Boolean;<br />

23421: function FileType2MimeType(const AFileName: string): string;<br />

23422: function DownloadURL_NOCache(const aUrl: string; var s: String): Boolean;<br />

23423: Function IsCOMObjectActive(ClassName: string): Boolean;<br />

PC<strong>08</strong> E:\maxbox3\mXGit39988\maxbox3\docs\maxbox_extract_funclist399.txt<br />

http://www.softwareschule.ch/maxbox.htm T: 297<br />

p: 271

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!