15,888,340 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 saide_a (Top 52 by date)
saide_a
11-Jan-20 1:42am
View
I don't have the executable source, I only have the library source file
saide_a
3-Nov-19 1:32am
View
thanks
saide_a
2-Nov-19 9:14am
View
many thanks, I understood , I have another question , if it is possible you help me.
which part of message should be use in making signature(I am going to use SHA_1).
and does length of that(part of message in signature) matter?
for example I have source and destination id , time and sequence number in my message.
saide_a
2-Nov-19 9:14am
View
Deleted
many thanks, I understood , I have another question , if it is possible you help me.
which part of message should be use in making signature(I am going to use SHA_1).
and does length of that(part of message in signature) matter?
for example I have source and destination id , time and sequence number in my message.
saide_a
2-Nov-19 9:14am
View
Deleted
many thanks, I understood , I have another question , if it is possible you help me.
which part of message should be use in making signature(I am going to use SHA_1).
and does length of that(part of message in signature) matter?
for example I have source and destination id , time and sequence number in my message.
saide_a
2-Nov-19 9:14am
View
many thanks, I understood , I have another question , if it is possible you help me.
which part of message should be use in making signature(I am going to use SHA_1).
and does length of that(part of message in signature) matter?
for example I have source and destination id , time and sequence number in my message.
saide_a
24-Apr-19 7:39am
View
many thanks
I add (export LD_LIBRARY_PATH="/usr/local/lib/") in terminal and my problem solved
saide_a
23-Jan-19 6:27am
View
in codeblocks where can I add it
saide_a
30-Dec-18 2:26am
View
I have a packet and my packet implementation is different in my child classes
and, in my base class I used this packet too,
then I am going to define it in this way
#define FRAME_PACKET_TYPE(buff) (*((uint8_t*)&buff[0]))
thanks
saide_a
30-Dec-18 2:20am
View
Deleted
w
saide_a
30-Dec-18 1:58am
View
actually I want that different physical size
saide_a
28-Nov-18 6:52am
View
It is so hard to explain, I am using canopen of canfestival , it is written in C and I am trying to make each node generically
saide_a
28-Nov-18 6:04am
View
I should make a fixed name function which its implementation is different for different instance( not a class instance). and the[fix name func] void(* function)(input) = &Myfucntion only work on none class method
saide_a
28-Nov-18 4:08am
View
I have edited my question please look at it
saide_a
28-Nov-18 4:08am
View
I have edited my question please look at it
saide_a
27-Nov-18 7:35am
View
I have a fixed function from a third party and I should assign to that
saide_a
25-Nov-18 12:43pm
View
Deleted
thanks for your response
In the second case the y2 function assume a kind of test member
Is there another way to solve this problem?
saide_a
24-Oct-18 3:08am
View
Many thanks , it works
saide_a
16-Sep-18 0:25am
View
Your problem isn't clear for me,
there is a fix size array (10) and in some steps of program values assign to that
saide_a
5-Sep-18 7:07am
View
I want this happen automatically after I close that tab !
saide_a
5-Sep-18 6:47am
View
Deleted
I want this happen automatically after I close that tab !
saide_a
5-Sep-18 4:54am
View
I checked that but on any return value in Onclose function the destructor of class calls
saide_a
5-Sep-18 4:51am
View
I know, but I want to close the program when special tab of that close.
saide_a
29-Aug-18 0:32am
View
thanks for your giudes.
My Problem Solved, I hadn't used the parentheses in "i = geti()" line
CLASS_NAME * (geti)(void) = NULL;
CLASS_NAME * i;
void * h = dlopen("./LIBNAME.so",RTLD_NOW);
geti = (CLASS_NAME* (*)())dlsym(h, "CLASS_NAME");
i = geti();
i->Create(1);
saide_a
29-Aug-18 0:32am
View
thanks for your giudes.
My Problem Solved, I hadn't used the parentheses in "i = geti()" line
CLASS_NAME * (geti)(void) = NULL;
CLASS_NAME * i;
void * h = dlopen("./LIBNAME.so",RTLD_NOW);
geti = (CLASS_NAME* (*)())dlsym(h, "CLASS_NAME");
i = geti();
i->Create(1);
saide_a
28-Aug-18 3:47am
View
using this command I got the return object function
nm -D LIB.so
but now after getting the object that has none null value
on each function call I am getting segmentation fault.
could you please help me?
saide_a
28-Aug-18 1:25am
View
using this command I got the return object function
nm -D LIB.so
but now after get the object that has none null value
on each function call I am getting segmentation fault.
could you please help me?
saide_a
27-Aug-18 8:18am
View
if all header functions be pure virtual , can I use static linking?
saide_a
27-Aug-18 8:15am
View
it works , but because all member functions in header are pure virtual , it makes another problem.
this error
cannot allocate an object of abstract type ‘Class_Name’
calss_name.h:note: because the following virtual functions are pure within ‘class_name’:(all member function)
I think I force to use dynamic linking
saide_a
27-Aug-18 8:12am
View
No , it haven't function for returning instance :(
saide_a
27-Aug-18 7:50am
View
could you help me for link my app to library?, in above I put my using command.
saide_a
27-Aug-18 7:39am
View
many thanks for your response,
I used the command in this way also
g++ -o testcan testcan.cpp -L/lib path -lLIBNAME.so
but I got this error :/usr/bin/ld: cannot find -lLIBNAME.so
I added the library path in this way :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/MyFirstProjects/
but I still get the same error
saide_a
27-Aug-18 6:48am
View
I get segmentation fault error even if i is not Null
saide_a
27-Aug-18 6:44am
View
for compile I use this command in linux terminal:
g++ -o test test.cpp -ldl
is there something wrong?
saide_a
26-Aug-18 2:30am
View
what I tried in your suggested query:
Select D.[ID],D.[UID],D.[Code],D.[Time] From MsgTable D
INNER JOIN
(select MsgTable.ID, MAX(MsgTable.Time) from MsgTable group by MsgTable.ID) G
On D.Time = G.Time AND D.ID = G.ID
Order By D.[ID],D.[Time]
and the error
No column was specified for column 2 of 'G'.
saide_a
26-Aug-18 2:13am
View
what does 'MyTable a' mean? and also B in second line?
I want to get answer from this query
Select D.[ID],D.[UID],D.[Code],D.[Time] From MsgTable AS D
INNER JOIN
(select MsgTable.ID, MAX(MsgTable.Time) from MsgTable group by MsgTable.ID) As G
On D.Time = G.Time AND D.ID = G.ID
Order By D.[ID],D.[Time]
saide_a
26-Aug-18 1:58am
View
its not work for me
saide_a
22-Jul-18 0:08am
View
Many thanks ,I used virtual list as described in this link https://www.codeproject.com/Articles/7891/Using-virtual-lists
saide_a
16-Jul-18 7:07am
View
it's list of 8 byte messages in 4 MB memory.
saide_a
16-Jul-18 7:00am
View
In My Case almost always complete scrolling is needed, only at the "open" click I want the list to update an show, and in other thread nothing related to the listctrl. what do you suggest for me?
saide_a
3-Apr-18 5:31am
View
if you assume these as a game:
finding eulerian path or Dijkstra algorithm,
Bunny Graduation in this link
http://www.cplusplus.com/forum/beginner/92473/
I enjoyed them.
saide_a
25-Feb-18 3:27am
View
I don't know I got your problem properly or no!
but you can always check bytesrecvd value for check existence of data, in these way you can have multiple clients and if one of them stop sending data, you can have other client data but in what you said, after stopping one of the clients, server won't answer others. Then in your server your can have closing flag or bottom for ending program
saide_a
30-Jan-18 6:38am
View
I think you can't do that in bank_account class you need another class or another function that get bank_account as input object and add or withdraw value of that.
saide_a
28-Jan-18 1:30am
View
Deleted
Yes
saide_a
28-Jan-18 1:29am
View
Deleted
On using these functions : text_iarchive and text_oarchive
saide_a
23-Jan-18 7:06am
View
Many Thanks
saide_a
23-Jan-18 5:19am
View
the C2061 syntax error: identifier 'int_'
saide_a
23-Jan-18 4:33am
View
I found a source which in for serialization with c++11 when I compile it produce this error.
part of code that get error:
template <class tuple_type, size_t pos>
inline size_t get_tuple_size(const tuple_type& obj, int_<pos>)
{
constexpr size_t idx = std::tuple_size<tuple_type>::value - pos - 1;
size_t acc = get_size(std::get<idx>(obj));
return acc + get_tuple_size(obj, int_<pos - 1>());
}
saide_a
23-Jan-18 3:54am
View
I want it without using boost
saide_a
23-Jan-18 2:44am
View
As OriginalGriff said I think, the solution is use of threading (pthread).
saide_a
23-Jan-18 2:32am
View
Thanks for your answer, I think so too.
I will try more and if I find a solution I post it here.
saide_a
8-Jan-18 7:44am
View
I am sure that client packet sends and at the same time in echo server I get socket receive time out error, I don't have lost but few of packets delayed.
My code is event dirven
Show More