Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
password
- Page 1
Re: LNK2005 unsigned short
Programming
Software Development
6 Days Ago
by Salem
I've responded to your email address (FYI, gmail ignores dots). You should edit your posts to remove your personal info.
LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
… click a button then show home which `home` is a
password
form when a user keys the correct credentials then it…
Re: Someone know how I can recover google workspace?
Hardware and Software
Microsoft Windows
3 Weeks Ago
by Devsharma
Go to the Google Workspace login page, and click on "Forgot
password
." Enter your account's email address, and follow the steps to reset your
password
. Google will send a verification code to your recovery email or phone.
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by WilliamOG
I think you're hitting a common linker issue. That LNK2005 error usually pops up when a variable is defined in more than one place. Check if m_hservice is being defined in multiple files. It might help to declare it as extern in your headers and then just define it in one source file. Hope that helps!
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Salem
> Anyone who knows how I can solve this problem? The short answer is don't put code in header files. Declarations go in header files, definitions go in source files. You get away with it in small projects where you only have one source file, and each header is included exactly once. But as soon as it gets a bit more complicated, …
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
@WilliamOG This variable is not declared anywhere else except on `Form1` where it is giving me problems. The issue seems to be with DWORD m_dwRVersion; HRESULT m_hr; WFSVERSION m_version; HSERVICE m_hservice; HWND m_handleWind; LPWFSRESULT m_result; @SaleM the code itself doesn't have error because I can …
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Salem
It seems to me you need to put the definitions in `form1.h` into a `form1.cpp` file. Header files contain declarations. Source files contain definitions. If you put definitions in a header file, and include that file twice, you end up with something defined twice. > then I get LNK2005 'unsigned short MyprojectName::m_hservice' (?…
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
I did try moving DWORD m_dwRVersion; HRESULT m_hr; WFSVERSION m_version; HSERVICE m_hservice; HWND m_handleWind; LPWFSRESULT m_result; From `Form1.h` to `Form1.cpp` but when I do that I get this error `error C2146: syntax error : missing ';' before identifier 'm_dwRVersion'`
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Salem
Well you still need to include `Form1.h` in `Form1.cpp` Also, `Form1.h` will need changing as follows extern DWORD m_dwRVersion; extern HRESULT m_hr; extern WFSVERSION m_version; extern HSERVICE m_hservice; extern HWND m_handleWind; extern LPWFSRESULT m_result;
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
Thank you so much, I would not have figured that out. You are a champ.
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
Oops when I uncomment the code as I've commented it out while I was having that error so that I can continue with the other development on the Form now I get `error LNK2020: unresolved token (0A0000DF) "unsigned short MyprojectName::m_hservice"`
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Salem
> error LNK2020: unresolved token (0A0000DF) "unsigned short MyprojectName::m_hservice" Did you add `Form1.cpp` to the project?
Re: LNK2005 unsigned short
Programming
Software Development
3 Weeks Ago
by Mr.M
The file is there and it also includes `Form1.h`
Re: LNK2005 unsigned short
Programming
Software Development
2 Weeks Ago
by Mr.M
No one know a fix or a solution to this problem?
Re: LNK2005 unsigned short
Programming
Software Development
2 Weeks Ago
by Salem
It's hard to visualise what you're doing wrong. You started with `'unsigned short MyprojectName::m_hservice' (?m_hservice@MyprojectName@@$$Q3GA) Already defined in home.obj` meaning you have more than one instance of `m_hservice`. You now have `error LNK2020: unresolved token (0A0000DF) "unsigned short MyprojectName::m_hservice"`…
Re: LNK2005 unsigned short
Programming
Software Development
2 Weeks Ago
by Mr.M
Here's my build log 1>------ Rebuild All started: Project: myprojectname, Configuration: Debug Win32 ------ 1> stdafx.cpp 1> AssemblyInfo.cpp 1> Form1.cpp 1> Form2.cpp 1> home1.cpp 1>c:\users\mypcname\documents\visual studio 2010\projects\myprojectname\myprojectname\Form1.h(13): …
Re: LNK2005 unsigned short
Programming
Software Development
1 Week Ago
by Salem
Why is `Form1.h` over 1000 lines long? Why are you using C-style `strncpy` all over the place, and not `std::string` (since this is C++). Does `Form1.cpp` include `Form1.h`? The lack of error messages when you compile `Form1.cpp` suggests not. I tried to send a PM to you, but it's disabled.
Re: LNK2005 unsigned short
Programming
Software Development
1 Week Ago
by Mr.M
> Why is Form1.h over 1000 lines long? This is because of the the functions as well as the controls (GUI) > Why are you using C-style strncpy all over the place, and not std::string (since this is C++). The code originally is from C > Does Form1.cpp include Form1.h? Yes it does > I tried to send a PM to you, but…
Re: LNK2005 unsigned short
Programming
Software Development
1 Week Ago
by Mr.M
@Salem here's my email informationupdatesa@gmail.com
Re: LNK2005 unsigned short
Programming
Software Development
1 Week Ago
by Mr.M
information.updatesa@gmail.com
microsoft & gmail continually forcing password change, what is workaround?
Programming
Software Development
1 Month Ago
by momentum2024
… in it takes me to a
password
reset. i have no wish to change my
password
{ also previously did but it still…
Re: microsoft & gmail continually forcing password change, what is workaround?
Programming
Software Development
1 Month Ago
by Salem
Which of the following things have you tried? 1. Cleared the cache and deleted all cookies in your browser 2. Tried with another browser 3. Tried with a browser running in "safe" mode - ie, without a bunch of plugins potentially messing with things they shouldn't 4. Tried with another computer Are you using a proxy or VPN which …
Flipper Zero Review: A Geeky Multi-Tool for Penetration Testing
Community Center
2 Months Ago
by Johannes C.
…deauthorized, and then you can use simple freeware and a
password
list to decrypt the network credentials (i.e., the…
password
). Of course, this method only works on unsafe passwords, and … to protect yourself is to choose a secure Wi-Fi
password
** (at least 12 characters with a combination of uppercase, …
Python Undefined Variable - Mysql Connector
Programming
Web Development
1 Month Ago
by cored0mp
…;localhost", database="iheartdaniweb", user="funuser",
password
="supersekritpass") except Exception as error: print("Exception…
Re: Hi everyone, I'm Ginny79
Community Center
Say Hello!
2 Months Ago
by alisaajohnson
…the AWS Sign-In Page and click on “Forgot your
password
?” Enter your email address to see if it prompts … AWS account by attempting to sign in or reset the
password
. Review Billing Statements: Check your credit card or bank …Use the AWS Account Recovery Page: Go to the AWS
Password
Assistance page and enter your email address. Contact AWS …
Re: What is the best possible way to protect my website?
Hardware and Software
Information Security
2 Months Ago
by Pelorus_1
… filter out malicious traffic. Additionally, make sure to establish strong
password
policies and conduct regular security audits to identify and address…
Re: What is the best possible way to protect my website?
Hardware and Software
Information Security
1 Month Ago
by DEEPAK_84
Hide login URL and
password
protection.
Re: Python Undefined Variable - Mysql Connector
Programming
Web Development
1 Month Ago
by cored0mp
I tried this on a mint system, a debian system and an ubuntu system with the same error. Should I just bite the bullet and maybe migrate to red hat? That would be skurry but perhaps necessary??
Re: Python Undefined Variable - Mysql Connector
Programming
Web Development
1 Month Ago
by Salem
I would suggest you do `pip list` in your working and non-working environments. It seems that `wrap_socket` is deprecated (and insecure) https://github.com/eventlet/eventlet/issues/795 I would have thought your `mysql` would have depended on the right version to begin with.
1
2
3
17
Next
Last
Search
Search
Forum Categories
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
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC