Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
c-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
4 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
3 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
2 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 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 Salem
> 1>
C
:\Users\mypcname\Documents\Visual Studio 2010\Projects\myprojectname\Debug\myprojectname.…
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
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 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 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: 💻 What’s the First App You Install on a Fresh Windows Machine?
Hardware and Software
Microsoft Windows
3 Weeks Ago
by Yrth
…directory on D: (or anywhere else), then go to
C
:\users\[username], delete the Documents folder (admin permissions required,…: with a command like so: mklink /j "
C
:\users\\[username]\Documents" "D:\users\\[username]\Documents&… Everything that expects the Documents folder to be on
C
: will find it there, but when it accesses …
Re: Best Approach for Starting a Linux-Based Home Automation Pro
Hardware and Software
Linux and Unix
3 Weeks Ago
by Dani
…;hvrand=7880327826579386076&hvpone=&hvptwo=&hvqmt=&hvdev=
c
&hvdvcmdl=&hvlocint=&hvlocphy=9032141&hvtargid=pla…
Is anyone using ChatGPT in French for programming tasks?
Programming
1 Week Ago
by kakasi63
Hi everyone, I've recently started exploring ChatGPT in the French language for programming help, and I was surprised at how effective it can be — even when working with frameworks like Laravel or JavaScript. For example, I asked it to generate a Laravel controller with French comments, and the output was both functional and easy to …
Re: C++ College Prank
Programming
Software Development
1 Month Ago
by cirol
Pranks can be fun, but fake viruses might cause real worry and problems. It’s best to use your skills in ways that don’t upset or confuse others.
Optimizing working with big data
Programming
Software Development
2 Months Ago
by Dani
… one I work with big data with) as well as
c
++ (because I know DaniWeb has a large low level…
c
++ community that is well suited to being able to delve … into depth, and because years ago when I focused on
c
++ myself, I was very focused on efficiency).
Re: Optimizing working with big data
Programming
Software Development
1 Month Ago
by ThinkWriteGrow
… one I work with big data with) as well as
c
++ (because I know DaniWeb has a large low level…
c
++ community that is well suited to being able to delve … into depth, and because years ago when I focused on
c
++ myself, I was very focused on efficiency). To optimize memory…
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: Optimizing working with big data
Programming
Software Development
2 Months Ago
by Salem
My first thoughts would be 1. What is large? Are we in the TB range or mere handfuls of GB? 2. How often do you need to do this? Is it once a day, once a month, or just once.
Re: Optimizing working with big data
Programming
Software Development
2 Months Ago
by Dani
> What is large? Are we in the TB range or mere handfuls of GB? For the sake of argument, let's use my use case and say dozens of gigs and millions of rows. > How often do you need to do this? Is it once a day, once a month, or just once. For me, the most important is real-time read and write performance to tables with millions of …
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