Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,582 of 4,675    |
|    R.Wieser to All    |
|    Re: How to manipulate envirionment varia    |
|    13 Oct 18 23:30:20    |
      From: address@nospicedham.not.available              Bernard,              > The above function should work for 16 bit programs, as well.              I have absolutily no idea how I could call a 32-bit Windows DLL function       from with in a DOS style 16-bit program. If you know I surely would like       to know. Something with "thunking" if I remember correctly.              > If not, there always was the way to set those variables in       > a batch file (*.bat):              I know. But that is not what I need: The contents of the environment       variable would depend on a number of factors that the program would       determine. And yes, I could go in a round-about way at it let the program       emit a batchfile witch than gets called as a second step by the a batch       which runs my program as a first step, but that is pretty-much what I tried       to evade.              To give a bit more info, I am trying to get the old program to work for a       true DOS environment, as well as the console environment XP offers. That       also excludes usage of batch variable extensions specific for an XP console       environment I'm afraid.              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca