sureshp
asked on
Urgent Help
Hi all,
Click on the link to view the question...
https://www.experts-exchange.com/questions/20541475/Help-pls.html
I have posted a complete code.
1. My first requirement is to convert that program into database (MySQL) (Now the data's are stored in a flat file).
Instead of that i would like to store it into a table. So where should i modify that part. Now values are getting as a string and writing in the file.
2. My second requirement is to convert the entire code into Linux (Now it's run under Windows NT 3.51 or later.
For this job i am getting valueable help from expert Kdo.
Hope experts can help me to solve this problem.
Regards
Click on the link to view the question...
https://www.experts-exchange.com/questions/20541475/Help-pls.html
I have posted a complete code.
1. My first requirement is to convert that program into database (MySQL) (Now the data's are stored in a flat file).
Instead of that i would like to store it into a table. So where should i modify that part. Now values are getting as a string and writing in the file.
2. My second requirement is to convert the entire code into Linux (Now it's run under Windows NT 3.51 or later.
For this job i am getting valueable help from expert Kdo.
Hope experts can help me to solve this problem.
Regards
I disagree, this is not a question on can answer within a decent time. And sorry if he has problems with it than he should be prepared to pay really prices for that work. I have read over the code you
a) have to be fluent in the Win stuff
b) have to be fluent in Database design and the C-API for it
c) have to br fluent in Linux programming
Well I could help myself in ever area, but than I want to get paid for it decently.
Well just my 2 cents
Friedrich
a) have to be fluent in the Win stuff
b) have to be fluent in Database design and the C-API for it
c) have to br fluent in Linux programming
Well I could help myself in ever area, but than I want to get paid for it decently.
Well just my 2 cents
Friedrich
I'm pretty sure $5000 would NOT be enough to convert this program to SQL and Linux!
Not to mention that since this seems to be a real-time server, one needs a heck of a lot more info about system load ansd respnse times to even begin designig a port.
Not to mention that since this seems to be a real-time server, one needs a heck of a lot more info about system load ansd respnse times to even begin designig a port.
I agree with grg99. I have a ungut feeling that there is someone really asking for "really" jobs, without "really" paying...
Regards
Friedrich
Regards
Friedrich
ASKER
Hi gj62,fridom,grg99
Anyway thanks for your comment.
gj62,
" Sureshp might really need someone who they can contact after the initial effort, "
Could you please help me to solve this problem (initail steps). As you said , after that i should approach someone for this work. Could you please tell me some hint to start this problem?
Thanks in advance.
Regards,
Sur
Anyway thanks for your comment.
gj62,
" Sureshp might really need someone who they can contact after the initial effort, "
Could you please help me to solve this problem (initail steps). As you said , after that i should approach someone for this work. Could you please tell me some hint to start this problem?
Thanks in advance.
Regards,
Sur
You indicate Kdo is helping with #2. For #1, you might want to post in the MySQL area - if you haven't worked with the MySQL API, you've got some effort ahead of you. I am not familiar enough with it to assist :-(
ASKER
gj62,
Thanks for your immediate response.
could you please help me to provide some hints to convert it into Linux. Hope Kdo may help to solve this problem.
Thanks
Sur
Thanks for your immediate response.
could you please help me to provide some hints to convert it into Linux. Hope Kdo may help to solve this problem.
Thanks
Sur
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
fridom,
Thanks for your well explained note.
I will go through carefully ..
"replace all the Windows specific call to Unix specifics, do not change anything else, make it work as it is at the moment "
Can you please suggest some site for Windows - Linux comparision?
Thanks in advance.
Regards,
Sur
Thanks for your well explained note.
I will go through carefully ..
"replace all the Windows specific call to Unix specifics, do not change anything else, make it work as it is at the moment "
Can you please suggest some site for Windows - Linux comparision?
Thanks in advance.
Regards,
Sur
Have you googled? Just one of the many hits:
http://www.codeweavers.com/about/news/talks/borcon2000/borcon2000.htm
We too have ported a non trivial Software from Windows to Unix, look for lcc-win32 and Qide
Regards
Friedrich
http://www.codeweavers.com/about/news/talks/borcon2000/borcon2000.htm
We too have ported a non trivial Software from Windows to Unix, look for lcc-win32 and Qide
Regards
Friedrich
ASKER
fridom,
I am expressing my sincere thanks to you for your immediate response and for your kind help.
Hope you can assist for this problem if i face some doubt regarding this.
Thanks
Sur
I am expressing my sincere thanks to you for your immediate response and for your kind help.
Hope you can assist for this problem if i face some doubt regarding this.
Thanks
Sur
ASKER
fridom ,
"To do that one need to see how it works at the moment, how the format looks and think about how to make it into a Database Design, "
Now the file writing format is as follows:
1,60592554550,9,2003011900 5008,20030 119005029, 2003011900 5038,-,202 .9.64.199, 219.93.0.2 1,-,1,1,2, 1,-,-,-,0, 0,0,-,-,1, 2,
2,60592554500,19,200301190 05053,2003 0119005124 ,200301190 05143,-,20 2.9.64.199 ,219.93.0. 21,-,1,1,2 ,1,-,-,-,0 ,1,0,-,-,2 ,3,
3,60389,2,20030119005903,2 0030119005 904,200301 19005906,- ,202.9.64. 199,219.93 .0.21,-,1, 1,-,-,2,1, -,0,0,0,-, -,3,4,
4,60390162234283,94,200301 19010358,2 0030119010 402,200301 19010536,- ,202.9.64. 199,219.93 .0.21,-,1, 1,-,-,2,1, -,0,0,0,-, -,4,5,
5,-,0,20030119012001,-,200 3011901202 2,28,202.9 .64.199,-, -,1,0,2,1, -,-,-,0,0, 0,-,-,5,-,
6,60592554500,318,20030119 012101,200 3011901213 1,20030119 012649,-,2 02.9.64.19 9,219.93.0 .21,-,1,1, 2,1,-,-,-, 0,0,0,-,-, 6,6,
7,60390173075841,20,200301 19012722,2 0030119012 726,200301 19012746,- ,202.9.64. 199,219.93 .0.21,-,1, 1,-,-,2,1, -,0,0,0,-, -,7,7,
8,60390173075841,15,200301 19012811,2 0030119012 815,200301 19012830,- ,202.9.64. 199,219.93 .0.21,-,1, 1,-,-,2,1, -,0,0,0,-, -,8,8,
9,-,0,20030119013338,-,200 3011901334 2,16,202.9 .64.199,-, -,1,0,2,1, -,-,-,0,0, 0,-,-,9,-,
10,60592554500,204,2003011 9013353,20 0301190134 14,2003011 9013738,-, 202.9.64.1 99,219.93. 0.21,-,1,1 ,2,1,-,-,- ,0,3,0,-,- ,10,9,
11,60594599,17,20030119014 449,200301 19014505,2 0030119014 522,-,202. 9.64.199,2 19.93.0.21 ,-,1,1,2,1 ,-,-,-,0,0 ,0,-,-,11, 10,
12,6030196115575,2,2003011 9014943,20 0301190149 46,2003011 9014948,-, 202.9.64.1 99,219.93. 0.21,-,1,1 ,-,-,2,1,- ,0,0,0,-,- ,12,11,
13,60390196115575,3,200301 19015024,2 0030119015 027,200301 19015030,- ,202.9.64. 199,219.93 .0.21,-,1, 1,-,-,2,1, -,0,0,0,-, -,13,12,
14,603901622342586,11,2003 0119015059 ,200301190 15102,2003 0119015113 ,-,202.9.6 4.199,219. 93.0.21,-, 1,1,-,-,2, 1,-,0,0,0, -,-,14,13,
---------------
"Unfortunatly again Thread Func is again an overly compley function, but it does not help you have to replace it with a unix specifiv version "
Is it possible to re-write in Linux?
Waiting for your comment
"To do that one need to see how it works at the moment, how the format looks and think about how to make it into a Database Design, "
Now the file writing format is as follows:
1,60592554550,9,2003011900
2,60592554500,19,200301190
3,60389,2,20030119005903,2
4,60390162234283,94,200301
5,-,0,20030119012001,-,200
6,60592554500,318,20030119
7,60390173075841,20,200301
8,60390173075841,15,200301
9,-,0,20030119013338,-,200
10,60592554500,204,2003011
11,60594599,17,20030119014
12,6030196115575,2,2003011
13,60390196115575,3,200301
14,603901622342586,11,2003
---------------
"Unfortunatly again Thread Func is again an overly compley function, but it does not help you have to replace it with a unix specifiv version "
Is it possible to re-write in Linux?
Waiting for your comment
that is a CSV format this is totally easy to parse, what is not so easy is to come up with a decent Database design for it I do not have any clue what the fields are standing for.
Thread func can probably be rewritten using pthreads. If that is a wise idea is still another question.
Regards
Friedrich
Thread func can probably be rewritten using pthreads. If that is a wise idea is still another question.
Regards
Friedrich
ASKER
fridom,
Thanks for your reply.
May i post it as a separate question (pthread).
Hope you can help me to solve that problem...
regards
Sur
Thanks for your reply.
May i post it as a separate question (pthread).
Hope you can help me to solve that problem...
regards
Sur
you can of course post a a question about pthread, but why don't you do yourself a favour and start reading about it first. I wrote before that the thing you want to do is "real work" and so you better be prepared to pay "real prices"
Regard
Friedrich
Regard
Friedrich
ASKER
I had posted the same....
You might want to check out http://www.rentacoder.com/RentACoder/default.asp
Of course, I can't speak for the other experts, and 500 pts is sure worth the attempt, but Sureshp might really need someone who they can contact after the initial effort, etc. This is much more a consulting project rather than a specific question/answer issue.
Just a thought...