11/10/26 23:29:10.39
>>638, 636
ありがとうございます。
Desktop->Metroも無理なんですか。
Desktop AppぽいVS11からMetroを実行できているから
どうにか方法があるかなと思っていたけれど。
これってソースあります?
>>639
VSでDLL追加したら、DllImportは通ったみたいです。
追加したDLLのプロパティを見ても、Content = True とできる
ところはありませんでした。
また、DllImportはできているっぽいですが、別のエラーが出ました。
---
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem
in '******.exe.'
Additional Information: Acall to PInvoke function '****' has unbalanced the
stack. This is likely because the managed PInvoke signature dose not match the
unmanaged target signature. Check that the calling convertion and parameters
of the PInvoke signature match the target unmanaged signature.
---
>>640, 642 さんの会話が原因かなと思いましたが、
Managed Debugging Assistant 'PInvokeStackImbalance' has detected a problem
などでググってみると、それ以前に問題がありそうな気がしました。
が、まだよく分かりません。そろそろWinRTスレと関係なくなってきましたかね。