Visual Studio 2022 Part3 (791レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん

リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
411
(1): デフォルトの名無しさん (オイコラミネオ MM1f-b23o) [sage] 2024/10/06(日) 18:43:57.99 ID:hGhtYsBiM(1/5) AAS
>>410
https://learn.microsoft.com/en-us/visualstudio/debugger/debugging-dll-projects?view=vs-2022
412
(1): デフォルトの名無しさん (オイコラミネオ MM1f-b23o) [sage] 2024/10/06(日) 18:53:33.06 ID:hGhtYsBiM(2/5) AAS
>>411
[続き]
* Set C/C++ DLL file locations

- To debug an external DLL, a calling project must be able to find the DLL, its .pdb file, and any other files the DLL requires. You can create a custom build task to copy these files to your <project folder>\Debug output folder, or you can copy the files there manually.

- For C/C++ projects, you can set header and LIB file locations in the project property pages, instead of copying them to the output folder.

* To set C/C++ header and LIB file locations:

Select the C/C++ DLL project in Solution Explorer and select the Properties icon, or right-click the project and select Properties.

At the top of the Properties pane, under Configuration, select All Configurations.

Under C/C++ > General > Additional Include Directories, specify the folder that has header files.

Under Linker > General > Additional Libraries Directories, specify the folder that has LIB files.

Under Linker > Input > Additional Dependencies, specify the full path and filename for the LIB files.

Select OK.

For more information on C++ project settings, see Windows C++ property page reference.
413: デフォルトの名無しさん (オイコラミネオ MM1f-b23o) [sage] 2024/10/06(日) 18:58:17.61 ID:hGhtYsBiM(3/5) AAS
>>412
そのように、既に起動しているアプリにAttachして
DLLをデバッグする場合、
基本的に、*.dll や *.pdbを発見できるようにしなければならないと有る。
また、*.lib や、*.h のディレクトリパスを設定する必要が
あるらしい。
*.dll の場所をどこかに指定する必要も有るかもしれない。
414: デフォルトの名無しさん (オイコラミネオ MM1f-b23o) [sage] 2024/10/06(日) 19:01:16.29 ID:hGhtYsBiM(4/5) AAS
1つの方法は、アプリのDebugフォルダに*.dllを
コピーしておく方法があるらしい。
415: デフォルトの名無しさん (オイコラミネオ MM1f-b23o) [sage] 2024/10/06(日) 19:03:38.18 ID:hGhtYsBiM(5/5) AAS
アプリ側のソースにブレイクポイントをかけたのに、
そのようなメッセージが出る場合は、DLLとは
関係が無いはずなので、それを英語で検索してみると
いい。そこで大事なのは、Googleを英語優先モードに
しておくこと。
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.029s