Jump to content

zen

Member
  • Posts

    20
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Everything posted by zen

  1. Thx... actually i am running an application on WinPE which is tesing RAM of the system. So i am allocating the memory using VirtualAlloc() API. My application runs finely when i run it on 256MB or above RAM but if i try to run this application on 100 MB ram, its getting failed. Any clue?
  2. Hi All, When i boot my computer from CD having Win PE on it, can anybody tell me that how much RAM does it needs? or it runs from CD only ? Thanks !
  3. hey, its wrking now.. anyways thanks for help
  4. I want to test the total available memory in the system & thats why using VirtualAlloc, so how can a ram drive will help me in this? is there any other way to get the total available system meory & pointer yo starting location(smthing like INT15 h in DOS)
  5. I think 1.2, its not mentioned specifically anywhere in the documentation i have
  6. Hi, I am writing one application for Windows PE using vc++6.0 as development platform. I am allocating memory using virtualalloc as: VirtualAlloc (pPtrToMem, //NULL dwSize, MEM_COMMIT, PAGE_READWRITE); This is running fine on Win2k, but if I try to run this on Windows PE, i am getting an error as "paging file is too small to complete this operation(ERROR_COMMITMENT_LIMIT)" can anybody tell me how to increase pagefile limit in Windows PE? or is there any other reason? Any help is welcome. Thanks .
  7. Hi, I want to find the address of extended BIOS memry address. This is done using INT 15/AX=0e820h in DOS(real mode) but I want this functinality in VC++(protected mode) which doesent support this function. even I tried writing device driver for executing kernel mode instruction but my system is crashing. So can any body help me with this. Thanks.
  8. hi, i have tried using inline assemnbly, but vc++ compiler is not allowing key word int86x
  9. Hi Spawn, thanks, but i tried to run one 16 bit DOS application(for serial port communication) on Bart PE with DOS plug in, but it diden't wrked, so i think none of the PE supports 16 bit DOS application(off course, it do support hello world!!) with system calls.
  10. u mean, prob is with my source code then 1 more thing, code is written in microsoft c 6.0, & i have ready made exe, but i want to compile it & not getting that copiler , can u tell me where can i get that?
  11. hi, i have a code having MSDOS functions such as int86x & segread written in microsoft c 6.0. now i want to port that code to 32 bit windows environment using vc++. but i am not able to find out APIs which eill wrk like int86x & also if anybody can tell me abt whether i can use inline assembly code for these functions ? it will be a gr8 hlp. thanks...
  12. hi, still getting the same err as "not a valid win32 application" this is my winpesys.inf: [Version] Signature = "$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} [AddReg] HKLM, "ControlSet001\Control\WOW" HKLM, "ControlSet001\Control\WOW", "cmdline",0x00020000, "%SystemRoot%\system32\ntvdm.exe" HKLM, "ControlSet001\Control\WOW", "DefaultSeparateVDM",, "no" HKLM, "ControlSet001\Control\WOW", "LPT_timeout",, "15" HKLM, "ControlSet001\Control\WOW", "size",, "0" HKLM, "ControlSet001\Control\WOW", "wowsize",, "16" HKLM, "ControlSet001\Control\WOW", "wowcmdline",0x00020000, "%SystemRoot%\system32\ntvdm.exe -a %SystemRoot%\system32\krnl386" HKLM, "ControlSet001\Control\WOW", "KnownDLLs",, "comm.drv commdlg.dll ctl3dv2.dll ddeml.dll keyboard.drv lanman.drv mmsystem.dll mouse.drv netapi.dll olecli.dll olesvr.dll pmspl.dll shell.dll sound.drv system.drv toolhelp.dll vga.drv wfwnet.drv win87em.dll winoldap.mod winsock.dll winspool.exe wowdeb.exe timer.drv rasapi16.dll compobj.dll storage.dll ole2.dll ole2disp.dll ole2nls.dll typelib.dll msvideo.dll avifile.dll msacm.dll mciavi.drv mciseq.drv mciwave.drv progman.exe avicap.dll mapi.dll" HKLM, "ControlSet001\Control\WOW", "SharedWowTimeout", 0x00000e10 HKLM, "ControlSet001\Control\WOW", "RomFontPointers",1,\ b0,52,00,c0,b0,4a,00,c0,b0,4e,00,c0,b0,60,00,c0,c0,60,00,c0,c0,70,00,c0 HKLM, "ControlSet001\Control\Session Manager\Environment", "PATHEXT",,".COM;.EXE;.BAT;.CMD" HKLM, "ControlSet001\Control\VirtualDeviceDrivers" HKLM, "ControlSet001\Control\VirtualDeviceDrivers", "VDD",0x00010000, "" ; ; MiniNT key ; HKLM,"ControlSet001\Control\MiniNT" ; ; Core entries ; HKLM,"ControlSet001\Control\GraphicsDrivers\DCI","Timeout",REG_DWORD,0x7 HKLM,"ControlSet001\Control\ProductOptions","ProductSuite",REG_MULTI_SZ,"" HKLM,"ControlSet001\Control\ProductOptions","ProductTyp . . . . . now , i am not getting where i am missing.... pls hlp me, its very urgent
  13. Hi Spawn, Ok, i was making misake u mentioned, tommorow i 'll add the code to winpesys.inf file. tanks, one more thing, how u got to read bartpe dos plug in cause i tried but cuden't , also, can u suggest me sm links where i can learn more abt plugins as now i am just adding code given by u thanks...
  14. hi, its not wrking... what i did: 1>created .bat file with code given by u & put that in WINPE folder frm where u run mkimg or oscdimg file. isoroot i set to the folder in which i store my iso image. 2>Added the code in winpesys.inf file as followes: /*this part was already there in .inf file*/ [Version] Signature = "$Windows NT$" ClassGUID={00000000-0000-0000-0000-000000000000} /*added this*/ [DefaultInstall] AddReg = Setupreg.addreg /*here, added the code given by u*/ /*following is nxt part of winpesys.inf*/ [AddReg] ; ; MiniNT key ; HKLM,"ControlSet001\Control\MiniNT" . . . & then executed mkimg.cmd but wheni boot my PC frm tis CD & try to run DOS application , i get an error as "is not a valid win 32 application" whether i am missing smyhing or need to migrate my code?(code is written in microsoft c6.0 & uses int86x & REGS commands)
  15. hi, for running oscdimg command, u need winpe environment & then u cretae image. so how do u ppl get that custom environment? currently i am using mkimg command first & then use the folder created by mkimg command as an input to oscdimg. is there any other way to do that? & also if i want to add my own exe, i add it to i386\system32 folder of custom winpe(created by using mkimg command) & then make image & burn it, it wrks fine but is there any other way to add ur own exe to winpe?
  16. hi spwan, yeah, its confusing, can u elaborote it little more as i have never wrote scripts & played with registry?
  17. hey, i am facing same problem, so whats the ans?
  18. hi, thanks for response... i want to run 16 bit dos prog on WinPE & still haven't got documentation for WinPE which will make it clear that whether WinPE also has the kind of plugin Bart PE has(dos plugin(dospe)) & if not then i'll have to write it. can anybody hlp me in how to write plugin or can provide any links?
  19. hi e'body, I want to port MSDOS application to WinPE. so pls can anybody help me or tell me where will get info abt this. Issues involved r : as MSDOS is real mode os & WinPE runs in protected mode(compatibility )..... thanks
×
×
  • Create New...