Click here to Skip to main content
15,925,042 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generala question of download asynchronously with wininet Pin
wangweisp24-Jul-02 21:02
wangweisp24-Jul-02 21:02 
GeneralCRect::Width() and CRect::NormalizeRect() Pin
Geert Delmeiren24-Jul-02 20:23
Geert Delmeiren24-Jul-02 20:23 
GeneralRe: CRect::Width() and CRect::NormalizeRect() Pin
Tomasz Sowinski24-Jul-02 22:06
Tomasz Sowinski24-Jul-02 22:06 
Questionabout put_RegisterAsDropTarget? Pin
ttzzgg_8071324-Jul-02 19:32
ttzzgg_8071324-Jul-02 19:32 
GeneralHidden dialog from Dll Pin
Atin Kumar24-Jul-02 19:32
Atin Kumar24-Jul-02 19:32 
GeneralRe: Hidden dialog from Dll Pin
Paul M Watt24-Jul-02 19:42
mentorPaul M Watt24-Jul-02 19:42 
GeneralEvent for CDialogBar Docking & Floating Pin
Dave Matrix24-Jul-02 19:21
Dave Matrix24-Jul-02 19:21 
GeneralGoing Crazy: Trying to inherit an interface from another dll Pin
doshin24-Jul-02 19:03
doshin24-Jul-02 19:03 
Before I get started, I should warn you that most development I have done has been in VB.

Now that the laughter has subsided, here is the problem:

I have the following:

IBaseData - An interface in a dll which will not contain any implementation code.

ISybaseData - An interface which I would like to inherit from IBaseData INSTEAD of IDispatch.

I get an error that says unresolved type declaration IBaseData in the SybaseData project. Does anyone know what I am doing wrong?

EDIT: The SybaseData dll has a static link (#import) to BaseData project. Is that wrong?

Note: When I have BOTH interfaces in the same project, and I hack around the .idl file it works fine and I get the desired effect. But when I try to inherit it from another project (dll) I get that error.

Goal: To be able to do have a client app have a static link to the BaseData dll. After I create the smart pointer, I can then load by Classname "SybaseData.MyData" onto the smart pointer because they export the same functions, but a different implementation. In the future, I would like to create a "OracleData.MyData" dll and so forth and so on. Am I going about this the wrong way? I would rather not do use Invoke because it is a pain to set up.

Please let me know if you need any clarification, as the entire post is probably a bit confusing Wink | ;)
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 19:24
mentorPaul M Watt24-Jul-02 19:24 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
doshin24-Jul-02 19:32
doshin24-Jul-02 19:32 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 19:48
mentorPaul M Watt24-Jul-02 19:48 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 20:17
mentorPaul M Watt24-Jul-02 20:17 
GeneralAny ideas on how to.. Pin
Anonymous24-Jul-02 17:38
Anonymous24-Jul-02 17:38 
GeneralRe: Any ideas on how to.. Pin
Scott H. Settlemier24-Jul-02 17:47
Scott H. Settlemier24-Jul-02 17:47 
GeneralRe: Any ideas on how to.. Pin
Anonymous24-Jul-02 18:15
Anonymous24-Jul-02 18:15 
GeneralRe: Any ideas on how to.. Pin
Daniel Lohmann24-Jul-02 22:44
Daniel Lohmann24-Jul-02 22:44 
GeneralRe: Any ideas on how to.. Pin
benjymous24-Jul-02 22:47
benjymous24-Jul-02 22:47 
GeneralHelp on multi-threading Pin
Abin24-Jul-02 17:14
Abin24-Jul-02 17:14 
GeneralRe: Help on multi-threading Pin
Scott H. Settlemier24-Jul-02 17:40
Scott H. Settlemier24-Jul-02 17:40 
GeneralRe: Help on multi-threading Pin
Abin24-Jul-02 17:43
Abin24-Jul-02 17:43 
GeneralRe: Help on multi-threading Pin
Scott H. Settlemier24-Jul-02 17:52
Scott H. Settlemier24-Jul-02 17:52 
GeneralRe: Help on multi-threading Pin
Abin24-Jul-02 18:15
Abin24-Jul-02 18:15 
GeneralRe: Help on multi-threading Pin
Peter Occil24-Jul-02 18:14
Peter Occil24-Jul-02 18:14 
GeneralRe: Help on multi-threading Pin
RichardWdy24-Jul-02 18:20
RichardWdy24-Jul-02 18:20 
GeneralRe: Help on multi-threading Pin
RichardWdy24-Jul-02 18:22
RichardWdy24-Jul-02 18:22 

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.