Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPopup on system tray icon. Pin
baldha rakesh12-Mar-06 20:09
baldha rakesh12-Mar-06 20:09 
AnswerRe: Popup on system tray icon. Pin
Monty212-Mar-06 20:13
Monty212-Mar-06 20:13 
AnswerRe: Popup on system tray icon. Pin
Nibu babu thomas12-Mar-06 20:16
Nibu babu thomas12-Mar-06 20:16 
Questioncreating SDI Document in ATL COM Pin
c_jangid12-Mar-06 19:56
c_jangid12-Mar-06 19:56 
AnswerRe: creating SDI Document in ATL COM Pin
Hamid_RT12-Mar-06 20:18
Hamid_RT12-Mar-06 20:18 
GeneralRe: creating SDI Document in ATL COM Pin
c_jangid13-Mar-06 0:02
c_jangid13-Mar-06 0:02 
Questionimport a class from dll Pin
Naveen12-Mar-06 19:42
Naveen12-Mar-06 19:42 
AnswerRe: import a class from dll Pin
Nibu babu thomas12-Mar-06 20:07
Nibu babu thomas12-Mar-06 20:07 
Naveen R wrote:
Can i use this api to import the class?


No.

But there is a workaround...

Use this API to get the address of a function that returns an instance of the class that you wish to access dynamically.

For eg:

The function will be something like this...

void* FUNC_EXPORT CreateInstance()
{
	return static_cast< void*> (new SomeClass);
}
Use GetProcAddress to get the address of this function.


Nibu thomas
Software Developer

GeneralRe: import a class from dll Pin
Naveen12-Mar-06 20:28
Naveen12-Mar-06 20:28 
GeneralRe: import a class from dll Pin
Nibu babu thomas12-Mar-06 20:57
Nibu babu thomas12-Mar-06 20:57 
AnswerRe: import a class from dll Pin
Ryan Binns12-Mar-06 21:55
Ryan Binns12-Mar-06 21:55 
GeneralRe: import a class from dll Pin
Naveen12-Mar-06 22:27
Naveen12-Mar-06 22:27 
GeneralRe: import a class from dll Pin
Ryan Binns12-Mar-06 22:33
Ryan Binns12-Mar-06 22:33 
GeneralRe: import a class from dll Pin
Naveen12-Mar-06 22:49
Naveen12-Mar-06 22:49 
GeneralRe: import a class from dll Pin
Ryan Binns12-Mar-06 22:55
Ryan Binns12-Mar-06 22:55 
QuestionDriver Licence test in VC++ Pin
Gourav Agarwal12-Mar-06 18:48
Gourav Agarwal12-Mar-06 18:48 
AnswerRe: Driver Licence test in VC++ Pin
normanS12-Mar-06 23:34
normanS12-Mar-06 23:34 
Questionhow to return a string from COM DLL Pin
Mann Khine12-Mar-06 17:55
Mann Khine12-Mar-06 17:55 
AnswerRe: how to return a string from COM DLL Pin
Stephen Hewitt12-Mar-06 18:03
Stephen Hewitt12-Mar-06 18:03 
QuestionHow to write memory Bitmap to BMP file directly? Pin
FleetAdmiral12-Mar-06 16:18
FleetAdmiral12-Mar-06 16:18 
AnswerRe: How to write memory Bitmap to BMP file directly? Pin
includeh1012-Mar-06 16:40
includeh1012-Mar-06 16:40 
AnswerRe: How to write memory Bitmap to BMP file directly? Pin
Naveen12-Mar-06 16:51
Naveen12-Mar-06 16:51 
AnswerRe: How to write memory Bitmap to BMP file directly? Pin
FleetAdmiral12-Mar-06 17:41
FleetAdmiral12-Mar-06 17:41 
GeneralRe: How to write memory Bitmap to BMP file directly? Pin
Hamid_RT12-Mar-06 17:43
Hamid_RT12-Mar-06 17:43 
GeneralRe: How to write memory Bitmap to BMP file directly? Pin
Naveen12-Mar-06 18:15
Naveen12-Mar-06 18:15 

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.