Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 2 Doc & 2 Views. Pin
grassrootkit1-Mar-09 22:40
grassrootkit1-Mar-09 22:40 
GeneralRe: 2 Doc & 2 Views. Pin
Stuart Dootson1-Mar-09 23:12
professionalStuart Dootson1-Mar-09 23:12 
GeneralRe: 2 Doc & 2 Views. Pin
grassrootkit1-Mar-09 23:38
grassrootkit1-Mar-09 23:38 
QuestionC question about Split and remove substring Pin
nyc_6801-Mar-09 19:04
nyc_6801-Mar-09 19:04 
AnswerRe: C question about Split and remove substring Pin
Nishad S1-Mar-09 19:16
Nishad S1-Mar-09 19:16 
GeneralRe: C question about Split and remove substring Pin
nyc_6801-Mar-09 19:45
nyc_6801-Mar-09 19:45 
AnswerRe: C question about Split and remove substring Pin
sam_psycho1-Mar-09 20:01
sam_psycho1-Mar-09 20:01 
QuestionUnable to create SAFEARRAY Pin
pandit841-Mar-09 18:56
pandit841-Mar-09 18:56 
Hi i am creating a SAFEARRAY of User define datatype i.e a structure which i described in my .idl file .
Now while creating a SAFEARRAY i have done this ..

IRecordInfo *pRecInfo = NULL;
//CIHPCRInjectorBarcodeData - is my structure
const GUID UUID_CIHPCRInjectorBarcodeDataStruct = __uuidof(CIHPCRInjectorBarcodeData);

shr = ::GetRecordInfoFromGuids (LIBID_HPCRInjectorSetupGTIS45Lib ,
1,0,0 ,UUID_CIHPCRInjectorBarcodeDataStruct ,
&pRecInfo );

SAFEARRAYBOUND rgsBound[1]; //This is one dimensional array.
long *pData;
long lValue , lIndex ;
rgsBound[0].lLbound = 0;
rgsBound[0].cElements = 8 ;

//Now Create SAFEARRAY
SAFEARRAY *psa = 0;
psa = ::SafeArrayCreateEx (VT_RECORD ,1,rgsBound,pRecInfo);

while debugging i found that elements are not getting initiallized ..


Please help
AnswerRe: Unable to create SAFEARRAY Pin
Stuart Dootson1-Mar-09 21:48
professionalStuart Dootson1-Mar-09 21:48 
GeneralRe: Unable to create SAFEARRAY Pin
pandit841-Mar-09 23:04
pandit841-Mar-09 23:04 
Questionreading audio file properties like artist,genre,album etc using VC++ 6 Pin
punav1-Mar-09 18:08
punav1-Mar-09 18:08 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
«_Superman_»1-Mar-09 18:19
professional«_Superman_»1-Mar-09 18:19 
QuestionRe: reading audio file properties like artist,genre,album etc using VC++ 6 [modified] Pin
punav1-Mar-09 18:35
punav1-Mar-09 18:35 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
Ken Mazaika1-Mar-09 18:22
Ken Mazaika1-Mar-09 18:22 
AnswerRe: reading audio file properties like artist,genre,album etc using VC++ 6 Pin
Jijo.Raj1-Mar-09 19:11
Jijo.Raj1-Mar-09 19:11 
QuestionHandle Show Desktop in MFC. Pin
Le@rner1-Mar-09 18:02
Le@rner1-Mar-09 18:02 
AnswerRe: Handle Show Desktop in MFC. Pin
grassrootkit1-Mar-09 20:13
grassrootkit1-Mar-09 20:13 
GeneralRe: Handle Show Desktop in MFC. Pin
Le@rner1-Mar-09 20:16
Le@rner1-Mar-09 20:16 
QuestionRe: Handle Show Desktop in MFC. Pin
grassrootkit1-Mar-09 20:29
grassrootkit1-Mar-09 20:29 
AnswerRe: Handle Show Desktop in MFC. Pin
Le@rner1-Mar-09 20:33
Le@rner1-Mar-09 20:33 
GeneralRe: Handle Show Desktop in MFC. Pin
grassrootkit1-Mar-09 21:08
grassrootkit1-Mar-09 21:08 
GeneralRe: Handle Show Desktop in MFC. Pin
Le@rner1-Mar-09 21:24
Le@rner1-Mar-09 21:24 
AnswerRe: Handle Show Desktop in MFC. Pin
Eytukan1-Mar-09 21:02
Eytukan1-Mar-09 21:02 
GeneralRe: Handle Show Desktop in MFC. Pin
Le@rner1-Mar-09 21:30
Le@rner1-Mar-09 21:30 
GeneralRe: Handle Show Desktop in MFC. Pin
Le@rner2-Mar-09 1:10
Le@rner2-Mar-09 1:10 

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.