15,891,431 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by InvisibleMedia (Top 3 by date)
InvisibleMedia
26-Feb-16 13:01pm
View
Thanks for your comment. Is this problem remain unsolved ?
If so, there is a little information to know about compiling on the fly;
I explain it myself : depends to switches (Boolean values) in CompileParameters, if the compiled DLL is loaded immediately into the current execution, the DLL remains loaded until the executable quits. In Windows, you cannot easily unload a DLL.
To unload a DLL, there is a workaround : compiles and loads the DLL in a new AppDomain instance.
To do so, AppDomain.CreateDomain() is the main function to create a new domain. You need to create a new evidence and defines in it a new Zone; the zone computer is available; use this zone to address all security limits to the computer (other zones are intranet or internet). After the new domain is created, you can load your compilation process and loads the resulting the DLL. As you are finished, you can call the method Unload() associated with your AppDomain instance. And then, your DLL is then completely unloaded and delete can occur.
But, carefull : communications between two differents domains cannot be synchrone; it's asynchronous and you can transmit some information with and then by Marshalling. Methods in an AppDomain instance GetData() and SetData() are possible; but, in a limited manner, as such a Distributed COM marshal process.
InvisibleMedia
7-Sep-15 2:41am
View
Hi, the sample code given in this link does not use jQuery.
but, the question talk about it
InvisibleMedia
6-Sep-15 16:14pm
View
write it into the <head> node, add <script language="Javascript" type="text/javascript">body.onload(...);</script>