Content Type
Profiles
Forums
Events
Everything posted by Denney
-
I have a problem. The function I want to call is as follows: VOID CALLBACK InstallHinfSection( HWND hwnd, HINSTANCE ModuleHandle, PCTSTR CmdLineBuffer, INT nCmdShow );My problem is I cannot figure out how to pass my string to CmdLineBuffer. I've tried passing it as a string and I cannot figure the whole pointers in Visual Basic thing out. Can anyone help me with this? Edit: Here is how I'm currently declaring this function (I think CmdLineBuffer is wrong): ' Note ModuleHandle should be Nothing and nCmdShow should be 0. Declare Auto Sub InstallHinfSection Lib "setupapi" Alias "InstallHinfSection" (ByVal hwnd As String, ByVal ModuleHandle As String, ByVal CmdLineBuffer As String, ByVal nCmdShow As Integer)
-
Heya guys. I've started using Windows API calls and I'm wondering what the "A" and "W" means in the functions. An example is the InstallHinfSection function in setupapi.dll. There is 3 functions in the setupapi.dll file... InstallHinfSection InstallHinfSectionA InstallHinfSectionW What are the differences?
-
Stupid Visual Studio .NET Question..
Denney replied to Denney's topic in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Unfortunately that didn't help. I cannot seem to find a way to just allow non-.net code in a program. -
what's the difference between rtm and rtw update?
Denney replied to Providence's topic in Windows XP
Heh. That's OK. The automatic update version of SP2 can just be called SP2 express. The reason for the large size is that it adds a lot more new features to Windows XP than SP1 did. -
what's the difference between rtm and rtw update?
Denney replied to Providence's topic in Windows XP
I think you still don't understand. RTM: Just means the date/time that the update was released to manufacture (eg. when it was finalised). RTW: Just means the date/time that the update was released to the web (eg. when you are able to download the update (NOT neccessary the automatic update version only)). SP2 (75mb): Automatic Update version of SP2 with just a base install which connects to the web and downloads the rest itself (eg. You NEED an internet connection to install this update). SP2 (266mb): Administrative version of SP2 that you can use to update a WIndows XP installation offline (eg. You can install this update ANYWHERE). What exactally do you want to know? -
what's the difference between rtm and rtw update?
Denney replied to Providence's topic in Windows XP
This is how the automatic update version works. 1. User downloads the base package which is the same for all computers (75mb). 2. That base package runs, scans the system for installed updates and then downloads the updates that aren't installed. 3. It then installs all those updates plus the SP2 specific parts onto the users machine. -
what's the difference between rtm and rtw update?
Denney replied to Providence's topic in Windows XP
I think your confused about RTM/RTW and automatic updates. RTM and RTW just specify the times that things are available. RTM is release to manufacture and RTW is release to web. Eg. RTM is available before RTW. The 2 files you see are the full administrative install of SP2 and the automatic update install of SP2. The automatic update version contains the bare minimum and you need to be connected to the internet so the SP2 update can download the files you need. The administrative install on the other hand allows you to update an XPCD and a Windows XP computer that isn't connected to the internet. I hope that clears things up for you. -
[UTILITY] How To Replace In Use Files
Denney replied to Denney's topic in Unattended Windows 2000/XP/2003
FYI... inuse.exe is only mentioned twice and not explained. That's why I posted this. To explain what it does. -
[UTILITY] How To Replace In Use Files
Denney replied to Denney's topic in Unattended Windows 2000/XP/2003
I actually have no idea. I always have WFP disabled. -
I don't *think* this has been posted before but I found a nifty little utility from Microsoft called "inuse.exe". It will replace any files that are currently inuse. I think it only replaces them on next restart though but still, makes things a lot easier. Syntax is: inuse.exe SOURCE DESTINATION /y You can get it http://support.microsoft.com/default.aspx?...kb;EN-US;228930
-
This is probably a blatently obvious question but how can I create a Visual Basic, C++ or C program in Visual Studio .NET 2003 so that I can be SURE it doesn't require the .NET framework? I've been programming with VB.NET lately and I haven't been able to figure out how to program the old way, you know, the way that doesn't require the .NET framework. Do I need to install Visual Studio 6 as well or is there an option in program/project settings that I'm missing?
-
problems with windows media player 10
Denney replied to dienkhung's topic in Unattended Windows 2000/XP/2003
You need to install "wmp10.inf" FIRST and then run the "setup_wm.exe" file. You might need to install the other inf files as well but I haven't run into any problems yet. This is caused by removing WMP9 from your CD using nLite. I'm trying to work out a fix for it. Extract "MP10Setup.exe" using WinRAR and copy all files to your CD then put this in a command file and call it from RunOnceEx (Replace %location of% strings with the proper location): rundll32 advpack.dll,LaunchINFSection %location of WMP10.INF file%,DefaultInstall %location of setup_wm.exe file% /DisallowSystemRestore /Q:A /R:N -
It's rather simple to do. Just rename whatever your application is to "NOTEPAD.EXE", then run makecab on it (makecab /D CompressionType=LZX NOTEPAD.EXE). Place the generated "NOTEPAD.EX_" file in your I386 directory, replacing the old one. Notepad doesn't require you to run ModifyPE. Don't know about other files though.
-
Cure: Bored of endless KBs in your Add-Remove soft
Denney replied to Stuntgp2000's topic in Unattended Windows 2000/XP/2003
Right but look at the top there's a show updates checkbox. By default it's unchecked and thus that heading does not appear by default. I'm looking at the install on my VPC and it's unchecked. I'm positive I haven't gone in that machine and unchecked it. You are right. I forgot I added the registry tweak to automatically check that box. -
Automatically uncheck Allow Indexing...
Denney replied to Sharc's topic in Unattended Windows 2000/XP/2003
The "NotContentIndexed" attribute is "2000"... First link on Google. -
nLite or Gosh's method? That's problem!
Denney replied to a topic in Unattended Windows 2000/XP/2003
I think you're a little confused. nLite and Gosh's method are 2 different things. nLite reduces size of source by REMOVING components. Gosh's method reduces size of source by not performing text mode setup (therefor, removing any unneseccary (sp?) files. Just a warning on using both together, you won't be able to use nLite on your CD after you use Gosh's method. If at a later date, you want to remove something else, you have to start over from scratch again. -
Cure: Bored of endless KBs in your Add-Remove soft
Denney replied to Stuntgp2000's topic in Unattended Windows 2000/XP/2003
@CrimsonKain: Actually, they are not hidden by default. They are placed under the "Windows XP - Software Updates" heading... You need to hide them using the SystemComponent value in the registry, which is what Stuntgp2000's program does. Edit: @cybpsych: If you want to show any items on add/remove programs again, just run "regedit" and search for "SystemComponent". You should find them under "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall". Just delete the SystemComponent value and the item will be displayed again. -
@jrzycrim: Thankyou very much. That was extremely detailed. I take it you cannot change the horizonal position (left, right)? Not that it really matters but would be nice to know. Again, thankyou for that information.
-
Does anyone know how to change the position of the progress bar on the screen? I wish to either move it to the top or move it down a bit.
-
@Singularity: Hmm.. strange. They both work flawlessly on the 4 test computers I have here. @Bâshrat the Sneaky: They never worked with WMP9 or WMP10 Tech Beta for me... @SiMoNsAyS: I have no idea how to do it unattended. I haven't ever installed QT and RM Alternative before so I'll have to look into it. The associations are just simple registry edits, just like other associations. I've just deselected MPC during setup.
-
Finally... If you install WMP10, you can now install RealMedia Alternative and QuickTime Alternative and WMP will happily play the file. You get a prompt saying that the file isn't supported but may still be playable... Just play it and it works great!! I was waiting for when WMP would support these codecs!
-
Switch SUN Java 2 Platform Standard Edition 5.0 RC
Denney replied to erik_demon's topic in Application Installs
Or you can just run the exe file with "/v/qb". -
Unfortunately yes. I've done this many times (removed something and had to start over to fix it).
-
SFC_OS.DLL hack for XP SP2 Final
Denney replied to Denney's topic in Unattended Windows 2000/XP/2003
heh. I need to read better. lol.