Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Exporting/Importing class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AjayV
Junior Member

India
23 Posts

Posted - Apr 09 2012 :  01:35:09 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Apr 10 2012 :  2:50:38 PM  Show Profile  Reply with Quote
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
{
};

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000