Thread: Need to know parameter format for a Call function?

  1. #166
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Will1 View Post
    Unless you use any Operating System than Linux you don't have the source code for it.
    Can anyone explain what the above sentence means?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  2. #167
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    I think you'll need to release your source and a detailed description of your algorithms and processes, to at least one other person, if you expect it to gain any traction at all. The 16-bit DOS version literally cannot be used by anything but other 16-bit DOS programs. The Win32 version is more or less useless until you can make it work with more than one file per process. It is possible to overcome this, but you'll obviously need help. I'll say it now for the third (at least) time. I'm willing to help you if you're willing to let me see your "trade secrets."
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  3. #168
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by stahta01 View Post
    Can anyone explain what the above sentence means?

    Tim S.
    it should be "if are not using Linux - you do not have source code"
    and means that Will1 is not familiar with any open source OS except Linux
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  4. #169
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by vart View Post
    it should be "if are not using Linux - you do not have source code"
    and means that Will1 is not familiar with any open source OS except Linux
    I have the source on Windows 7 for a few of the program in the list above; I an guessing about 5 of them.

    BSD is the other major open source OS I know about. I have no idea of the number of minor open source OSes. Would not be surprised if it is in the hundreds.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  5. #170
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by Elkvis View Post
    I think you'll need to release your source and a detailed description of your algorithms and processes, to at least one other person, if you expect it to gain any traction at all. The 16-bit DOS version literally cannot be used by anything but other 16-bit DOS programs. The Win32 version is more or less useless until you can make it work with more than one file per process. It is possible to overcome this, but you'll obviously need help. I'll say it now for the third (at least) time. I'm willing to help you if you're willing to let me see your "trade secrets."

    Are you willing to sign a strict non-disclosure agreement? If so, I will email you the ADAM source code including the 2 source modules that I've upgraded to Windows 32 bit.

  6. #171
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by stahta01 View Post
    I have the source on Windows 7 for a few of the program in the list above; I an guessing about 5 of them.

    BSD is the other major open source OS I know about. I have no idea of the number of minor open source OSes. Would not be surprised if it is in the hundreds.

    Tim S.
    Why would anyone buy a PC without an OS? Unless you build your own PC, it's probably best to just leave the OS alone instead of taking chances with the Open Source stuff that is floating around. I can't imagine anyone demanding the source code for everything they use on their PC. How about the virus protection software, how about Winzip, how about a word processor, How about an internet browser, etc. I, personally use a lot of software that I don't have the source code for. It's better to stick with proven software than to fool around with stuff that is free but probably has worse bugs in it than Windows does. Windows XP has bugs in the "Full Screen Mode" so Microsoft just did away with it in Windows 7. As far as my own experience goes, the best Windows ever was Windows 98. Yes, it has a bug in it when you try to rename a file in DOS Mode but the same bug is in Windows XP and probably in Windows 7. This constantly upgrading your OS as per MicroSoft, their aim is not to improve Windows, their aim is to sell it over and over as the versions go up and up. What version is out now? 8.2 or something even later.

  7. #172
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    Why would anyone buy a PC without an OS? Unless you build your own PC, it's probably best to just leave the OS alone instead of taking chances with the Open Source stuff that is floating around. I can't imagine anyone demanding the source code for everything they use on their PC. How about the virus protection software, how about Winzip, how about a word processor, How about an internet browser, etc. I, personally use a lot of software that I don't have the source code for. It's better to stick with proven software than to fool around with stuff that is free but probably has worse bugs in it than Windows does. Windows XP has bugs in the "Full Screen Mode" so Microsoft just did away with it in Windows 7. As far as my own experience goes, the best Windows ever was Windows 98. Yes, it has a bug in it when you try to rename a file in DOS Mode but the same bug is in Windows XP and probably in Windows 7. This constantly upgrading your OS as per MicroSoft, their aim is not to improve Windows, their aim is to sell it over and over as the versions go up and up. What version is out now? 8.2 or something even later.
    O_o

    o_O

    Wow. That was hilarious. ^_^

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  8. #173
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Will1 View Post
    Are you willing to sign a strict non-disclosure agreement? If so, I will email you the ADAM source code including the 2 source modules that I've upgraded to Windows 32 bit.
    The source won't do me much good without detailed documentation. I'm not an assembly language programmer. I understand a little bit, but I'm hardly fluent in it. I'd need really serious documentation of the way everything should work, including file formats, etc. We can discuss this in private message if you like.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  9. #174
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by Elkvis View Post
    The source won't do me much good without detailed documentation. I'm not an assembly language programmer. I understand a little bit, but I'm hardly fluent in it. I'd need really serious documentation of the way everything should work, including file formats, etc. We can discuss this in private message if you like.
    OK Elsvis, I'll send you the source for Pro Football Prophet but I don't see anyway to attach the .zip file to a private message here. If you'll send me a message or an email (you already have my email address), I'll reply with the .zip file for the Prophet source code attached. If you haven't already done it, create a "football" folder, download the football.zip (post # 146) and extract it into the "football" folder. I'll guarantee you there are no viruses in either of the .zip files but I'm sure you can scan them with antivirus software.

    Will

  10. #175
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,907
    Again - This is not related to C and should probably be on the Tech board. It's like laserlight gave up and stopped reading this thread...
    Fact - Beethoven wrote his first symphony in C

  11. #176
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    *Moved to Tech board*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #177
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    Quote Originally Posted by laserlight View Post
    *Moved to Tech board*
    Thanks laserlight!

    Will

  13. #178
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Quote Originally Posted by Will1 View Post
    Like John Galt, I didn't see enough intelligence in the human race to make ADAM available so it has been in my position alone for about thirty years now. At my age (75) I probably don't have a lot of years left to observe the ignorance among the population of this planet so I've decided that maybe there are a few, a very few, people who deserve better than what is available to them so I'll make it available. If you want to see a demonstration of what it will do I'll be glad to send you a system that I wrote using it way back then and defy you to duplicate it with SQL.
    I'm sorry, I know this topic has been going on forever and Lord knows that I'm not going to read all of it but was anyone else astounded by the arrogance in this post?

    You don't see enough intelligence in the human race? Really? Like, really really?

    Edit : I also agree with phantom's above post about Windows being somehow better than open-source and free software. This isn't the 80's anymore. Linux is making a big comeback and it's for the best. The advent of more advanced graphical shells in tandem with Microsoft slowly collapsing under its own weight has helped to bring Linux back to the youth.
    Last edited by MutantJohn; 08-12-2014 at 11:48 AM.

  14. #179
    Registered User
    Join Date
    Jul 2014
    Location
    Amarillo, Texas
    Posts
    104
    [QUOTE=MutantJohn;1209465]I'm sorry, I know this topic has been going on forever and Lord knows that I'm not going to read all of it but was anyone else astounded by the arrogance in this post?[/QUOTE

    Look around, especialy at the kind of people that are being elected to go to Washington. They are typical hypocrites that take an oath to "Support and Defend" the Constitution of the US. I'll bet they haven't even take the time to read that short and straight forward document, let alone support it. Look at who elected them! What a bunch of idiots there are on this planet. Some brilliant men gave us the best prescription for governing free people and we are loosing it.

    You don't see enough intelligence in the human race? Really? Like, really really?
    REALLY!

    Edit : I also agree with phantom's above post about Windows being somehow better than open-source and free software. This isn't the 80's anymore. Linux is making a big comeback and it's for the best. The advent of more advanced graphical shells in tandem with Microsoft slowly collapsing under its own weight has helped to bring Linux back to the youth.
    I would tend to agree with you except that the processors that Intel and AMD are supplying us with are not programmer friendly. In case you didn't notice, Microsoft did away with "Full Screen Mode" in Windows7. If you downloaded and tried Pro Football Prophet (attached to post 146), I had to do away with the graphics and mouse support that previous versions had. When I write a program I want control of the hardware and the more control that is taken from me, the more I despise the modern operating systems, Linux included. Give me the kind of control that I had under DOS and I'll give you decent software. In case you didn't notice, this once greatest nation that ever existed on this planet is "slowly collapsing under its own weight," the weight of the debt that those idiots that were elected to go to Washington have given us. I have to apologize to the children of today and later generations for the mess that my generation have given to them.

    Will

  15. #180
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Quote Originally Posted by Will1 View Post
    Quote Originally Posted by MutantJohn View Post
    I'm sorry, I know this topic has been going on forever and Lord knows that I'm not going to read all of it but was anyone else astounded by the arrogance in this post?
    Look around, especialy at the kind of people that are being elected to go to Washington. They are typical hypocrites that take an oath to "Support and Defend" the Constitution of the US. I'll bet they haven't even take the time to read that short and straight forward document, let alone support it. Look at who elected them! What a bunch of idiots there are on this planet. Some brilliant men gave us the best prescription for governing free people and we are loosing it.
    I see you post your location as Texas so I can't help but assume you refer to Obama. The only thing remotely close to directly violating the Constitution was the NSA spying on us but even then, I'm sure it was justified as no one ever reads the privacy agreements when they make an email account.

    Unless you're talking about the Republican party which has shown itself to be more of an antiquated dinosaur of a concept. Examples being, trying to sue Obama, failing like 50 times to repeal the Affordable Care Act and then subsequently causing a government shutdown in which they were still paid but other government workers were not.

    I agree with this country being on the decline and I believe most of it stems from the lack of wealth distribution which is a result of Reaganism. Turns out, the trickle down really is a trickle. You ever try to hydrate 300,000 people with a tiny stream? It doesn't work. Which is why I'm opting to lead the proletariat to overthrow the wealthy and quite literally devour them, should they refuse to yield.

    But even then, how dare you assume this accounts for all people in the country. And whatsmore, how dare you assume who should know what. The fathers of C and Unix did not create these things to dole them out to specific people they deemed worthy. Instead, they wanted this to be for everyone who was willing to learn it. The spread of knowledge is what makes humanity great!

    Sorry, that's just me being self-righteous. I'm arrogant as well. I regularly refer to myself as the King of the Beasts and sometimes the Demons, the inheritor of the Yawarakai-Te. I am the spirit of Lucifer himself reincarnated and sent to Earth to do things right this time around.

    I would tend to agree with you except that the processors that Intel and AMD are supplying us with are not programmer friendly. In case you didn't notice, Microsoft did away with "Full Screen Mode" in Windows7. If you downloaded and tried Pro Football Prophet (attached to post 146), I had to do away with the graphics and mouse support that previous versions had. When I write a program I want control of the hardware and the more control that is taken from me, the more I despise the modern operating systems, Linux included. Give me the kind of control that I had under DOS and I'll give you decent software. In case you didn't notice, this once greatest nation that ever existed on this planet is "slowly collapsing under its own weight," the weight of the debt that those idiots that were elected to go to Washington have given us. I have to apologize to the children of today and later generations for the mess that my generation have given to them.

    Will
    I'm not sure what you mean by the processors themselves not being programmer-friendly. Are you talking about using assembly directly? Because if so, I feel like the use of assembly is now only reserved for embedded programmers and then they probably just use straight C. I feel like in the industry now, the most low-level language is C and even then, there are few jobs using just C compared to those using Java or C# and it's because they are so high-level. I have a friend in game design who uses C# to generate binaries for like 16 different architectures using the same source code. Good luck doing that in assembly.

    But even then, have you never heard of valgrind? It comes with a lot of tools now including the ability to trace cache use and even track multithreaded code and possible conflicts. I mean, I wish I could directly control my CPUs cache but at the same time, it's not that hard to write code to use contiguous memory that's a perfect power of two in size. Writing performant code is still incredibly possible and is done so regularly.

    Either way, I just had to say what I needed to. You sound like a hardcore Windows programmer which I guess is cool but the days of assembly are near dead. If you truly did write code that's better than what's out there and you never distribute it then that's your choice. It was your choice not to help to further advance humanity and it is yours to make.

    KotB out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function call Overhead and Function Call Stack
    By Alam Khan in forum C++ Programming
    Replies: 2
    Last Post: 04-26-2014, 08:28 AM
  2. Replies: 4
    Last Post: 10-03-2011, 06:30 AM
  3. Replies: 13
    Last Post: 08-24-2006, 12:22 AM
  4. Parameter in a function
    By cpluspluser in forum C++ Programming
    Replies: 2
    Last Post: 04-09-2003, 07:48 PM