Click here to Skip to main content
15,913,669 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Edit control in vc++ Pin
Steve Echols22-May-06 20:41
Steve Echols22-May-06 20:41 
AnswerRe: Edit control in vc++ Pin
Ganesh_T22-May-06 21:04
Ganesh_T22-May-06 21:04 
Questionhow to get the source of firfox Pin
jerry1111122-May-06 19:46
jerry1111122-May-06 19:46 
AnswerRe: how to get the source of firfox Pin
kakan22-May-06 19:53
professionalkakan22-May-06 19:53 
AnswerRe: how to get the source of firfox Pin
Laxman Auti22-May-06 20:44
Laxman Auti22-May-06 20:44 
GeneralRe: how to get the source of firfox Pin
jerry1111122-May-06 21:59
jerry1111122-May-06 21:59 
AnswerRe: how to get the source of firfox Pin
Laxman Auti22-May-06 22:53
Laxman Auti22-May-06 22:53 
QuestionReading BYTE* Pin
satsumatable22-May-06 19:44
satsumatable22-May-06 19:44 
Hi,

In VC++ i have the following line in VC++ to send bytes to ActiveX control, when i debug it i can able to see &(abData[0]) will return address of first element and i am sending the same to control.

Byte *pbManagedData = &(abData[0]); // Get starting point of Array
axSimpleAdditionAtx1 ->SendBy(pbManagedData,3); // Send it to Active-X

In ActiveX control i am having following signature to receive the memory pointer. But i can able to see junk values alone; please let me know whats wrong with this.

void VRMControl::SendBy(BYTE* ByteValue, LONG Length)
{
BYTE val[3];
memcpy (ByteValue,val,3);
}

AnswerRe: Reading BYTE* Pin
kakan22-May-06 19:51
professionalkakan22-May-06 19:51 
GeneralRe: Reading BYTE* Pin
satsumatable22-May-06 19:59
satsumatable22-May-06 19:59 
GeneralRe: Reading BYTE* Pin
Sarath C22-May-06 20:18
Sarath C22-May-06 20:18 
GeneralRe: Reading BYTE* [modified] Pin
sunit522-May-06 20:21
sunit522-May-06 20:21 
GeneralRe: Reading BYTE* Pin
Maxwell Chen22-May-06 20:24
Maxwell Chen22-May-06 20:24 
GeneralRe: Reading BYTE* Pin
satsumatable22-May-06 20:31
satsumatable22-May-06 20:31 
GeneralRe: Reading BYTE* Pin
Maxwell Chen22-May-06 20:39
Maxwell Chen22-May-06 20:39 
GeneralRe: Reading BYTE* Pin
satsumatable22-May-06 20:54
satsumatable22-May-06 20:54 
GeneralRe: Reading BYTE* Pin
Maxwell Chen22-May-06 21:03
Maxwell Chen22-May-06 21:03 
GeneralRe: Reading BYTE* Pin
satsumatable22-May-06 21:07
satsumatable22-May-06 21:07 
GeneralRe: Reading BYTE* Pin
Maxwell Chen22-May-06 21:30
Maxwell Chen22-May-06 21:30 
GeneralRe: Reading BYTE* Pin
satsumatable22-May-06 21:34
satsumatable22-May-06 21:34 
GeneralRe: Reading BYTE* Pin
Maxwell Chen22-May-06 22:01
Maxwell Chen22-May-06 22:01 
QuestionSMBIOS Pin
aaaan22-May-06 19:39
aaaan22-May-06 19:39 
AnswerRe: SMBIOS Pin
Laxman Auti22-May-06 19:48
Laxman Auti22-May-06 19:48 
GeneralRe: SMBIOS Pin
aaaan22-May-06 20:37
aaaan22-May-06 20:37 
QuestionCString to Char array Pin
VinayCool22-May-06 19:36
VinayCool22-May-06 19:36 

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.