Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Exporting/Importing class

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
AjayV Posted - Apr 09 2012 : 01:35:09 AM
There is a macro:
#define ClassImportExport class __declspec(dllimport); // or dllexport

And there is class export/import:
ClassImportExport CNonInheritedClass
{
};

When I use this non-inherited class in the DLL or in the client project of this DLL, it will be colorized and would be intellisensed. All fine.

But for all classes, that are inherited from other standard class:

ClassImportExport CMyRecordSet: public CRecordSet
{
};
It will be rendered as if CMyRecordSet is a method. Intellisense will only show base class members only. If base class doesnt have members, nothing will appear after .

Craete Implementation will also not show up.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Apr 10 2012 : 2:50:38 PM
Thank you for the clear example, I am seeing the same problem here. The problem is that our parser is having some problems with the "class" keyword being in the macro:

case=9589

As a temporary work around I would suggest changing the macro to read:

#define ClassImportExport __declspec(dllimport); // or dllexport

and thus the code to read:

class ClassImportExport CNonInheritedClass
{
};

class ClassImportExport CMyRecordSet: public CRecordSet
{
};

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000