dkprojektai
Members-
Content Count
61 -
Joined
-
Last visited
Everything posted by dkprojektai
-
Hello to all, I'm looking for solution which could let me to get many images from different sources and process them one by one. I think I should use something like a pool. Is ther any solutions for this task?
-
Image pool server
dkprojektai replied to dkprojektai's topic in Algorithms, Data Structures and Class Design
Don't have any sources at the moment. Recognition processing. Yes processing will be the same for all images. -
Hello all, need some help. Have SAOP service which use security policy and I don't know how to go thru. The message from server is "These policy alternatives can not be satisfied: ",{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SupportingTokens,{http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}" The correct header looks like: <soapenv:Header><wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-xxxxxxxxxxxxxxxxxxxx"><wsse:Username>xxxxxxxxxx</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">xxxxxxxxxxx</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">xxxxxxxxxxxx</wsse:Nonce><wsu:Created>2022-12-18T09:49:23.854Z</wsu:Created></wsse:UsernameToken></wsse:Security></soapenv:Header> Does anybody have an working example ? Or any links to study? Thanks in advance.
-
Soap and ws-securitypolicy in Header
dkprojektai replied to dkprojektai's topic in Network, Cloud and Web
WSDL - https://test.keliumokestis.lt/knmmws/KnmmVignetteService001v2?wsdl -
Hello, I need to send tbitmap and identification id to local server with POST command. For this I wanted to use json. Will I get max available speed? Need advice. If I right - I will have two times to do encoding. If there are other better way - please share your solution. Thank you.
-
Best speed solution to send bitmap to server
dkprojektai replied to dkprojektai's topic in Network, Cloud and Web
Can you share an example? -
Hello, my program in thread is communicating with remote server. In thread.... CoInitializeEx(NIL, COINIT_MULTITHREADED); try some error.... CoUninitialize; except on E:Exception do begin TThread.Queue(nil, procedure begin F_Form1.Logging(E.ToString); //Here I have exception and program throw out.... end); CoUninitialize; end; end; My question - is it borland or omni problem and how to solve it? I can quote it via try..ecxept, but I really want to log the problem.
-
Hello, looking for component or any other solution with which I could update client old database. I have a software which on installation writes database from SQL file. From time to time I'm making updates to my database, which have several new tables, new columns, new key's. The problem is to update client database on next installation. I don't prefer using any separate tool for this. I can use this solution - but go true 50 tables and many columns - not the quick way which I'd like to proceed 🙂 Asking for advice quicker solution. Thank you.
-
Solution to compare mysql schema via sql file
dkprojektai replied to dkprojektai's topic in Databases
Can you share ? -
Hello, found interesting problem. Tried to run Delphi Rio debugger on simple 32bit program (just form and nothing else) - and it do not not start. :) Problem was on antivirus... 360 total security - Details: Process: C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\bds.exe Add Process to Trust List Action: Remote thread injection Path: C:\Users\Donatas\Documents\Embarcadero\Studio\Projects\Win32\Debug\Project1.exe Suspicious file: C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\android64debugide260.bpl Protection information: AD|10, 10, -1|37C394D4165329DD77ED30CEE012408E|<sha1>f4667e3ce43b74f988044661c9a73c88e63f85fa</sha1> Is there real problem or just a bug ?
-
Debugger does not start on 360 total security
dkprojektai replied to dkprojektai's topic in General Help
Sometimes I had it too with 360 total security. One time rebuild helps, another Delphi restart 🙂 -
Debugger does not start on 360 total security
dkprojektai replied to dkprojektai's topic in General Help
I did, but it did not help. -
Debugger does not start on 360 total security
dkprojektai replied to dkprojektai's topic in General Help
I have changed it to NOD. IT was impossible to add to exception list. Don't know why. -
Hello, need some help to find out where exception rises (it rises not every time, usually after some time processing). Here is the code: 77473b31 ntdll.dll KiUserExceptionDispatcher 757ce699 KERNELBASE.dll CreateFileW 0076ab2a ANPRl.exe OtlParallel 3440 TOmniParallelSimpleLoop.Execute_2__ActRec._0_Body 0076a716 ANPR.exe OtlParallel 3380 TOmniParallelSimpleLoop.CreateForTask_ActRec._0_Body 00741717 ANPR.exe OtlTaskControl 2008 TOmniTaskExecutor.Asy_Execute 0074071e ANPR.exe OtlTaskControl 1592 TOmniTask.InternalExecute 007404f6 ANPR.exe OtlTaskControl 1510 TOmniTask.Execute 00732fa2 ANPR.exe OtlThreadPool 889 TOTPWorkerThread.ExecuteWorkItem 00732b29 ANPR.exe OtlThreadPool 846 TOTPWorkerThread.Execute 004d8625 ANPR.exe System.Classes ThreadProc 0040b9a0 ANPR.exe System ThreadWrapper 76dffa27 KERNEL32.DLL BaseThreadInitThunk Can someone to explain?
-
Hello, Does any body face with problem - generating pdf speed... I use Fast Report: frxReport9.PrepareReport(); frxPDFExport9.ShowDialog := False; frxPDFExport9.FileName := FormatDateTime('hhnnss', Time)+'_Report.pdf'; frxReport9.Export(frxPDFExport9); this code works extremely slow with more then 5000 dateset records. Is there any speedy alternative?
-
With my code now - 12 seconds.
-
17 seconds.
-
I can't use it, because all works on Unigui web server.
-
/* Affected rows: 0 Found rows: 4 956 Warnings: 0 Duration for 1 query: 1,109 sec. (+ 0,032 sec. network) */
-
This is how looks 1 page. 5000 records generates 200 pages.
-
Thank you all, what I found - disable all to False (for frxPDFExport9). It helps a little. There is picture (8 KB), but I think, it's not this who gives low speed for building PDF. For me 5000 records was build thru 15 seconds. It's too much for me. I use 6.6.9 version and D10.3. Any other thoughts ?
-
FastMM5 now released by Pierre le Riche (small background story)
dkprojektai replied to Günther Schoch's topic in Delphi Third-Party
What I've got :)))) -
FastMM5 now released by Pierre le Riche (small background story)
dkprojektai replied to Günther Schoch's topic in Delphi Third-Party
Actually I don't see any difference between Rio and FastMM5. Can some one explain in simple examples where can I win? -
Image pointer and buffer size
dkprojektai posted a topic in Algorithms, Data Structures and Class Design
Hello, need help. How can I find in Delphi pointer to memory buffer which contain image file data and size of memory buffer in bytes ? These are not correct: @Bitmap1 Bitmap1.ScanLine[0] Buffer size can be found: function GetGraphicSize(g: TGraphic): Integer; var ms: TStream; begin ms := TMemoryStream.Create; try g.SaveToStream(ms); Result := ms.Size; finally ms.Free; end; end; How can do it correctly ?