Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionInstallShield commands? Pin
Dov Sherman1-Mar-04 22:31
Dov Sherman1-Mar-04 22:31 
Generaldelete Pin
vikramlinux1-Mar-04 21:23
vikramlinux1-Mar-04 21:23 
GeneralRe: delete Pin
valikac2-Mar-04 5:36
valikac2-Mar-04 5:36 
GeneralRe: delete Pin
vikramlinux2-Mar-04 17:12
vikramlinux2-Mar-04 17:12 
GeneralRe: delete Pin
valikac2-Mar-04 17:52
valikac2-Mar-04 17:52 
GeneralRe: delete Pin
vikramlinux2-Mar-04 18:13
vikramlinux2-Mar-04 18:13 
GeneralAutomate Enabling of DHCP Pin
hollesome1-Mar-04 21:17
hollesome1-Mar-04 21:17 
GeneralRe: Automate Enabling of DHCP Pin
David Crow2-Mar-04 9:54
David Crow2-Mar-04 9:54 
To enable DHCP:

HKEY hKey;
DWORD dwEnable = 1;
RegOpenKeyEx(HKEY_LOCAL_MACHINE, "SYSTEM\CurrentControlSet\Services\{5AE5DC8F-790F-4DA3-B5EF-492139A60ED7}\Parameters\Tcpip", 0, KEY_WRITE, &hKey);
RegSetValueEx(hKey, "EnableDHCP", 0, REG_DWORD, &dwEnable, sizeof(dwEnable));
const char szTemp[] = "0.0.0.0";
RegSetValueEx(hKey, "IPAddress", 0, REG_MULTI_SZ, (const BYTE *) szTemp, sizeof(szTemp) + 1);
RegSetValueEx(hKey, "SubnetMask", 0, REG_MULTI_SZ, (const BYTE *) szTemp, sizeof(szTemp) + 1);
The bold interface will need to be changed accordingly.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
GeneralRe: Automate Enabling of DHCP Pin
hollesome2-Mar-04 14:55
hollesome2-Mar-04 14:55 
GeneralRe: Automate Enabling of DHCP Pin
David Crow3-Mar-04 2:34
David Crow3-Mar-04 2:34 
General<ENTER> in dialog Pin
catngo1-Mar-04 21:06
catngo1-Mar-04 21:06 
GeneralRe: <ENTER> in dialog Pin
Robert A. T. Káldy2-Mar-04 0:31
Robert A. T. Káldy2-Mar-04 0:31 
GeneralRe: <ENTER> in dialog Pin
catngo2-Mar-04 3:55
catngo2-Mar-04 3:55 
GeneralAbout memory copy speedup Pin
w_yufeng1-Mar-04 17:55
w_yufeng1-Mar-04 17:55 
GeneralRe: About memory copy speedup Pin
Joe Woodbury1-Mar-04 18:18
professionalJoe Woodbury1-Mar-04 18:18 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:21
w_yufeng1-Mar-04 19:21 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:33
John M. Drescher1-Mar-04 18:33 
GeneralRe: About memory copy speedup Pin
Prakash Nadar1-Mar-04 18:42
Prakash Nadar1-Mar-04 18:42 
GeneralRe: About memory copy speedup Pin
John M. Drescher1-Mar-04 18:48
John M. Drescher1-Mar-04 18:48 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 19:30
Daniel Turini1-Mar-04 19:30 
GeneralRe: About memory copy speedup Pin
w_yufeng1-Mar-04 19:35
w_yufeng1-Mar-04 19:35 
GeneralRe: About memory copy speedup Pin
Daniel Turini1-Mar-04 21:20
Daniel Turini1-Mar-04 21:20 
GeneralRe: About memory copy speedup Pin
Lido Paul1-Mar-04 22:30
Lido Paul1-Mar-04 22:30 
GeneralRe: About memory copy speedup Pin
Daniel Turini2-Mar-04 0:43
Daniel Turini2-Mar-04 0:43 
GeneralRe: About memory copy speedup Pin
Lido Paul2-Mar-04 15:02
Lido Paul2-Mar-04 15:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.