15,904,822 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 14629414 (Top 53 by date)
Member 14629414
29-Jun-22 1:38am
View
AMARNATH REDDY SURAPUREDDY Thank you for your suggestion. This question was for my graduate project and I've finished it. Anyways thank you ^
Member 14629414
29-Jun-22 1:36am
View
Actually I was very surprised that my 3 years old question still receive suggestions from others and I don't think it was any kinds of abusing from people.
Member 14629414
8-Jun-22 4:19am
View
thanks for that
Member 14629414
8-Jun-22 4:09am
View
When I tried to access all the data (example for 'current') I got this:
'wind_deg': 99,
'wind_gust': 2.55,
'wind_speed': 3.27},
{'clouds': 17,
'dew_point': 15.66,
'dt': 1654758000,
'feels_like': 25.26,
'humidity': 58,
'pop': 0.48,
'pressure': 1012,
'rain': {'1h': 0.24},
'temp': 25.17,
'uvi': 1.49,
'visibility': 10000,
'weather': [{'description': '小雨',
'icon': '10d',
'id': 500,
'main': 'Rain'}],
you can see the list 'rain' which is the amount rain for 1h
Member 14629414
8-Jun-22 3:47am
View
@Richard MacCutchan Add the command : pp.pprint(f"rain : {data['rain']}") to the print sections of the codes and you will see the errors
Member 14629414
28-Jul-21 12:53pm
View
@Richard Deeming Thank you very much for your comment.As for the bonus problem I would delete the index[0] when call the properties as it specified only first item.
Member 14629414
27-Jul-21 13:39pm
View
I'm confusing because what make it defined here. Even I put index[0] after the properties"name" like this ${arr[0].name[0]} it still said undefined
Member 14629414
27-Jul-21 13:37pm
View
DevParty I did like you said then it said that:
Cannot read property 'name' of undefined
Member 14629414
17-Jul-21 0:07am
View
OriginalGriff holyshit I've done this. The worst thing you've told was the "clear array" before call the function lol
Member 14629414
16-Jul-21 13:12pm
View
Richard Deeming I'm building a program which display the frequency of each number from 0 to 9 when generate random (0,9) a certain times(num) and that "num" used by both 2 functions so I declared it globally. Nothing change when I move it inside RepeatNtimes() and pass it as parameters in CountIndex(). Incase you have no idea about what I'm aiming for.
Member 14629414
16-Jul-21 8:35am
View
Would you mind if I post a new one? I think I still can't understand the way 2 functions work with a "onclick" event also how to display multi DOM object with one loop. Though I think I'm stupid but I night got along with this
Member 14629414
16-Jul-21 7:51am
View
@OriginalGriff Can you tell more specific about the way to solve this problem like now we have 2 functions and what the jobs each of them do? Or I can post a new code about it but I haven't done it yet because I still don't imagine the steps to solve.
Member 14629414
9-Jul-21 1:11am
View
OriginalGriff I don't ask for a code but I ask for a solution for this . Thank you for the solutions
Member 14629414
1-Jun-21 8:17am
View
Thank you for your comments. It's my loop that caused the problem
Member 14629414
1-Jun-21 8:17am
View
Thank you for your detail suggestion !. Now I understand the problem is in my loop.
Member 14629414
17-May-21 9:13am
View
Thank you so much!
Member 14629414
17-May-21 8:52am
View
@Richard MacCutchan I wonder what editor/compiler you're using . My VS 2019 didn't show that errors or I don't know how to search for it?
Member 14629414
17-May-21 8:25am
View
@Richard MacCutchan How stupid I'm!!!!!
Member 14629414
17-May-21 8:22am
View
@Richard MacCutchan Oh I'm using Visual Studio 2019 community as usual:)) I will follow yours and try to fix it then I will tell you the results! Thank you
Member 14629414
17-May-21 8:16am
View
@Greg Utas Thank you very much! I will try to fix it!
Member 14629414
17-May-21 8:09am
View
@Richard MacCutchan I'm very sorry about the late reply but I have uninstall all those version of VS community include the 2019 and the older versions. Then I reinstall it and follow your suggestions. At last it works. Thank you!
Member 14629414
26-Apr-21 6:45am
View
@OriginalGriff Thank you for the info!
Member 14629414
26-Apr-21 6:32am
View
@den2k88 I'm using en_US not ja_JP. Even when I changed my locale it still not work
Member 14629414
5-Mar-20 3:49am
View
Richard MacCutchan I'm very curious how can you build an old VS version project in VS 2019 without no problems
Member 14629414
5-Mar-20 3:48am
View
It showed the error "MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found" as this old project from VS 2015
That's all i know by now
Member 14629414
4-Mar-20 17:43pm
View
Stefan_Lang sure i'll take much more effort to explain my situation than just posting code. Anyways thank you for your advice!
Member 14629414
4-Mar-20 17:37pm
View
When I compiled it for example which one is written for VS 2015 it showed that project didn't have Platform Toolset 'v140' so can't be compiled unless i install VS 2015 build tools or upgrade the project to the current VS 2019 by selecting " Retarget solution"
I did that but the result didn't change
Member 14629414
4-Mar-20 17:22pm
View
I think that we are misunderstanding to each other.I mean that those program were built with older version of VS(from VS2010 to VS 2015) so in VS 2019 i can't compiled it and it was the problem.
Member 14629414
4-Mar-20 11:28am
View
Richard MacCutchan I'm sorry to reply late to you but in Windows SDK Version it doesn't have SDK 7.1 I've installed and it just has 10
Member 14629414
4-Mar-20 9:25am
View
I'm very sorry for replying late to you. But anyways it was a bad question as for my thought. Thank you for comment!
Member 14629414
24-Dec-19 11:15am
View
@Richard MacCutchan I've edited the question.
Member 14629414
27-Nov-19 9:22am
View
@Shao Voon Wong
In my upper path of program i have define the value for "c_countOfImagesToGrab " by 100000 . That means the worker thread will capture 100000 frames then close automatically.
Member 14629414
27-Nov-19 6:55am
View
@Shao Voon Wong Hey when i remove the worker thread out of While loop and use detach() it had no errors when compiled and 2 program run parallel perfectly!!!
I don't know how to describe my grateful emotion to you, you saved my life!!! I have worried about this problem for week and now i fixed it thanks to you!!
Member 14629414
27-Nov-19 6:50am
View
But when i use detach() my worker thread can't compile and it has error:(( I can't capture the video
Member 14629414
27-Nov-19 6:48am
View
If i call ''join()" the error gone but 2 program didn't work at the same time
Member 14629414
27-Nov-19 6:45am
View
@Shao Voon Wong Oh i want my worker thread run parallel with the main thread so i'll use t1.detach();
Member 14629414
27-Nov-19 6:43am
View
Ok i get it! I'm very grateful!
Member 14629414
27-Nov-19 6:42am
View
When i compiled it it showed me a debug error window and also this:
(in "thread.h"):
thread() noexcept{
if (joinable()){
_STD terminate(); =>
breakpoint orcur in Project 34.exe
Member 14629414
27-Nov-19 6:32am
View
@Shao Voon Wong Thank you so much the program can be compiled without any errors!!!
But it seem my main program don't work.Maybe because the main program has to wait
the thread until it close?.I want 2 program run parallel
Member 14629414
27-Nov-19 6:18am
View
@Shao Voon Wong I even don't know exactly what parameter should pass to the thread
so i'm not sure ptrGrabResult is correct or not. But in the upper path of the code ptrGrabResult is defined as "CGrabResultPtr ptrGrabResult;"
It is the variable to stored the captured frame from camera.
Member 14629414
27-Nov-19 5:42am
View
Could anyone tell me how to solve this problem? I've stuck with this stuff about 1 week:((
I'm very grateful!!
Member 14629414
26-Nov-19 0:06am
View
It didn't relevant to the information you want to get but can i ask you how did you set full resolutions of your cameras?
Member 14629414
12-Nov-19 7:29am
View
Anyway thank you for help!
Member 14629414
12-Nov-19 6:51am
View
@RickZeeland
Can you teach me how to lower the resolution and framerate of my camera?
Member 14629414
12-Nov-19 6:51am
View
@RickZeeland
Can you teach me how to lower the resolution and framerate of my camera?
Member 14629414
24-Oct-19 4:29am
View
@Richard MacCutchan
Thank you now iknow how to add the right link to library. I've missing ws2_32.lib and I've added it in the linker in library
Thank all of you for all your precious help!!
Member 14629414
24-Oct-19 2:34am
View
@Richard MacCutchan
Even when i tried to add winsock2.h to my library. It didn't work. Only <netinet in.h=""> make all LNK 2019 errors dismissed . 1 thing is this program I've fixing is working parallel with second program call 'C controller' and this program will took the signal value of my fixing program to control robot and in the include it has #include<arpa inet.h=""> so i think the program i've fixing must have a compatible header file
Member 14629414
23-Oct-19 3:09am
View
@OriginalGriff
The brackets are originally written in the source and whithout it it will became error.
but the original program has error too so i had to change it but i still can not make it compiled
Member 14629414
23-Oct-19 3:05am
View
@OriginalGriff
I actually had it in the source file.Maybe i forgot to paste it.
Now when correcting all the path i had 3 errors
Member 14629414
21-Oct-19 8:32am
View
Oh i've just realize i can not dowload the VS 2003 because the system require is very different.
Member 14629414
21-Oct-19 8:19am
View
LNK 2005:main is already defined in ConsoleApplicationDemo_Mech.obj
LNK 2019: Unresolved external symbol __imp_closesocket referenced in function main
LNK 2019: Unresolved external symbol __imp_connect was referenced in the function main.
LNK 2019 : Same to error above but with ''_imp_htons''
LNK 2019 : " " _imp_recv " "
LNK 2019 : _imp_send
LNK 2019: _imp_socket
LNK 2019: _imp_WSAStartup
LNK 2019:_imp_inet_pton
All this errors orcured in a file called''Source.obj''
LNK1120 8 outstanding external references
Only this error orcured in file''ConsoleApplicationDemo_Mech.exe''
The project i'm writing named ''ConsoleApplicationDemo_Mech''
Member 14629414
21-Oct-19 7:23am
View
@KarstenK
thank you so much for that precious advise.
I'll follow that way because when open new project in visual studio 2019 and copy the code from original i've faced many mistake when i corrected it it came to another error which is in another file not that source file and i don't know how to fixed it
The error in my 2nd question is an example. When i fixed this name 'getch' it came up with 8 errors in the other file which i even can't open it
Member 14629414
21-Oct-19 5:27am
View
@Richard MacCutchan
Thank you for your reply
I've changed it into _getch()
Then i receive more errors when compiled it
Show More