Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Arabic in Edit Box....Multi-language Pin
Carlos Antollini17-Sep-01 6:49
Carlos Antollini17-Sep-01 6:49 
GeneralCreate Question Pin
17-Sep-01 5:45
suss17-Sep-01 5:45 
GeneralRe: Create Question Pin
17-Sep-01 5:58
suss17-Sep-01 5:58 
GeneralRe: Create Question Pin
17-Sep-01 6:05
suss17-Sep-01 6:05 
GeneralRe: Create Question Pin
Oscar Vazquez17-Sep-01 8:22
Oscar Vazquez17-Sep-01 8:22 
GeneralButtons with symbol character labels Pin
ChrisP17-Sep-01 5:23
ChrisP17-Sep-01 5:23 
GeneralRe: Buttons with symbol character labels Pin
Joaquín M López Muñoz17-Sep-01 6:39
Joaquín M López Muñoz17-Sep-01 6:39 
GeneralStatic object in mfc, only one instance for all instance of my class Pin
Remi Morin17-Sep-01 4:44
Remi Morin17-Sep-01 4:44 
Hi,
My Class is using some bitmap, there not very big I'd like that only one instance of the bitmap exist for all instance of my class.

In java it's static member of the class, in MFC I've try to do
Class MyClass: public CWnd
{
...blablabla...
private:
static CBitmap MyBitmap;
...blablabla
}
and the linker said
MyClass.obj :error LNK2001:unresolved external symbol "private: static class CBitmap MyClass::MyBitmap" (?MyBitmap@MyClass@@0VCBitmap@@A)

so what is wrong?



Remi Morin
Rmorin@Operamail.com
Remi.Morin@Lyrtech.com


GeneralRe: Static object in mfc, only one instance for all instance of my class Pin
Chris Losinger17-Sep-01 4:51
professionalChris Losinger17-Sep-01 4:51 
GeneralRe: Static object in mfc, only one instance for all instance of my class Pin
Remi Morin17-Sep-01 4:58
Remi Morin17-Sep-01 4:58 
GeneralTell me the difference :) Pin
17-Sep-01 4:40
suss17-Sep-01 4:40 
GeneralRe: Tell me the difference :) Pin
Remi Morin17-Sep-01 5:09
Remi Morin17-Sep-01 5:09 
GeneralRe: Tell me the difference :) Pin
Remi Morin17-Sep-01 5:29
Remi Morin17-Sep-01 5:29 
GeneralRe: Tell me the difference :) Pin
Remi Morin17-Sep-01 6:02
Remi Morin17-Sep-01 6:02 
GeneralCorrection: Tell me the difference :) Pin
17-Sep-01 22:28
suss17-Sep-01 22:28 
GeneralRe: Tell me the difference :) Pin
Alvaro Mendez18-Sep-01 10:42
Alvaro Mendez18-Sep-01 10:42 
GeneralAbsolute bloody ADO hell Pin
Christian Graus17-Sep-01 3:55
protectorChristian Graus17-Sep-01 3:55 
GeneralRe: Absolute bloody ADO hell Pin
Michael P Butler17-Sep-01 4:01
Michael P Butler17-Sep-01 4:01 
GeneralRe: Absolute bloody ADO hell Pin
Christian Graus17-Sep-01 4:06
protectorChristian Graus17-Sep-01 4:06 
GeneralRe: Absolute bloody ADO hell Pin
Michael P Butler17-Sep-01 4:27
Michael P Butler17-Sep-01 4:27 
GeneralRe: Absolute bloody ADO hell Pin
Christian Graus17-Sep-01 4:27
protectorChristian Graus17-Sep-01 4:27 
GeneralRe: Absolute bloody ADO hell Pin
Michael P Butler17-Sep-01 4:35
Michael P Butler17-Sep-01 4:35 
GeneralRe: Absolute bloody ADO hell Pin
Jeremy Pullicino17-Sep-01 5:29
Jeremy Pullicino17-Sep-01 5:29 
GeneralRe: Absolute bloody ADO hell Pin
Christian Graus17-Sep-01 13:00
protectorChristian Graus17-Sep-01 13:00 
GeneralAbsolute bloody ATL hell Pin
Christian Graus17-Sep-01 2:12
protectorChristian Graus17-Sep-01 2:12 

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.