Immediately after switching from XP to Vista, I realized that my C # programs did not work.
In this situation, I wrote a C ++ dll, which I use in my C # application. The DLL worked fine in XP, but when I switched to Vista, it no longer worked in C #.
I tested it in Delphi, it works fine, but C # doesn't.
I wrote additional code to make my check easier in C #.
if (LoadLibrary("blowfish.dll") == 0) { Misc.LogToFile("error", true); Application.Exit(); }
C ++ runtime is not required because it is compiled with libraries and works in Delphi on Vista, but not in C #.
Where can the problem arise?
Thanks in advance.
source share