Jump to content

ChrisChuah

Members
  • Content Count

    111
  • Joined

  • Last visited

Everything posted by ChrisChuah

  1. ChrisChuah

    GetIt installation does not work

    thank you. will try it out on the 12.1 community edition. have to get those files from github
  2. ChrisChuah

    GetIt installation does not work

    how do i load the JEDI package into IDE? open the pkg, compile and install from there?
  3. ChrisChuah

    GetIt installation does not work

    I just installed 12.1 community edition and try to install JEDI Visual Componnent Library 2023.11 It gave me an error that i must install jcl first. When i tried to uninstall it, it said that the jvclInstall.exe is missing. I downloaded jvcl from github and try to install locally, then it showed that this version of the product does not support command line compiling. aborting How can i install JEDI component into the 12.1 community edition via getit. Now, i removed the JEDI Component library and JEDI Visual component library from the CategoryRepository directory. GetIt now showed the install button and when i click on it, it state that JEDI is already installed. sigh.. anyone can advise on this?
  4. 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
  5. 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?
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. ChrisChuah

    How to Clear TWebBrowser

    thank you very much. u
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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?
  20. 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
  21. 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
  22. 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
  23. ChrisChuah

    TWebBrowser Edge Engine Unavailable

    Hi Thank you. Will try it use it on Linux. Regards chris
  24. 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
  25. 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
×