Lỗi cannot find or open the pdb file năm 2024

The following code runs nicely, however after running the program i receive the error: 'ConsoleApplication55.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.

include "stdafx.h"

include

using namespace std; int main() { int feet, inches; double cm; bool goodData = false; while (!goodData) { try { cout << "PLease enter a positive length in feet: "; if (!(cin >> feet)) throw 1; else if (feet<0) throw 2; else goodData = true; }

catch (int n) { if (n == 1) { cout << "non number entered\n"; cin.clear(); cin.ignore(80, '\n'); } else cout << "Please enter a positive integer!\n";

} } goodData = false; while (!goodData) { try { cout << "PLease enter a positive length in inches: "; if (!(cin >> inches)) throw 1; else if (inches<0) throw 2; else goodData = true; }

catch (int n) { if (n == 1) { cout << "non number entered\n"; cin.clear(); cin.ignore(80, '\n'); } else cout << "Please enter a positive integer!\n";

} } cout << feet << " feet " << inches << " inches ="; inches = inches + feet * 12; cm = inches * 2.54; cout << cm << " centimeters\n"; system("pause"); return 0; }

That's not an error, it's just letting you know it can't find the debug symbols for a system library. You don't need them and it has nothing to do with your code.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

DUE TO ADMINISTRATIVE REASONS, WE MAY NOT BE ABLE TO RESPOND (OR TO RESPOND AS QUICKLY AS USUAL) BETWEEN July 26, 2024 - August 5, 2024. WE APOLOGIZE FOR INCONVENIENCE.

  • Index
  • Recent Topics
  • Search
  1. Forum
  2. Discussions
  3. QuickOPC-Classic in .NET
  4. Reading, Writing, Subscriptions, Property Access
  5. Cannot find or open the PDB file

17 Mar 2019 14:50 by support

Hello, please explain the issue better. I do not understand where the error appears, under which conditions (are you running under debugger? Have you tried without the debugger?) and what is its full text.

Please provide a screenshot. Also, version and build of QuickOPC is needed.

If the error was just in the debug output. then it is perfectly normal and can be ignored.

Best regards

Please Log in or Create an account to join the conversation.

17 Mar 2019 14:13 by khanhqhoang

Suddenly, I ran into the following error message when I tried to run my program. It used to work before but somehow I encountered this error suddenly. I tried uninstall and reinistall OPC Lab and also from NuGet but it did not fix the issue. I am able to build the application but ran into issue when I tried up click on buttons that attempt to update or read OPC UA tags from Kepware EX 5.18. My Kepware EX is working fine.

Hi, While running my 'VisualStudio 2017' I am getting "C:\Windows\SysWOW64\wpcap.dll. Cannot find or open the PDB file error. and C:\Windows\SysWOW64\Packet.dll. Cannot find or open the PDB file error." I'm also a user of windows10 64-bit i have already set "Tools > Options > Debugging > Symbols " and selected Microsoft symbol server. so all other PDB files are loaded except for "wpcap.dll and Packet.dll "

'simple_test.exe' (Win32): Loaded 'C:\Users\HET-332400RC\CMakeBuilds\820837c8-48bf-1f31-abf9-d29c81f3f866\install\x86-Debug\bin\simple_test.exe'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wpcap.dll'. Cannot find or open the PDB file. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Packet.dll'. Cannot find or open the PDB file. 'simple_test.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\Packet.dll' 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll' 'simple_test.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll' 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Packet.dll'. Cannot find or open the PDB file. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Symbols loaded. 'simple_test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Symbols loaded. The thread 0x1484 has exited with code 0 (0x0). The thread 0x2118 has exited with code 0 (0x0). The thread 0x1cfc has exited with code 0 (0x0). The program '[13052] simple_test.exe' has exited with code 0 (0x0).

I get this error then I found wpcap.dll,Packet.dll in the C:\Windows\SysWOW64 folder. What is this problem and how can I solve it? Is there anyone who can help me? Thank you