Posted: Tue Nov 10, 2009 5:41 pm USING .DLL FILE IN HTML AND JAVASCRIPT
Hi, I wrote the following class in C++ just to test:
#pragma once
#include <windows.h>
#include <stdio.h>
namespace Test1 {
public ref class Class1
{ public: void Web_Code()
{ DeleteFile("c:\\Test_Web.txt");
printf("Hello");
}
};
}
And built it. So I got Web_Test.dll
I uploaded to my web folder Web_Test.dll
And inserted html onto the web page:
Deleting files from a hard drive using a web page rangs a lot of bells here. Viruses do that and you are probably going to have problems with anti-virus programs, firewalls and many security setting from user's computer which do not allow running executables like that.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum