Does anyone know how to open a new instance of an IE browser from a Windows XP system DLL? The esignal example is as follows:
var d = new DLL( "c:/testdll/myTest.DLL" );
function preMain() {
d.addFunction( "MyCallName", DLL.DOUBLE, DLL.CDECL, "Testing123", DLL.INT, DLL.STRING, DLL.FLOAT, DLL.DOUBLE, DLL.BYTE );
//in the above example:
// "MyCallName" is the internal name we have assigned to the DLL function we are calling
// DLL.DOUBLE is the type of value it returns (e.g., a double-precision number)
// DLL.CDECL is the calling convention used by our DLL
// "Testing123" is the actual function name of the exported DLL function.
// DLL.INT signifies that the first input parameter is an integer
// DLL.STRING signifies that the second input parameter is a string
// DLL.FLOAT signifies that the third input parameter is a float
// DLL.DOUBLE signifies that the fourth input parameter is a double
// DLL.BYTE signifies that the fifth input parameter is a byte
}
function main() {
var retVal;
retVal = d.call( "MyCallName", 123, "hello world", 456.23, 544.0014053, 255 );
I am not sure which DLL to call and how to code the interface and parameters. I would like two calls, one to open a new instance, and another call to replace the browser with new content that I supply as a String.
I know it can be done but I am not sure how to do it!!
var d = new DLL( "c:/testdll/myTest.DLL" );
function preMain() {
d.addFunction( "MyCallName", DLL.DOUBLE, DLL.CDECL, "Testing123", DLL.INT, DLL.STRING, DLL.FLOAT, DLL.DOUBLE, DLL.BYTE );
//in the above example:
// "MyCallName" is the internal name we have assigned to the DLL function we are calling
// DLL.DOUBLE is the type of value it returns (e.g., a double-precision number)
// DLL.CDECL is the calling convention used by our DLL
// "Testing123" is the actual function name of the exported DLL function.
// DLL.INT signifies that the first input parameter is an integer
// DLL.STRING signifies that the second input parameter is a string
// DLL.FLOAT signifies that the third input parameter is a float
// DLL.DOUBLE signifies that the fourth input parameter is a double
// DLL.BYTE signifies that the fifth input parameter is a byte
}
function main() {
var retVal;
retVal = d.call( "MyCallName", 123, "hello world", 456.23, 544.0014053, 255 );
I am not sure which DLL to call and how to code the interface and parameters. I would like two calls, one to open a new instance, and another call to replace the browser with new content that I supply as a String.
I know it can be done but I am not sure how to do it!!