orionmetrics
New member
Hi, I know this is probably outside the normal discussion here, but was wondering if someone could give a novice (haven’t programmed in C/C++ since about 2005) C++ programmer some recommendations on a compiler (ideally opensource) for compiling dlls for exeoutput for php to use (not as php extensions) - this in specifically in relation to my earlier thread on obtaining network card ip addresses. I have read these articles here http://tangentsoft.net/wskfaq/examples/ipaddr.html and http://tangentsoft.net/wskfaq/examples/ipaddr.html to access windows dlls, but not sure how to implement them in hescript, so was thinking about trying to write a small .dll which just returns the current main network card ip address with no parameter calls, and the dll itself does the calling of wsock or GetAdaptersAddresses via example code - but as I haven’t done C++ in ages, was wondering on recommendations for a compiler. Ideally want opensource as I don’t want to have to spend a fortune just for possibly one small task.
Alternatively as hescript can call some Delphi Pascal functions, were there any Delphi Pascal functions which would return the network card address I could use in hescript ?
I do have a solution by my application program calling ipconfig program on windows 7 via hescript, but if microsoft ever change the formatting of their program then it will no longer work. Also from purely cosmestic reasons I don’t like the way in my existing program a command dos box temporary appears when the ipconfig program is run (hiding status in Runprogram doesn’t hide the box alas).
Thanks.
Alternatively as hescript can call some Delphi Pascal functions, were there any Delphi Pascal functions which would return the network card address I could use in hescript ?
I do have a solution by my application program calling ipconfig program on windows 7 via hescript, but if microsoft ever change the formatting of their program then it will no longer work. Also from purely cosmestic reasons I don’t like the way in my existing program a command dos box temporary appears when the ipconfig program is run (hiding status in Runprogram doesn’t hide the box alas).
Thanks.
Last edited: