vendredi 12 juillet 2019

C# LoadLibrary won't work without AllocConsole

When Loading my dll library using LoadLibrary in c#

LoadLibrary(@"rcsvnbase.dll");

as such it should after the dll main function is done write to a file. unless I AllocConsole it won't write to the file and do anything.

Edit: calling MessageBox in the dll also makes it work

Aucun commentaire:

Enregistrer un commentaire