Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
debugging
- Page 1
Re: What’s a Small Coding Habit That Made a Big Difference Over Time?
Digital Media
Digital Marketing
Search Engine Strategies
9 Hours Ago
by Muhammad_367
Writing clear consistent commit messages write it kept my projects to the organized and easier to manage over long time.
What’s a Small Coding Habit That Made a Big Difference Over Time?
Digital Media
Digital Marketing
Search Engine Strategies
2 Days Ago
by emilyclarkford
… by recent results or using exact phrases), which has made
debugging
and learning new tools way easier. What are your “small…
Re: Error LNK1104 when debugging
Programming
Software Development
6 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
5 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
5 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
5 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
5 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
2 Days 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
2 Days Ago
by rproffitt
Again, while the SYNTAX may appear correct I find myself in Visual Studio setting a debgu break on the LOC and examining the variables. OR printing the variables to a debug output. You might be trying to avoid checking that. WHY IT MATTERS. Because during execution some of the variables are results from prior calls. If a prior call returned …
Re: What’s a Small Coding Habit That Made a Big Difference Over Time?
Digital Media
Digital Marketing
Search Engine Strategies
2 Days Ago
by Reverend Jim
I'd have to go with your practice of writing the docs/comments early on in the coding cycle. It's been a life saver. If you wait until after the code is written and debugged there is pressure to just move on to the next thing.
Re: Error LNK1104 when debugging
Programming
Software Development
3 Weeks Ago
by Mr.M
… do is try commenting out all the code and try
debugging
and see if it will debug and if it does…
Re: Error LNK1104 when debugging
Programming
Software Development
4 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 Salem
> 1>C:\Users\mypcname\Documents\Visual Studio 2010\Projects\myprojectname\Debug\myprojectname.exe : fatal error LNK1120: 16 unresolved externals This is why you don't have an executable file. Example: 1>myprojectname.obj : error LNK2020: unresolved token (0A0000DF) "unsigned short MyProjectName::m_hservice" (?…
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);`
Re: Error LNK1104 when debugging
Programming
Software Development
1 Week 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: How to show visa info based on country selection in a travel form?
Programming
Web Development
3 Weeks Ago
by groverharleen
… and what is the responses shared by PHP file. try
debugging
response accordingly or if still you face any trouble, please…
Re: Key Tools and Tips for Efficient Web Development
Programming
Web Development
1 Month Ago
by JackRyan248
… changes. > > Additionally, browser developer tools are invaluable for
debugging
. What are your go-to resources and tools for web…
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.
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