posted 23 years ago
Hi All,
I have created HTML page in my C language file.I used like following.
char defaultWebPage[] = "<html>\n<title>\nKonica\n</title>\n"
"<body bgcolor=\"#E9F92B\">\n<font size = +2>\n<hr>\n"
"<h2 align=\"center\">function VID(){VID2 = (unsigned long *) (DP_VID + ((2-1)*4));}\n";
"</h2>\n<hr>\n</f>\n</html>\n";
I can see following result on browser.
function VID(){VID2 = (unsigned long *) (DP_VID + ((2-1)*4));}
DP_VID is pointer to our shared memory of NIC.My purpose of using this formula to pull out the value directly from Shared memory of NIC card. and display only value on my browser.
How Can I implement function in a way that should calculate value and assign to VID2 and I can only see value of VID2 on my browser.
Thanks in advance,
Angela