Jump to content

ChrisChuah

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. ChrisChuah

    Delphi 10.4.2 TWebBrowser navigate URL

    hi Previously it was chrome as a default but i set to Edge Browser. However, i could not find anything about download on file type in Edge Browser. something related to mime type? regards chris
  2. Hi In Delphi 10.4.1, when the Win64 program called WebBrowser1.Navigate("file://z:\filename.pdf") where z drive is a shared drive, it will display the pdf in the Browser. However, when i upgraded to 10.4.2, the same function will prompt for File Download. I also tested to navigate a C drive pdf document and it will also prompt the file download Please help ====== source ========= procedure TForm1.Button1Click(Sender: TObject); var l_filename : string; begin if OpenDialog1.Execute then begin l_filename := OpenDialog1.FileName; // l_filename := 'file://' + l_filename; WebBrowser1.Navigate(l_filename); end; end; ======= End ================ regards chris
  3. Hi Has anyone done this soap interface before? I am able to get the SOAP interface using this https://ove-osb.microsdc.us:9015/OPERA9OSB/opera/OWS_WS_51/Information?WSDL The WSDL Import will generate a Information.pas file. I tried to call the LovQueryRequest but it only contains the basic XML without the headers. Anyone knows what i should do in order to add the OGHeaders and SecurityHeaders to it? regards chris
  4. i did that but it still having the same error. if not, i wont be so frustrated over it. sigh Also when i start the PAServer for the first time, it did not prompt me for the password.. i wonder why I just made a video you Youtube on this error. hopefully the members can advise me on what the error is.
  5. hi when the new patch is released, the PAServer pkg is also shown on my Windows VM. So i dragged the PAServer pkg into my Mac OS to install it. After installation, i ran my app but it showed disconnected session. On the PAServer in my MacOS, it showed >list Process Control Server started pid 1647 exe built Feb 27 2020 Error: file permissions do not allow debugging. Just today, i saw another patch is released but my PA Server still does not allow iOS debugging. I am running Mojave instead of Catalina because Catalina does not allow the PAServer to run because it is in 32 bit. anyone can advise? regards chris
  6. ChrisChuah

    TSwitch to allow change?

    Thank you very much. i will try this out. regards chris
  7. btw, do you know why is there a file permission error on the PA server? i checked on all the user:group in the PAServer and its root:wheel. any ideas?
  8. ChrisChuah

    TSwitch to allow change?

    Hi Is there a function when there is switch event, to disallow the component from switching from off to on? In my function, when the user activate the OnSwitch event, i will prompt the user to turn off? if the user said no, then the switch should remain at On. However, now the switch will auto turn off even though i set the IsCheck to true any ideas? regards chris
  9. Is it easier to debug on the hardware? sometimes the debugger is quite slow when returning to the breakpoint. thats what i feel.
  10. Its a update patch that provided the new PAServer. The PAServer before this patch was working fine. I was using it to do debugging of my software. Somehow i cant understand why the Embarcardero is asking me to debug on the physical device. Its easier to debug on the simulator isnt it?
  11. ChrisChuah

    TBluetoothLE in Windows 10

    I tested out the BLE on windows 10 and it seems that the device needs to be paired up in the Windows Bluetooth screen first by adding it to it. If not, while you tried to get services from the device, it will prompt that the device is not paired up.
  12. After update the latest patch for 10.4.1 with the new PA Server, I could not run the iOS simulator in debug mode. Usually, the prompt will appear to ask user to enter password for debugging but this time, it does not come out. anyone having this error? ======= Log from PA Server =============== >listen Process Control Server Started pid 1258 exe built Feb 27 2020 Error: file permissions do not allow debugging listen Process Control Server Started pid 1298 exe built Feb 27 2020 Error: file permissions do not allow debuggin ======= End of Log ============== regards Chris
  13. ChrisChuah

    TBluetoothLE in Windows 10

    Thanks for the reference to the delphi sample. Seems that for MacOS, iOS and Android, there is an event OnEndDiscoverDevices called when there is a timeout set in the DiscoverDevices function. However, in Windows 10, this event is not called. Instead the event DiscoveredDevice is called. Hence, have to modify the codes to detect that if windows, have to add a timer for timeout to stop the discovery of devices. Would this be a good option? what would you do? please advice regards chris
  14. ChrisChuah

    TBluetoothLE in Windows 10

    What other BLE component can be used for windows deployment if the default TBluetoothLE is not working for windows 10
  15. ChrisChuah

    TBluetoothLE in Windows 10

    I tried that with the discover device and it does not send a end discover callback. It was stuck there.
×