15,891,621 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 Mahdi Nejadsahebi (Top 56 by date)
Mahdi Nejadsahebi
18-Sep-17 2:06am
View
Dear Grame
I think it can help someone when he/she is searching about something like this, doesn't it?
thanks for your comment
Mahdi Nejadsahebi
28-Mar-17 2:17am
View
Dear Richard i respect to you for spending your time to ans me.
Let me test and then i'll tell you the result.
Mahdi Nejadsahebi
28-Mar-17 2:15am
View
I've no idea about you dear frined (0x01AA) ... but thanks for your comment.
Mahdi Nejadsahebi
26-Mar-17 8:04am
View
Excuse me my friend
i can't findout my problem when i read the link that you've sent.
can you explain for me?
although i'm working with opencl 1.2.
thanks
Mahdi Nejadsahebi
15-Jan-17 7:12am
View
Deleted
yeah, you were right.
The problem was about the operator.
I used the "atomicAdd(&_sum[0], 1);" and that has fixed.
Thank you so much dear friend.
Mahdi Nejadsahebi
15-Jan-17 6:51am
View
i've also behaviored like below :
_buffer[0] = _buffer[0] + 1;
but the problem is there.
Mahdi Nejadsahebi
10-Jan-17 1:56am
View
you just have to change the "access database" to "excel database" sql connection string.
Mahdi Nejadsahebi
10-Jan-17 1:55am
View
have a good time dear friend
You know that the excel is a kind of database and you should connect and work with it like a database.
This tutorial can helps you to do this :
https://www.codeproject.com/Tips/691696/Query-Database-From-MFC-Database-Viewer
Mahdi Nejadsahebi
10-Jan-17 0:45am
View
dear friend
generally creating the GUI with C++ is a little hard!
you're passing my way in the past.
if you let me and wait, i'll send a theme that has been created with C++ in GDI, just you should remind me becuase i'm so bussy!
good luck
m.nejadsahebi@live.co.uk
Mahdi Nejadsahebi
21-Dec-16 0:23am
View
hi dear friend
At first you have to download the Android-NDK and then install that.
After that you should set the NDK installation path to the "Environment Variables"
Mahdi Nejadsahebi
19-Nov-16 6:13am
View
Dear Afzaal
Thanks for your response
Would you more explain for me?
What's the path that i should go or learn and also the language programming?
Mahdi Nejadsahebi
16-Aug-16 5:09am
View
mr ridoy
is there another way to do this?
what do you think about it?
a way that a person in home can access to it.
Mahdi Nejadsahebi
15-Aug-16 7:14am
View
ohi really thanks to guide me
Mahdi Nejadsahebi
14-Aug-16 0:14am
View
thanks dear ridoy to spend your time to ans my question
in that article he said that "it's not possible..."
but i have question and that it we have and we see many application-android that change the voice during live call.
how do they do?
i think at first they get the mic buffer
second change the buffer
and finally send the buffer through call
am i right?
thanks again
Mahdi Nejadsahebi
19-Jul-16 3:34am
View
thanks dear pal for your solution
Mahdi Nejadsahebi
2-Jul-16 8:37am
View
Well
I want to write an application like winrar but at here there a different, we put some files in a package like .rar and then open this archive by winrar, now we double click on a file, what happens? A file will extracted to hard disk then runs.
i need to do this but i don't want create any file ondisk(cause of security).
Mahdi Nejadsahebi
14-Apr-16 0:08am
View
wow ! . your explanations are complete.
i really thank you for helping and the time you have spent.
Mahdi Nejadsahebi
14-Apr-16 0:06am
View
Thanks dear Jochen.
i read your post and got useful information about IPC.
i think i use the send/get message for my project.
but can you tell me how can i share a part (address) of RAM between two applications?
Mahdi Nejadsahebi
25-Feb-16 7:53am
View
dear friend
i also use the "this" but when the application(VB.net) will be opened, error will happen.
Mahdi Nejadsahebi
3-Jan-16 0:43am
View
oh right!
i wrote it and "inside" has no type.
but below error accured :
error C2582: 'operator =' function is unavailable in 'ClassLibrary2::class1::class2'
Mahdi Nejadsahebi
3-Jan-16 0:39am
View
thanks dear friend for your solution and your attention.
but i've a question that is :
what type do i declare the inside?
Mahdi Nejadsahebi
27-Dec-15 7:18am
View
i also worked on "CLR DLL" (ClassLibrary). in this status, i could access the sub class of dll form vb.bet but there was a problem :
for example :
we have below code in CLR :
namespace mydll{
public ref class class1{
public:
ref class class2{
public:
int x;
}
};
};
then in the vb.net to access the "var x" we have to write this code:
#1
dim a as new mydll.class1.class2
a.x=10
while we need to write code like :
#2
dim a as new mydll.class1
a.class2.x=10
when i used code#2,in the vb.net occur an error.
in fact i need the suitable hierachy of class and it's sub's without extra definition.
i also need to access and create the array of c++'s class's and strings in vb.net.
like :
dim a as new mydll.class1
a.class2.x=4
...
Mahdi Nejadsahebi
9-Feb-15 11:47am
View
thanks dear jochen
i removed the part of #ifdef _WINDOWS_ ....
but the error is still there.
all right
i'll talk to you there
Mahdi Nejadsahebi
9-Feb-15 8:02am
View
i undefining _WINDOWS_ because pre error was the windows.h is already included.
i searched about it and i found this code to prevent definition again.
Mahdi Nejadsahebi
9-Feb-15 7:14am
View
dear friend
thanks for your ans
but you saw my .h code
i've never included the windows.h and winsock.h
in fact my project isn't MFC project.
i'm using the CWnd and... in console and work with them.
can you help me more?
Mahdi Nejadsahebi
31-Jan-15 8:36am
View
dear vengala
my os is windows7 and i also run the visual studio as "run as admin" but didn't work.
please help me
Mahdi Nejadsahebi
30-Jan-15 15:24pm
View
i did it.
i change the security of this folder for all user and full control.
but didn't solved.
Mahdi Nejadsahebi
30-Jan-15 13:32pm
View
look dear friend
designing and building the compiler for a language programming is to difficult.
that needs the compiler writing science at first, then needs high skill to code that, even convert the codes to machine language.you have to work with strings and it's category: tokens and several concepts.
the DFA and NFA language and ... theories...
but you can design the interpreter for your language.
it's easy.
interpreter is like the compiler,but in the interpreter the codes will not convert and translate to the machine language. it's like the run time code like javascript.
it means you make the program that read every code and does it's action for each statement.
to design it you just should use "if" condition for each code.
Mahdi Nejadsahebi
29-Dec-14 5:26am
View
in the name of allah
hello pal
at first you should determine that what Database Software and What Application Programming Language do you want to use?
step by step
if you want do this with Visual C++ tell me what do you want untill i send to you.
Mahdi Nejadsahebi
22-Dec-14 14:14pm
View
yeah may pal
he's great
i hope all of we will be best friend together.
good luck
Mahdi Nejadsahebi
22-Dec-14 14:08pm
View
so Thanks for your guide.
your explain completely and this is the what we(beginners) need that.
i got the path of the work and it's too soon for me.
thanks alot
Mahdi Nejadsahebi
22-Dec-14 13:37pm
View
I'm working on a project that i have to do this with code(manually).
can you give any reference?
Mahdi Nejadsahebi
22-Dec-14 7:09am
View
about the "
OnPaint
" yes, but about the "Created" variable
it is inner variable:
class Theme:Public CWnd{
public:
bool Created;
};
and in the another Derived varibale form "Theme" it's different from pre "Created" in First Class, doesn't it?
Mahdi Nejadsahebi
22-Dec-14 5:42am
View
i update my question.
please see above text of question.
thanks again
Mahdi Nejadsahebi
8-Oct-14 0:18am
View
can you tell me what the BM_SETIMAGE is?
event or function?
how can i use that?
Mahdi Nejadsahebi
4-Oct-14 8:17am
View
i want to draw a picture on the button and another picture for the background(CWnd Dialog).
i write the drawing button and background's pictures in the WM_PAINT ,but when i click on the button,
the button's picture will clear and the background's picture will draw crrectly.
really i want to manage the WM_PAINT of button(or even each objects).
Mahdi Nejadsahebi
13-Aug-14 2:10am
View
the code is too long.
really long
can you tell me what this error is about?
thanks
Mahdi Nejadsahebi
5-Aug-14 2:35am
View
Check it
Article 2
Mahdi Nejadsahebi
3-Aug-14 23:07pm
View
in the name of allah
have a good time dear friend
take a look at these :
Article 1
Article 2
good luck
Mahdi Nejadsahebi
27-May-14 2:08am
View
in the name of allah
hi dear friend
i wrote a little snake tutorial with MFC.
if you mind get me your mail 'till i send that for you.
Mahdi Nejadsahebi
24-Apr-14 6:17am
View
thanks dear friend
but i'm working with mfc c++ and they're clr/atl c++.
whould you more help me please?
thanks again
Mahdi Nejadsahebi
23-Apr-14 12:18pm
View
thanks dear friend
but i want to make a portable database.
Mahdi Nejadsahebi
3-Feb-14 1:47am
View
thanks for your answers
but i want to compile my project that will be run in windows xp x86.
i work with windows7 x64.
can you help me?
thanks in advance
Mahdi Nejadsahebi
3-Feb-14 1:45am
View
dear friend
thanks for your answer
but i want to know what code is more faster from "GetPixel()" and "GetRValue()" functions to get color from image.
Mahdi Nejadsahebi
1-Dec-13 1:49am
View
Dear friend
you want do it in C++ Console or Visaul C++?
Mahdi Nejadsahebi
24-Nov-13 2:21am
View
Dear friend
this is not a solution.It's a comment.
The solution solves a problem.
Mahdi Nejadsahebi
28-Oct-13 2:57am
View
Dear friend
to do this, there's many ways.
you should encrypt the file by your specific structure.
you just design the structure and formula of your encryption function.
for expample , you increase plus every characters with constant number. then the file won't able to execute.
Mahdi Nejadsahebi
6-Oct-13 7:07am
View
may be you have written a code that related to "MouseMove()" on the combo that happen so.
You should see the code exactly.
Mahdi Nejadsahebi
6-Oct-13 6:59am
View
When i use The PostQuitMessage, this works.even WM_CLOSE and WM_DESTROY.
may be the your windows is has wrong.
Mahdi Nejadsahebi
1-Oct-13 6:46am
View
dear friend at first you should know the structure of 3dmax file to convert it to the txt file.
like you see,first there is the object list and between of them is their coordinates of vertexes.
after that you have to write a interpreter program that convert the source structure file to destination file.
it's long.
Mahdi Nejadsahebi
22-Sep-13 3:35am
View
Hi dear friend
even you use open cv, you should to know the algorithms for doing this.
the open cv is just a code that help you do quickly process from Graphic card like open gl.
am i correct?
Mahdi Nejadsahebi
22-Sep-13 3:18am
View
Did you search in MSDN?
That's the reference document of visual studio.
Mahdi Nejadsahebi
22-Sep-13 3:12am
View
Can you explain for me that what's the add-in?
Mahdi Nejadsahebi
18-Sep-13 17:37pm
View
the file breakpoint file has true value.
i don't know what's wrong.
Mahdi Nejadsahebi
18-Sep-13 17:14pm
View
yeah i'm sure.
i cleaned solution and rebuilt it several.
but the program works but without breakpoint.
thanks for you answer dear.
Mahdi Nejadsahebi
20-Aug-13 6:07am
View
thanks man.thanks
Show More