Click here to Skip to main content
15,902,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VB pass a para to VC Pin
jmkhael11-Oct-02 7:21
jmkhael11-Oct-02 7:21 
GeneralRe: VB pass a para to VC Pin
Anonymous11-Oct-02 22:06
Anonymous11-Oct-02 22:06 
GeneralSQL and C++ Pin
Anonymous11-Oct-02 5:57
Anonymous11-Oct-02 5:57 
GeneralRe: SQL and C++ Pin
Steve S11-Oct-02 6:13
Steve S11-Oct-02 6:13 
GeneralReally strange string error Pin
will138311-Oct-02 5:12
will138311-Oct-02 5:12 
GeneralRe: Really strange string error Pin
jmkhael11-Oct-02 5:17
jmkhael11-Oct-02 5:17 
GeneralRe: Really strange string error Pin
Daniel Turini11-Oct-02 5:22
Daniel Turini11-Oct-02 5:22 
QuestionWhat the Heck? Pin
Ryan B.11-Oct-02 4:51
Ryan B.11-Oct-02 4:51 
Okay, so in a past project I had used IDL to expose a UDT i had in a dll to an excel spreadsheet. The DLL in that case was a straight C++ DLL, no MFC.

In this case I have an MFC DLL. I want to expose a UDT to the excel spreadsheet. I have tried, but it does not work. I have the UDT defined in my IDL file, but when I use "references" tool in excel, I dont have access to the type? The code is below. Am I doing something wrong here?

<code>
[
uuid(A1CCE58E-553D-4394-828C-5227D4526293),
helpstring("Topic Conversion Library For Tag List")
]

/////////////////////////////////////////////////
// Library Declaration			
////////////////////////////////////////////////

library TopicConversionLib
{
///////////////////////////////////////////////
// Topic Data Type Definition		
///////////////////////////////////////////////
// This will be used to "transport" data info
// from teh DLL to the VB application
///////////////////////////////////////////////
	
typedef struct _vb_topic_data
{
short	t_num;	 // Topic Number	Short
float	t_value; // Topic Value		Float
BSTR	t_name;	 // Topic Name		String
}	VbTopicData;

[
	helpstring("topic stuff"),
	dllname("topic_conversion.dll")
]
module topic_conversion
{

};
}


Ryan Baillargeon
Software Specialist
Fuel Cell Technologies Inc.
AnswerRe: What the Heck? Pin
Steve S11-Oct-02 6:08
Steve S11-Oct-02 6:08 
AnswerRe: What the Heck? Pin
MaximE12-Oct-02 11:54
MaximE12-Oct-02 11:54 
Generala terrible problem! help! Pin
ns11-Oct-02 4:11
ns11-Oct-02 4:11 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:01
ns11-Oct-02 5:01 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 5:22
Joaquín M López Muñoz11-Oct-02 5:22 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:34
ns11-Oct-02 5:34 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 5:36
Joaquín M López Muñoz11-Oct-02 5:36 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 5:56
ns11-Oct-02 5:56 
GeneralRe: a terrible problem! help! Pin
ns11-Oct-02 6:00
ns11-Oct-02 6:00 
GeneralRe: a terrible problem! help! Pin
Joaquín M López Muñoz11-Oct-02 6:00
Joaquín M López Muñoz11-Oct-02 6:00 
Generalupdate! Pin
ns15-Oct-02 3:14
ns15-Oct-02 3:14 
GeneralStoring additional data in MsWord 2000/XP file Pin
mariuszpopiolek11-Oct-02 4:06
mariuszpopiolek11-Oct-02 4:06 
GeneralCount appl in DLL Pin
Raphael Kindt11-Oct-02 3:21
Raphael Kindt11-Oct-02 3:21 
GeneralRe: Count appl in DLL Pin
Jon Hulatt11-Oct-02 3:44
Jon Hulatt11-Oct-02 3:44 
GeneralRe: Count appl in DLL Pin
Raphael Kindt11-Oct-02 4:10
Raphael Kindt11-Oct-02 4:10 
GeneralRe: Count appl in DLL Pin
Jon Hulatt11-Oct-02 4:25
Jon Hulatt11-Oct-02 4:25 
GeneralRe: Count appl in DLL Pin
Raphael Kindt11-Oct-02 4:40
Raphael Kindt11-Oct-02 4:40 

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.