Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
visual-c++
- Page 1
Re: Error LNK1104 when debugging
Programming
Software Development
5 Days 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
3 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
2 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
2 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
2 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
2 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 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 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
2 Weeks Ago
by Salem
> 1>
C
:\Users\mypcname\Documents\
Visual
Studio 2010\Projects\myprojectname\Debug\myprojectname.exe : fatal error LNK1120: …
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 …
Re: Error LNK1104 when debugging
Programming
Software Development
2 Weeks Ago
by wwwalker
… as it can't be compiled with missing libraries. In
C
and
C
++ code, the library header includes are at the top…
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
2 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
2 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
2 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
2 Weeks Ago
by Mr.M
I've tried doing the extern to all these variables but still. Let me clarify, the project was running fine, only started experiencing this in few weeks ago. Regarding the question about the OpenXFS project (Library) the library is here and it's linked. What I will do is try commenting out all the code and try debugging and see if it will …
Re: Error LNK1104 when debugging
Programming
Software Development
2 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
2 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 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.
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: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
…restricted by default. > > Programs with a
visual
interface (like Notepad) usually won’t display anything because ….py Traceback (most recent call last): File "
C
:\Users\maxwi\client.py", line 18, in &…lt;module> main() ~~~~^^ File "
C
:\Users\maxwi\client.py", line 6, in main client_socket…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Months Ago
by lennyli
… Dim command Dim result ' Path to the executable command = "
C
:\inetpub\wwwroot\ribbons.scr" ' Create a shell object Set…
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
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: 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
Re: Visual C++
Programming
Software Development
19 Years Ago
by Ancient Dragon
>>
Visual
C
++ 1.52, I am trying to teach myself programming well, you won't learn much by using that ancient compiler, and what you do learn will most likely be wrong. Get yourself a modern compiler -- there are several free ones that are good for learning, such as Dev-
C
++ from [url]www.bloodshed.net[/url]
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