Re: Error LNK1104 when debugging Programming Software Development 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 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: Error LNK1104 when debugging Programming Software Development 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 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 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 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 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 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 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 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 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: How to show visa info based on country selection in a travel form? Programming Web Development by Biiim I felt like some fun, so I just put together an example for you using CDN's and bootstrap 5. From what you are talking about you probably want to put some of that logic into the Javascript and not need to send a server request for each one, I usually do this kind of thing with javascript objects/arrays (eg `settings['GB']['visa_req'] = false;… Re: 💻 What’s the First App You Install on a Fresh Windows Machine? Hardware and Software Microsoft Windows by Reverend Jim That's exactly what I did except I used sysinternals junction.exe. This still leaves things screwed up in that the address bar may still show you in OneDrive even though you are saving to the junction point. Re: Error LNK1104 when debugging Programming Software Development 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 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 by rproffitt Since no details such as logs were shared, others can't find Waldo. Re: Error LNK1104 when debugging Programming Software Development 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 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 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 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 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 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 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 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 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: Cannot run exe from asp.net Programming Web Development by lennyli > Why your approach isn’t working > What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: > > Running a .exe on the server > You can technically make the server launch an .exe file like Notepad, but: > > It will run in the background on the server, not visibly on… Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >… Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Cannot run exe from asp.net Programming Web Development by lennyli I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will … Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 Why your approach isn’t working What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: Running a .exe on the server You can technically make the server launch an .exe file like Notepad, but: It will run in the background on the server, not visibly on the desktop. It needs special …