In this post, I'm talking about native windows applications and DLLs created with C++ and Win32 API.  From the post  I understand that 64-bit process cannot use 32-bit DLLs directly. One way to get around this is to host the DLL in a 32-bit process and use some form of IPC.  This being the case, what is the reason behind this? Why can't 64-bit process use 32-bit DLLs? Could it be the differences between the x86 and x64 instruction sets?
I recently upgraded a c# windows service to run as a 64 bit .net process. Normally, this would be trivial, but the system makes use of a 32-bit DLL written in C++. It is not an option to convert this DLL to 64 bit, so I wrapped the DLL in a separate 32 bit .net process and exposed a .net interface via remoting.  This is quite a reliable solution, but I would prefer to run the system as a single process. Is there any way I can load my 32 bit DLL into a 64 bit process and access it directly (perhaps through some sort of thunking layer)?
If we set $A$ and $B$. Assuming that there exist an injective map from $A$ to $B$ and an injective map from $B$ to $A$. How to prove that there is a bijection between $A$ and $B$. Prove that for sufficiently large $x$, $(\log x)^p<x$ where $p$ is a positive integer. How to keep application running after closing the terminal? Find the condition on $a$ and $b$ so that the two tangents drawn to the parabola $y^2=4ax$ from a point are normals to the parabola $x^2=4by$ Find the condition on $a$ and $b$ so that the two tangents drawn to the parabola $y^2=4ax$ from a point are normals to the parabola $x^2=4by.$  The required condition is $a^2&gt;8b^2$.I dont know how to prove it.I tried.  Let $(h,k)$ be the point from where tangents are drawn to the parabola $y^2=4ax$.Let $m_1,m_2$ be the slopes of the tangents.Equations of tangents are $y=m_1x+\frac{a}{m_1}$ and $y=m_2x+\frac{a}{m_2}$ and equations of normal to the parabola $x^2=4by$ is $y=m_1x-2bm_1-bm^3_1$ and $y=m_2x-2bm_2-bm^3_2$.  As $y=m_1x+\frac{a}{m_1}$ and $y=m_1x-2bm_1-bm^3_1$  are the same lines.Therefore,$\frac{a}{m_1}=-2bm_1-bm^3_1$  $bm^4+2bm^2+a=0$  And I am stuck.I cannot get the desired condition.Please help me. I know what anti-matter is and how when it collides with matter both are annihilated. However, what about anti-photons? Are there such things as anti-photons?  I initially thought the idea preposterous. However I am curious because, if anti-photons don't exist, then anti-matter could theoretically transfer its energy to normal matter - through the mechanism of light. Is it right? Recover files from hard drive that has been formatted thrice I have a situation.  I got married 6 months ago and stored some very important pictures on my laptop which was running Linux. Later I formatted the whole hard drive, installed Windows and a hacked version of Mac (just to play around) and I have been using the laptop for last 8 months or so after that.  Is there any software that can recover the files for me? I am happy to pay money! Prevent area light from being reflected on glass? I did setup an easy scene with an area light behind a window. In the glass (simple plane) which is in front the area light is visible - how can I turn this off so that the background is shining throgh? Why not perma-ban instead of suspend an account for 275 years? I know there are a lot of questions about very long suspension periods, but I came across a case that is quite perplexing. This user had many offenses to earn his long ban, despite being a very prolific and high-rep user with many valuable posts, but the suspension period assigned strains the definition of "suspension."     This account is temporarily suspended network-wide. The suspension   period ends on Mar 18 '(22)92 at 16:28.   I can see why you might want to suspend an account for several years, maybe even a decade, if you don't believe behavior will change. However, what is the point of "suspending" an account for 275 years? Is there a reason why you can't just make it a permanent ban instead of pretending it is a suspension?    On a tangential note, isn't the "temporary" in "temporary suspension" redundant?  Suspend: temporarily prevent from continuing or being in force or effect. This question led to a new package:      I wish to typeset some relatively long URLs in a piece of text, and when I use \url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the way to the edge of the paper before wrapping around.   For reference, my preamble looks like this:  \documentclass[12pt]{article} \usepackage{mathptmx} \usepackage{fullpage} \usepackage[pdftex]{hyperref}   and example of the url I'm including is:  \begin{itemize} \item Some text  \url{very-long-url} ... \end{itemize}   I'm compiling using pdflatex, although I doubt this makes a difference. I'm running into this weird problem with Google spreadsheets: if the cells have comments on them and I sort the spreadsheet, the rows sort but the comments stay in the same position, and don't move with the cells they're attached to.  In other words, the cells look like this:  A C  &lt;-- comment on this cell B   and then I sort by this column:  A B  &lt;-- comment remains on this cell (stays in position) C  &lt;-- comment should have remained attached to this cell   This means that sorting is completely broken and I can't use it at all, because I clearly need the cell comments to stay with the cell they're attached to.  Is this a bad bug in Google Spreadsheets, or am I missing something here? Why this javascript regex doesn't work? Creating non-reverse-engineerable Java programs Construction of "it's too hard a task" Trying to open a http website on any web browser (event telnet) gives a ‘ERR_CONNECTION_REFUSED’ or ‘connection timed out’.  However, the same sites can be opened using https. I tried doing a traceroute and it works fine.  I am new to OS X but have experience with Linux. How do I go about troubleshooting this issue?  Update  I think I've tracked down the culprit to a rule in pf (firewall).  The result of sudo pfctl -s nat is:  No ALTQ support in kernel ALTQ related functions disabled rdr pass inet proto tcp from 192.168.0.101 to any port = 80 -&gt; 127.0.0.1 port 9882   192.168.0.101 is the current ip address of the computer.  I tried to remove the rule with sudo pfctl -F all, but it is back after a few seconds. I didn't find the rule in the default configurations (/etc/pf.conf). And disabling pf with sudo pfctl -d has no effect on it.  Is this a malware issue? Grid search vs. random search for hyperparameter tuning I am interested in comparing the computational cost of grid search vs. random search algorithm for hyperparameter tuning. Is random search computationally less expensive then grid search? Is there an article/paper that talks about this topic? Thank you, I looked at MyAnimeList, there is a classic series, it's Devilman, had an anime adaptation in January 5th, 2018. I am interested to watching this series. Quick search for these series, it has a lot of adaptations since 1970's.   Do I have to watch all of those serieses before started to watch Devilman: Crybaby? Are these series unrelated to the past series?  Note: I have never watched or tried to watch this series, so I have no idea about this franchise. How can Ohm's law be correct if superconductors have 0 resistivity? Is there a difference between copy initialization and direct initialization? On the canonical isomorphism between $V$ and $V^{**}$ Why does $1+2+3+\cdots = -\frac{1}{12}$? $\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) &gt; 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer?