16,004,602 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 .NET 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 Rahul@puna (Top 26 by date)
Rahul@puna
19-May-23 8:56am
View
Had tried all these. But issue is still there. To me it looks like something related with driver project. Like I mentioned for non-driver (such as console application, I am not getting this issue.)
Not sure what is it related with.
Rahul@puna
19-May-23 8:33am
View
hi, disabling CFG is not resolving the issue.
Rahul@puna
29-Apr-19 2:06am
View
yes that might be.
Rahul@puna
29-Apr-19 2:04am
View
not sure of that, it's in their tool. May be they are doing some validation of the function and then giving output on the basis of that. I need to figure out what could be wrong with this function in any case.
Rahul@puna
29-Apr-19 2:01am
View
Yes actually I have updated the code. Following is that that i have updated to but still it was giving sanity check error.
void increment(int& x)
{
x++;
return;
}
Rahul@puna
29-Apr-19 1:56am
View
There was no specific error as such. I was doing this thing on a interview portal and their after checking with reference , it is compiling ok but giving some sanity error. that i am trying to figure out. what could be missing here.
Rahul@puna
24-Jul-17 3:13am
View
Hi, Thanks for your response. Actually I have included header file and also provided lib reference as mentioned in post in TARGETLIBS section of sources file, but still getting issue. Let me explain with an example:
Suppose i have function in ProjectA.dll as projectAfun();
Now this function is used in ProjectB.lib. When I build ProjectB, this is compiling properly. Now When I use static lib ProjectB.lib in my ProjectC and also include header file of ProjectA and give refernce of ProjectA.lib in ProjectC, I am still getting following error -
ProjectB.lib(ProjectB.obj) : error LNK2001: unresolved external symbol projectAfun
Regards
Rahul@puna
3-Jul-14 4:49am
View
As you said , It does use physical memory, but only a relative small window compared to the actual size. But if we want we can map whole file to physical memory if that amount of memory is available. Am I correct?
One more thing why the referred article is saying that File mapping object does not cost us any system resources as physical memory is also a system resource. So what does that mean?
Rahul@puna
6-Mar-14 7:35am
View
yes please. have a close look at it. as it will solve my very important problem. Thanks
Rahul@puna
6-Mar-14 5:56am
View
The problem persist, please check it on c compiler
Rahul@puna
6-Mar-14 5:46am
View
Ok I will once again check it. and note that the code is in C not c++.
Rahul@puna
6-Mar-14 4:50am
View
I have also tried the above code but it is also not working
Rahul@puna
6-Mar-14 3:26am
View
I got your point that value of any variable as a constant value under any circumstances. But my problem is that we accessing the address in both cases as shown below:
1. &(pRahulTvar->rahul[0]),//this is giving error: error C2099: initializer is not a constant
2. &(RahulTvar.rahul[0])// it is working properly
And 2nd is working properly, only 1 is giving error and why, I am still not clear. Could u please look into this and elaborate ur answer in reference with the above two lines.
Thanks in advance.
Rahul@puna
6-Mar-14 2:39am
View
now have a look at question and suggest me proper solution or workaround.
thanks in advance
Rahul@puna
21-Feb-14 5:00am
View
@Stefan So you are saying that queue is just for specific purpose and it let people know about its behaviour that what it is intended for. That's all why queue is introduced. Am I correct..
Rahul@puna
8-Jan-14 0:58am
View
It's disabled in Visual studio. How does it matter?
Rahul@puna
7-Jan-14 7:52am
View
@OriginalGriff I have tested the same code as mentioned by you but it stops execution at "int k=9/i" showing unhandled exception while debugging.
Rahul@puna
7-Jan-14 7:44am
View
@CPallini catch(...) is for catching any and all types of exceptions thrown from try block.
or it is only for C++ exception as u mentioned.
Rahul@puna
7-Jan-14 7:35am
View
thanks for observing that
Rahul@puna
11-Dec-13 11:43am
View
sry for misunderstanding.
Thanks for ur explanation.
Rahul@puna
11-Dec-13 8:39am
View
Means u r saying that it will results in unexpected behaviour(unsafe) that is why compiler is giving error.
I don't know whether this explanation is right or not.
By the way I have some doubt that is why I have put this question. Sorry, It is not a matter of laughing. Ur knowledge is of no use unless u r able to make it clear to someone.
May be I am not able to get it properly.
Rahul@puna
11-Dec-13 8:17am
View
I am Ok with ur explanation.
But my 2nd question is still remain unanswered i. why cant we put normal code outside the funtion.
Rahul@puna
11-Dec-13 8:12am
View
Its Ok then.
Why the problem occured I m still not clear.
Rahul@puna
11-Dec-13 8:08am
View
Deleted
But if I want to use that global map in some other funtion then how can we access the map if we declare that in main function.
Rahul@puna
11-Dec-13 7:53am
View
can u elaborate ur answer?
Rahul@puna
11-Dec-13 7:50am
View
But if I want to use that global map in some other funtion then how can we access the map if we declare that in main function.
And why cant we write normal code outside a function.
Show More