Click here to Skip to main content
15,888,610 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Help with NetGear WGR614 Wireless Router Pin
Brady Kelly23-Oct-08 4:34
Brady Kelly23-Oct-08 4:34 
QuestionError message display after install driver printer Pin
Mekong River22-Oct-08 4:25
Mekong River22-Oct-08 4:25 
AnswerRe: Error message display after install driver printer Pin
Dan Neely22-Oct-08 5:15
Dan Neely22-Oct-08 5:15 
GeneralRe: Error message display after install driver printer Pin
Mekong River23-Oct-08 15:42
Mekong River23-Oct-08 15:42 
GeneralRe: Error message display after install driver printer Pin
Dan Neely24-Oct-08 2:08
Dan Neely24-Oct-08 2:08 
QuestionC and x86 assembly interface problem Pin
_chew22-Oct-08 2:35
_chew22-Oct-08 2:35 
AnswerRe: C and x86 assembly interface problem Pin
Dan Neely22-Oct-08 5:17
Dan Neely22-Oct-08 5:17 
AnswerRe: C and x86 assembly interface problem Pin
Randor 4-Nov-08 20:44
professional Randor 4-Nov-08 20:44 
Here is an example of how to access your struct members utilizing inline assembly. This example will copy a string into the arg2 member of your struct.

typedef struct _SOMESTRUCT
{
ULONG arg1;
CHAR arg2[10];
} SOMESTRUCT, *PSOMESTRUCT;
 
CHAR szcpy[] = "copy me copy me copy me copy me";
_SOMESTRUCT mySomeStruct = {0};
mySomeStruct.arg1 = strlen(szcpy);
 
__asm
{
	lea ebx, mySomeStruct //Load address of struct into base register
	mov ecx, [ebx]mySomeStruct.arg1 //Move length of string into counter register
	lea edi, [ebx]mySomeStruct.arg2 //Load address of destination buffer
	lea esi, szcpy //Load address of source buffer
	shr ecx,1 //Shift right ecx
	rep movsw //Repeat move words
	adc ecx,ecx //Add with carry ecx
	rep movsb //Repeat move remaining bytes
}


Best Wishes,
-David Delaune
QuestionHow to know in run time if there is active microphone in current machine ? Pin
Yanshof22-Oct-08 2:28
Yanshof22-Oct-08 2:28 
AnswerCross post - Re: How to know in run time if there is active microphone in current machine ? Pin
Simon P Stevens22-Oct-08 3:40
Simon P Stevens22-Oct-08 3:40 
QuestionProblem in connectivity Pin
awais09922-Oct-08 0:26
awais09922-Oct-08 0:26 
AnswerRe: Problem in connectivity Pin
Dave Kreskowiak22-Oct-08 5:16
mveDave Kreskowiak22-Oct-08 5:16 
GeneralRe: Problem in connectivity Pin
Sebastian Schneider22-Oct-08 23:11
Sebastian Schneider22-Oct-08 23:11 
AnswerRe: Problem in connectivity Pin
Sebastian Schneider22-Oct-08 23:09
Sebastian Schneider22-Oct-08 23:09 
GeneralWireless Router Recommendations [modified] Pin
Brady Kelly21-Oct-08 22:45
Brady Kelly21-Oct-08 22:45 
GeneralRe: Wireless Router Recommendations Pin
Dan Neely22-Oct-08 2:13
Dan Neely22-Oct-08 2:13 
GeneralRe: Wireless Router Recommendations Pin
Snowman5819-Nov-08 9:34
Snowman5819-Nov-08 9:34 
QuestionHow to simulate a device as printer, USB storage? Pin
XuanThinh TRAN20-Oct-08 16:00
XuanThinh TRAN20-Oct-08 16:00 
QuestionInstalling operation system on wrong partition ... how to fix the problem ? Pin
Yanshof14-Oct-08 5:40
Yanshof14-Oct-08 5:40 
AnswerRe: Installing operation system on wrong partition ... how to fix the problem ? Pin
Sebastian Schneider16-Oct-08 3:35
Sebastian Schneider16-Oct-08 3:35 
QuestionGetting hardware info Pin
alex__b14-Oct-08 1:27
professionalalex__b14-Oct-08 1:27 
AnswerRe: Getting hardware info Pin
#realJSOP15-Oct-08 11:13
mve#realJSOP15-Oct-08 11:13 
GeneralRe: Getting hardware info Pin
alex__b15-Oct-08 19:26
professionalalex__b15-Oct-08 19:26 
GeneralRe: Getting hardware info Pin
#realJSOP16-Oct-08 1:02
mve#realJSOP16-Oct-08 1:02 
GeneralRe: Getting hardware info Pin
alex__b16-Oct-08 2:06
professionalalex__b16-Oct-08 2:06 

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.