Click here to Skip to main content
15,901,035 members
Home / Discussions / COM
   

COM

 
GeneralRecurrence object in Outlook Appointments Pin
Brigg Thorp11-Aug-03 1:44
Brigg Thorp11-Aug-03 1:44 
GeneralPlease help!! Pin
adsilva7-Aug-03 22:15
adsilva7-Aug-03 22:15 
GeneralRe: Please help!! Pin
Stephane Rodriguez.7-Aug-03 23:34
Stephane Rodriguez.7-Aug-03 23:34 
GeneralRe: Please help!! Pin
adsilva7-Aug-03 23:56
adsilva7-Aug-03 23:56 
GeneralRe: Please help!! Pin
Stephane Rodriguez.8-Aug-03 0:00
Stephane Rodriguez.8-Aug-03 0:00 
GeneralRe: Please help!! Pin
adsilva8-Aug-03 0:08
adsilva8-Aug-03 0:08 
GeneralRe: Please help!! Pin
Stephane Rodriguez.8-Aug-03 0:35
Stephane Rodriguez.8-Aug-03 0:35 
GeneralRe: Please help!! Pin
adsilva8-Aug-03 0:52
adsilva8-Aug-03 0:52 
Earlier I was getting the following error when I was declaring harddiskletters as
static char HardDiskLetters[MAX_OF_HARD_DISKS][4]={
"c:\\", "d:\\", "e:\\", "f:\\", "g:\\", "h:\\",
"i:\\", "j:\\", "k:\\", "l:\\", "m:\\", "n:\\",
"o:\\", "p:\\", "q:\\", "r:\\", "s:\\", "t:\\",
"u:\\", "v:\\", "w:\\", "x:\\", "y:\\", "z:\\"
};

D:\Backup Codes\Crypts\Serialno.cpp(52) : error C2664: 'GetVolumeInformationW' : cannot convert parameter 1 from 'char [4]' to 'const unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

After changing to
static TCHAR HardDiskLetters[][MAX_OF_HARD_DISKS]={
"c:\\", "d:\\", "e:\\", "f:\\", "g:\\", "h:\\",
"i:\\", "j:\\", "k:\\", "l:\\", "m:\\", "n:\\",
"o:\\", "p:\\", "q:\\", "r:\\", "s:\\", "t:\\",
"u:\\", "v:\\", "w:\\", "x:\\", "y:\\", "z:\\"
};

I am getting 25 errors which points to the line where the above declaration is made.
the error reads as follows

D:\Backup Codes\Crypts\Serialno.cpp(18) : error C2440: 'initializing' : cannot convert from 'char [4]' to 'unsigned short'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast

Thanks,

Anna.

GeneralRe: Please help!! Pin
Stephane Rodriguez.8-Aug-03 1:16
Stephane Rodriguez.8-Aug-03 1:16 
GeneralRe: Please help!! Pin
adsilva8-Aug-03 1:45
adsilva8-Aug-03 1:45 
GeneralRe: Please help!! Pin
Stephane Rodriguez.8-Aug-03 2:07
Stephane Rodriguez.8-Aug-03 2:07 
GeneralRe: Please help!! Pin
Mike_V9-Aug-03 11:55
Mike_V9-Aug-03 11:55 
GeneralInternet Explorer custom menu Pin
Mohsen Saad7-Aug-03 18:55
Mohsen Saad7-Aug-03 18:55 
Generalfor people with experience with ActiveX Controls.. Pin
safee ullah7-Aug-03 1:49
safee ullah7-Aug-03 1:49 
GeneralRe: for people with experience with ActiveX Controls.. Pin
Stephane Rodriguez.7-Aug-03 6:09
Stephane Rodriguez.7-Aug-03 6:09 
GeneralRe: for people with experience with ActiveX Controls.. Pin
safee ullah7-Aug-03 23:16
safee ullah7-Aug-03 23:16 
GeneralRe: for people with experience with ActiveX Controls.. Pin
Stephane Rodriguez.7-Aug-03 23:25
Stephane Rodriguez.7-Aug-03 23:25 
GeneralRe: for people with experience with ActiveX Controls.. Pin
safee ullah8-Aug-03 0:17
safee ullah8-Aug-03 0:17 
GeneralRe: for people with experience with ActiveX Controls.. Pin
Stephane Rodriguez.8-Aug-03 0:30
Stephane Rodriguez.8-Aug-03 0:30 
Generalcalling vc6 dll from vb6 activex dll Pin
patwilliams6-Aug-03 5:53
patwilliams6-Aug-03 5:53 
GeneralUsing MS Web Browser ActiveX Control Pin
Douglas Troy5-Aug-03 5:11
Douglas Troy5-Aug-03 5:11 
GeneralRe: Using MS Web Browser ActiveX Control Pin
Stephane Rodriguez.6-Aug-03 10:53
Stephane Rodriguez.6-Aug-03 10:53 
GeneralRe: Using MS Web Browser ActiveX Control Pin
Douglas Troy7-Aug-03 5:57
Douglas Troy7-Aug-03 5:57 
GeneralRe: Using MS Web Browser ActiveX Control Pin
Stephane Rodriguez.7-Aug-03 6:07
Stephane Rodriguez.7-Aug-03 6:07 
GeneralRe: Using MS Web Browser ActiveX Control Pin
Douglas Troy7-Aug-03 7:03
Douglas Troy7-Aug-03 7:03 

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.