VB.NetやC#などのマネージド環境からアンマネージドなC++のDLLにデータを受け渡したり、逆にDLLからVBへ値を渡すのは中々に大変です。その中でも構造体の扱いはかなり難易度高め。そこでこの記事では僕があれこれ試してみて取り敢えず成功したVBの(単純な ...
関数の中で非同期処理を行い、その終了や結果を呼び出し元にお知らせしたい。そういう事って非常に良くあります。作っているアプリがVBやC#内だけで完結しているのであれば、デリゲートとかラムダ式を関数に渡せば、関数内で任意のタイミングでそれを ...
I like to use DllExport, but I need to work in vb.net. On github pages I only found an example with C#, Denis told me he works only with that and not with VB. So he has no example.
Change 3 strings in Login.vb and you're ready. If you want to edit the KeyAuth.dll download the example above build the project, edit KeyAuth.cs and build it as .dll Import it in VB as reference and ...