Click here to Skip to main content
15,915,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEmpty document on SDI App Pin
6-Jun-02 3:51
suss6-Jun-02 3:51 
GeneralRe: Empty document on SDI App Pin
Tomasz Sowinski6-Jun-02 4:10
Tomasz Sowinski6-Jun-02 4:10 
GeneralSynchronization problem (how do I make it read-only?) Pin
6-Jun-02 3:11
suss6-Jun-02 3:11 
GeneralRe: Synchronization problem (how do I make it read-only?) Pin
6-Jun-02 3:19
suss6-Jun-02 3:19 
GeneralCode to change data from Big Endian to Little Endian Pin
JMajors986-Jun-02 3:19
JMajors986-Jun-02 3:19 
GeneralRe: Code to change data from Big Endian to Little Endian Pin
6-Jun-02 3:16
suss6-Jun-02 3:16 
GeneralRe: Code to change data from Big Endian to Little Endian Pin
Joaquín M López Muñoz6-Jun-02 3:46
Joaquín M López Muñoz6-Jun-02 3:46 
Generalusing SAFEARRAY Pin
RaphaelBr6-Jun-02 2:24
RaphaelBr6-Jun-02 2:24 
Hi, I am using a OCX component, this component return to me a SAFEARRAY Pointer, I am sending this array using a CAsyncSocket component .. like this:

SAFEARRAY **psa;
psa = Data->pparray;
m_UDPSocket.Send((*psa)->pvData, (*psa)-rgsabound[0].cElements);

And I get in the other side like this:

int hr;
SAFEARRAY psa;
BYTE pdata[MAX_BUFFER];

psa.pvData = pdata;
psa.cDims = 1;
psa.cbElements = 1;
psa.cLocks = 1;
psa.fFeatures = FADF_FIXEDSIZE | FADF_AUTO | FADF_EMBEDDED | FADF_STATIC
psa.rgsabound[0].lLbound = 0;
psa.rgsabound[0].cElements = hr;

it´s work well ... but I need to send 2 bits together, I need to represent the number 1 (01), or 2 (10), or 3(00), I want to represent what kind of data I am sending using the Socket. How can I link the array with this 2 bits ?

Thanks a lot
Generalgeoreferenced tiff files Pin
jpg6-Jun-02 2:16
jpg6-Jun-02 2:16 
GeneralRe: georeferenced tiff files Pin
Chris Losinger6-Jun-02 2:55
professionalChris Losinger6-Jun-02 2:55 
Generalstl iterator Pin
_Magnus_6-Jun-02 2:10
_Magnus_6-Jun-02 2:10 
GeneralRe: stl iterator Pin
Chris Losinger6-Jun-02 2:57
professionalChris Losinger6-Jun-02 2:57 
GeneralRe: stl iterator Pin
Joaquín M López Muñoz6-Jun-02 2:56
Joaquín M López Muñoz6-Jun-02 2:56 
GeneralRe: stl iterator Pin
_Magnus_6-Jun-02 3:29
_Magnus_6-Jun-02 3:29 
GeneralRe: stl iterator Pin
John M. Drescher6-Jun-02 6:28
John M. Drescher6-Jun-02 6:28 
GeneralRe: stl iterator Pin
Mike Nordell6-Jun-02 10:22
Mike Nordell6-Jun-02 10:22 
GeneralRe: stl iterator Pin
John M. Drescher6-Jun-02 10:21
John M. Drescher6-Jun-02 10:21 
GeneralSysListView32 (Desktop) Pin
[xan]6-Jun-02 2:01
[xan]6-Jun-02 2:01 
GeneralProblem with Adobe SVG ActiveX Pin
6-Jun-02 1:33
suss6-Jun-02 1:33 
GeneralPCM To True Speech WAV Conversion Pin
AJ1235-Jun-02 22:52
AJ1235-Jun-02 22:52 
GeneralRe: PCM To True Speech WAV Conversion Pin
NotYourAverageGuy6-Jun-02 8:12
NotYourAverageGuy6-Jun-02 8:12 
GeneralUnhandled Exception-0xC0000005:Access Violation Pin
Rsh5-Jun-02 22:08
Rsh5-Jun-02 22:08 
GeneralRe: Unhandled Exception-0xC0000005:Access Violation Pin
Joaquín M López Muñoz5-Jun-02 22:12
Joaquín M López Muñoz5-Jun-02 22:12 
GeneralRe: Unhandled Exception-0xC0000005:Access Violation Pin
Rsh6-Jun-02 1:40
Rsh6-Jun-02 1:40 
GeneralRe: Unhandled Exception-0xC0000005:Access Violation Pin
Jim Crafton6-Jun-02 3:25
Jim Crafton6-Jun-02 3:25 

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.