Jump to content

ChrisChuah

Members
  • Content Count

    108
  • Joined

  • Last visited

Everything posted by ChrisChuah

  1. Hi Is there a component whereby i can feed in an image file and it will scan the image for rectangle objects and returns a list of rectangles? please advise Best Regards chris
  2. hi So sorry that my search is quite limited. the search for OpenCV libraries is that it uses .Net or VC++ libraries and that will always lead me to windows. Cant find any fmx libraries for OpenCV. can guide me on where i can find resources where i can use OpenCV for Android and IOS using delphi?
  3. hi thank you very much. However, i wish to develop the application on iphone or android. Hence, when using the iphone or android phone, i would want to use the camera function to capture the number of rectangular objects shown on the camera Any idea on how to do this? regards chris
  4. I have re-downloaded the PAServer for Delphi 11.1 on MacOS and updated the XCode to 15.2 However, when i tried to run the mac app in debug mode, it gave me this error dyld[9049]: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python Referenced from: <06D97208-31C1-324C-94F5-B231E630BF31> /Applications/PAServer-22.0_11.1.app/Contents/MacOS/lldb-x86_64/lib/liblldb.3.8.0.dylib Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file, not in dyld cache) Is there an updated PAserver for 11.1 to fix this python link problem. The python frame work is found in /Library/Frameworks/Python.framework/Versions/2.7/Python rather than the /System library. I cannot create a link within the /System library as it is forbidden by Apple. Please help regards chris
  5. Hi When i use the deployment Featured Files for 64 bit application, the DBExpress Oracle Driver will use dbxora.dll and MIDAS Library will use midas.dll. However, when i copied these 2 files together with my exe application and run on a newly installed Win 10 Pro pc, the application would not connect to the database. I have already set the Net Configuration for Oracle Client and it is able to connect to the Oracle database server. However, previously when i deployed my 32 bit application using Delphi 6, i would use dbexpora.dll and when i add this file to the newly installed Win 10 Pro pc, my application is able to connect to the database. Why is this file dbexpora.dll used? Its a 32 bit dll if i am not wrong. Is there something that i did not configure correctly? regards chris
  6. ChrisChuah

    Get Mac Address using Indy?

    Hi Is there a function in Indy whereby i could get the Mac address of the interface card? Or is there any function in Delphi whereby i could obtain the MAC address of the NIC card for FMX app? regards chris
  7. ChrisChuah

    How to Clear TWebBrowser

    HI I remember asking something like this few months ago but somehow i could not find it in my profile. Currently the Web browser is showing a page say http://localhost/mypage.htm How can i clear browser to show nothing ? webbrowser.navigate('none')? regards chris
  8. ChrisChuah

    How to Clear TWebBrowser

    it seems that if i put a web browser on Form2 and Form2 is run-time called to be created, then there will be an access violation on RecreateBrowser function called. The way to go about it is to create a browser onCreate form2 function and insert the webbrowser component into it Not sure if anyone is having this problem
  9. ChrisChuah

    How to Clear TWebBrowser

    Oh Yes, now the browser can crash my application when i use a Navigate function. I place a try except block on the navigate function but somehow there is no exception error. Where can i get any information about the crash? regards chris
  10. ChrisChuah

    How to Clear TWebBrowser

    thank you very much. u
  11. Thank you very much. It seems that i have to right click on the TSQLConnection and Reload all the parameters again as the same project used in Delphi 6 was read back in Delphi 11. Hence the 64 bit application used the old TSQLConnection Parameters settings. thank you chris
  12. HI By right, the delphi 64 bits applications that uses Oracle DBExpress should use the dbxora.dll and midas.dll. However, when i deployed using those dll, my application would not be able to connect to the oracle database. Instead i have to add the dbexpora.dll which is 32bit dll that I have been using in Delphi 6. Once i added that dbexpora.dll file into my application folder, my application is able to connect to the Oracle database. Anyone has any idea why the dbexpora.dll is still being used? Maybe next time i should ditch DBExpress and move on to other drivers instead. sigh regards chris
  13. Hi Is there a way to use Indy TCP Client to have a synchronous method whereby IdTCPClient1.Connect; IdTCPClient1.Send(); IdTCPClient1.Disconnect rather than to wait for OnConnect event to send the message and followed by Disconnect as I would need to put the buffer on queue so that it will be written to the socket onConnect event The reason for doing this is that i need to send multiple message to different TCP servers and they will accept one command and need to disconnect after sending. What would be the best way to implement this? please advise regards chris
  14. Hi Is there a ActiveX or native component for VNC Client or Remote Desktop client so that the application can connect to the VNC server running on Ubuntu 22 and above. The VNC ActiveX component that i have been using since Delphi 6 is not able to properly show the Ubuntu desktop version 22. But it is able to display properly for Ubuntu 20. Please advise regards chris
  15. ChrisChuah

    Any delphi components for VNC or RemoteDesktop?

    Thank you. I managed to connect to the 64 bit dll file although the Delphi IDE registered the 32 bit dll as activeX component. until now, i am still learning how to go about doing things in delphi regards chris
  16. ChrisChuah

    Any delphi components for VNC or RemoteDesktop?

    Delphi can compile app into 64bit isnt it? If so, can my Delphi 64bit app run the 32bit dll or does it require the 64bit dll?
  17. ChrisChuah

    Any delphi components for VNC or RemoteDesktop?

    hi Also the activeX comes in 32 bit and 64 bit version when i do a regsvr32 vnc.dll and regsvr32 vnc64.dll, Delphi only shows the 32 bit activeX when importing. how can delphi able to use the 64bit dll? please advise
  18. ChrisChuah

    Any delphi components for VNC or RemoteDesktop?

    Hi Last time, since Delphi 6, i managed to download an VNCX.dll from internet and i was able to embed it into my Delphi 6 application. Now, i tried to import this same component into Delphi 11, Delphi 11 managed to convert into the TLB files and was able to compile it and add to the Palette. When i create a new Windows VCL app and add that VNC ActiveX component into the form, Delphi 11 will crash. Is there a way to find out why Delphi 11 crashed? regards chris
  19. ChrisChuah

    Indy TIdTCPClient connect, send and disconnect

    Hi Remy The data sent to 2 ports are different. The server was designed in such a way that Port1 is sending Command and Control data while Port2 is used for sending and receiving Configuration data. That was how the server was implemented long time ago. Since both ports will be getting data from the server at any 1 time so i cant just use 1 client to send and receive from 2 different ports at the same time isnt it? Am i able to use 1 idTCPClient port to connect to 2 ports? once connected, both ports can receive data at the same time? please advise regards chris
  20. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    Hi Thank you. Will try it use it on Linux. Regards chris
  21. ChrisChuah

    Indy TIdTCPClient connect, send and disconnect

    Hi Remy Now i m having another problem In my app, i have 2 idTCPClient sockets that connect to 2 different ports of same server application. When one of the port or idTCPClient (Client A) disconnect, it should disconnect the other idTCPClient (Client B) as there may be some issues with the server app. When reconnecting the idTCPClient B to the server, whenever i try to use ClientB.IOHandler.Read, it will give me an exception like this ----- <07/11/2023 10:02:31> IP to Connect to CM: 172.20.11.9:16194 <07/11/2023 10:02:31> Connecting..CM User TCP: 172.20.11.9:16197 Own IP: 172.20.13.201 <07/11/2023 10:02:36> Error in Thread Run. Type: EIdConnClosedGracefully Msg: Connection Closed Gracefully. ----- When disconnecting idTCPClient B, should i release the IOHandler? If not how can i handle this exception as I am using a IdThreadComponent to read the IdTCPClient B socket for messages regards chris
  22. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    Hi Has anyone tried out this CEF4Delphi https://github.com/salvadordf/CEF4Delphi It seems it can embed chromium based browser into Delphi App and support for Linux Please advise regards chris
  23. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    Hi I have another question. For Windows x86 and x64, we will need to copy the webview2load.dll to the app directory. How about linux? what are the files that i need to copy or attach to my app directory? The windows webview2load.dll is found in C:\Program Files (x86)\Embarcadero\Studio\22.0\Redist\win64 for 64bit deployment and C:\Program Files (x86)\Embarcadero\Studio\22.0\Redist\win32 for 32bit deployment. Do i attached the entire C:\Program Files (x86)\Embarcadero\Studio\22.0\Redist\linux64 directory files when i deploy for linux when using TWebBrowser in Linux? please advise regards chris
  24. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    hi i managed to find it. must download the EdgeView2 SDK from Getit. From there get the webview2load.dll and copy it to my app directory. thanks chris
  25. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    hi, i am using the Twebbrowser component to load a page which i can see it from microsoft edge and chrome but it was not able to be displayed on the TWebbrowser. Any ideas on how to debug it. i think its still using IE but i am trying to use EdgeIfAvailable but Edge engine is not found if i set the EdgeOnly option where can i find the webview2loader.dll? i downloaded the Evergreen standalone as well as the Fixed version. Expanded the Fixed version but cant find this file regards chris
×