   explicit linking DLLs
  In MSDN Library i read on explicitly linking DLLs in c++, and it said to use GetProcAddress. Does this apply to only functions, or is it also for exported variables and classes? My biggest question is how would you link a class?   "Solutions are not the answer." - Richard Nixon 
  GetProcAddress() can also be used for variables. Classes don''t play happily with GetProcAddress(). ;  is there a way (at all) to make a pointer to a class?   "Solutions are not the answer." - Richard Nixon ;  classes can''t export. they are just descriptions on how objects behave.you can export objects, though, just as variables. (i think, i''ve never done it. thats worst of global variables:D).just export a function, returning what you need (a.k.a. createObject(), or getInterface(), or what ever)with dll''s, you learn a bit more what encapsulation is all about.   If that''s not the help you''re after then you''re going to have to explain the problem better than what you have. - joanusdmentiadavepermen.net 