This question already has answers here:
Get information about the installed network adapters
(6 answers)
Closed last month.
What's equivalent of NetworkInterface in Delphi, where i can build a program like
Network-Bandwidth-Meter
?
There some way to use this class on Delphi?
If you look at the source code for the NetworkInterface class, you will see that internally it gets its information from the GetAdaptersAddresses() function, which you can call directly in Delphi code.
Related
This question already has an answer here:
Do Karate support .avro file as an input request?
(1 answer)
Closed 1 year ago.
Is karate mock supports AVRO object testing, because in my project I have a requirement to mock AVRO object?
Not directly, but you just need to write some a utility to convert Avro <--> JSON (Or Java Maps) and you are done.
Please refer this thread: https://github.com/intuit/karate/issues/412#issuecomment-420690472
This question already has answers here:
FTP Over SSH (SFTP) In delphi 2010
(8 answers)
Closed 5 years ago.
I need to do a file transfer process inside my software, and the files are a little sensitive, so I would like to do via SFTP, so I have researched that there are some components (all the payments I've researched) that make use protocol.
I would like to know if you have a free component, or how to do it manually, if possible.
Sorry, translated via google translate.
Use the Indy sftp component.
The Indy components are included in delphi since a while.
Alternativley you could try these activex method:
https://www.activexperts.com/network-component/howto/sftp/delphi/
This question already has answers here:
SendKeys in Delphi 2010
(3 answers)
Closed 6 years ago.
I need to send several virtual keys (VK_RETURN) from my delphi application (myapp.exe) into another application such as (notepade).
The OS that I use are Windows 10 64 bit.
I read : How to send an "ENTER" key press to another application? , Delphi XE - Send Ctrl+Key to 3rd Party Application (did not work for me) and other previous asked question. But still I'm getting confused.
How to set the focus to the target application ?
How to send the virtual keys to the targeted application ?
Simple example : I want to send password into another program at runtime from my delphi application. How to do that ?
PS : I tried PostMessage() and SendMessage().
You could look at using SendKeys - I have in the past. But as David has said in comments to your post this is probably not the best way of going about it.
In any case, here is a link to a stack overflow question with some code examples that you might find useful.
SendKeys in Delphi 2010
This question already has answers here:
Track all ObjC method calls?
(5 answers)
Closed 9 years ago.
I'm wondering if there is any way to log all method calls in iOS app? I know that I can add NSLog in every method which call I want to log, but I'm wondering if there is a simpler way? For example some internal mechanism which allow me to hook to all methods calls and fire some method/macro in that case. I simple words, how to catch method call and invoke other method before it? Is it even possible?
If you want to do that only for a couple of classes, then I think you could use the decorator pattern with NSProxy.
There is (albeit quite hidden) support for this already:
Just set an environment variable NSObjcMessageLoggingEnabled to YES
and look in the file: /tmp/msgSends-<processID>
The file should be easy to find if you are using the simulator (I only tested on a Simulator), but may require a jailbroken device to access the output on a device. I'll have a look to see if there is a way to route the output to a user defined file.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What programming languages can one use to develop iPhone, iPod Touch and iPad (iOs) applications?
I have a load of fairly simple scientific programs that I converted from Basic to C. I would like to put them onto the Apple App Store, and was just wondering if it is necessary to convert them to Obj-C first, or will the C code be OK as a start?
They are simple 'get user input', 'do some logic checks', 'do the calcs', 'output result' type progs.
Thanks for any help.
Objective-C has a fully functioning C underneath, and you can write pure C code and have it working.
However, i doubt you would be able to release a command-line application to App Store. You would have to create a user interface in Xcode, and that would definitely introduce Objective-C to your program. With that said, as long as you connect your program variables (outlets) to controls on the UI, and link UI buttons back to the program's functions (actions/methods), the main processing body of your function could be a copy of your C code.