Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
debug
- Page 1
Re: Error LNK1104 when debugging
Programming
Software Development
4 Days Ago
by rproffitt
For clarity. By "correct" you would be printing those variables to the
debug
output and not just looking at the syntax. If you only look at the LOC then that's a sin tax.
Re: Error LNK1104 when debugging
Programming
Software Development
1 Day Ago
by rproffitt
… and examining the variables. OR printing the variables to a
debug
output. You might be trying to avoid checking that. WHY…
Re: Error LNK1104 when debugging
Programming
Software Development
5 Days Ago
by Mr.M
I've checked every line but still, I even commented out the entire code but the problem still persist. What I've just noticed is that when I connect my laptop to an internet connection once Avast AV shows on screen then this error comes. I have to restart the entire computer and disconnect it from the internet then it will run proper.
Re: Error LNK1104 when debugging
Programming
Software Development
5 Days Ago
by Mr.M
This is very strange, if I change this code `hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);` To `hResult = 0;// WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);` The project does run successful but if I remove `0;//` the errors are returned which the …
Re: Error LNK1104 when debugging
Programming
Software Development
4 Days Ago
by rproffitt
I'm checking page 57 of https://www.cencenelec.eu/media/CEN-CENELEC/AreasOfWork/CEN%20sectors/Digital%20Society/CWA%20Download%20Area/XFS/16926-1.pdf Your next tasks are to verify each of the passed parameters are valid.
Re: Error LNK1104 when debugging
Programming
Software Development
4 Days Ago
by Mr.M
I've checked even with the NCR document it's correct. Page 57 of the document you are referring to has just one code on my end
Re: Error LNK1104 when debugging
Programming
Software Development
4 Days Ago
by rproffitt
Remember I can't check that your declarations are correct for the variables you are passing. -> File a ticket to their support.
Re: Error LNK1104 when debugging
Programming
Software Development
1 Day Ago
by Mr.M
I've recreated a new project and it now doing the same thing. I will have to try creating it on a different pc just to see if the issue is with my pc or.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Salem
…>C:\Users\mypcname\Documents\Visual Studio 2010\Projects\myprojectname\
Debug
\myprojectname.exe : fatal error LNK1120: 16 unresolved externals This is…
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Mr.M
… the code and try debugging and see if it will
debug
and if it does I will uncomment one line of…
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by toneewa
I've seen this happen from Windows Defender nuking Visual Studio's compile process. Make sure the PC is set to Developer Mode. Whitelist the directories involved in Windows Defender. This could happen after a Windows Update. Check the "defender" log and see if there is any file(s) to restore. Restarting the PC will resolve any hung…
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Mr.M
I tried saving logs and going through it but I don't see where it indicate where's the problem.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by rproffitt
Since no details such as logs were shared, others can't find Waldo.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Dani
Can you please save the log as a text file and attach it as an attached file here? Much thanks! :)
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Mr.M
Here's the log, I had posted it yesterday I don't know what happened to it now or it was removed?
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by wwwalker
When compiling no relevant libraries have been included for linker to link so the executable won't run as it can't be compiled with missing libraries. In C and C++ code, the library header includes are at the top of the page. E.g.: #include <iostream> Go through each error where code requires a library to be linked and add those …
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by rproffitt
I followed the build process and when I hit OpenXFS_V0.0.0.5 I went looking for that project to see if folk were having build problems. Where is this OpenXFS project to be found? I worry this is from some Linux project and may not be ready for Win and VS2010.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by toneewa
I like the challenge, but hate when errors like these occur. Check for a syntax error on line 2 in starter.h starter.h(2): warning C4067: unexpected tokens following preprocessor directive - expected a newline Hard to say without seeing code. Some cases m_hservice may require you to use the .lib file Advapi32.lib it if it isn't automatically…
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Salem
> Let me clarify, the project was running fine, only started experiencing this in few weeks ago.# https://en.wikipedia.org/wiki/Git Start using it. Every time you make forward progress, you make a commit. Every time you make a mess of it, you revert to the last known good state and try again.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Dani
I will also add that Git is built into almost all IDEs. It's the default version control for Visual Studio 2019 and forward. Are you still using VS 2010? There are some Git plugins for VS 2010 as well: https://stackoverflow.com/questions/16989962/visual-studio-2010-2012-git-plugin
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Mr.M
Thanks, I've never used Git before. I've commented out all the code but still. What I think might be producing this problem is the resources. I added a new item then changed the default to a new icon. But I did run the project successfully that time. This is the only thing I suspect might be a result of this problem. How can I clean the …
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by toneewa
I've seen this problem before with the .rc and resource.h files, when changing icons. Backup what you have. I remember I had to remove the resource files from the project, and the additional resource (e.g., resource1.h, resource2.h) generated headers from the project folder, when adding a new icon to replace the default. It's probably easier…
Re: Error LNK1104 when debugging
Programming
Software Development
1 Week Ago
by Mr.M
I've managed to find the problem but I don't know how to fix this because what it complains with is there. `error c2143: syntax error : missing ')' before ';' ` Here's the code it's points to. `hResult = WFSExecute( hService, WFS_CMD_CDM_DISPENSE, &tDispense, TWO_MINUTES, &lpResult);`
Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by Mr.M
Hi DW, I'm getting this error when I try to
debug
, it says it can't open `"c:\users\myusername\Documents\Visual Studio 2010\Projects\myprojectname\
debug
\myprojectname.exe"` How can I solve this?
Re: Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by rproffitt
Given only this I won't be able to do more than comment how I use the Visual Studio system to
debug
my app. 1. I open the project. 2. I set the build to "
Debug
". 3. I set breakpoints on lines of code I suspect to be problematic. 4. I run the app while in Visual Studio. That's usually enough to track down what I did wrong.
Re: Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by rproffitt
Since the file is not generated, try a full compile. Be sure you change to
Debug
for this build. You usually can't
debug
what you didn't compile. Example: There were compile or build errors which stopped the creation of the .exe file. But no mention of compile errors so I wouldn't write about that here.
Re: How Does Flutter Handle State Management Internally?
Programming
Software Development
1 Month Ago
by kearawill
… management. The downside is that it can be harder to
debug
and understand for developers unfamiliar with its underlying concepts. What…
Re: Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by Dani
When you browse the file system, does that file exist and is it accessible by the logged-in user? (Sorry, no VS experience.)
Re: Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by Mr.M
@rproffitt I tried that with no luck
Re: Error LNK1104 when debugging
Programming
Software Development
1 Month Ago
by rproffitt
Here's a page about how to create and view your VS log files to point you to where or why the compile failed. https://learn.microsoft.com/en-us/visualstudio/ide/how-to-view-save-and-configure-build-log-files?view=vs-2022
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC