Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding DLL's to System Folder On Exe Startup Pin
Bob Stanneveld16-Sep-05 2:52
Bob Stanneveld16-Sep-05 2:52 
GeneralRe: Adding DLL's to System Folder On Exe Startup Pin
khan++16-Sep-05 3:05
khan++16-Sep-05 3:05 
GeneralRe: Adding DLL's to System Folder On Exe Startup Pin
Blake Miller16-Sep-05 4:37
Blake Miller16-Sep-05 4:37 
AnswerRe: Adding DLL's to System Folder On Exe Startup Pin
Bob Stanneveld16-Sep-05 2:57
Bob Stanneveld16-Sep-05 2:57 
GeneralRe: Adding DLL's to System Folder On Exe Startup Pin
Blake Miller16-Sep-05 4:39
Blake Miller16-Sep-05 4:39 
GeneralRe: Adding DLL's to System Folder On Exe Startup Pin
Bob Stanneveld16-Sep-05 5:41
Bob Stanneveld16-Sep-05 5:41 
QuestionUDP Multicasting Pin
hjdewind16-Sep-05 1:26
hjdewind16-Sep-05 1:26 
QuestionLife Time Of an Object. Pin
rajeev8216-Sep-05 1:15
rajeev8216-Sep-05 1:15 
i got a response for my previous query about a thread variable and i got a feeling that i hav'nt explained the problem very clearly..so let me tell my problem again.

In my application i've to access a hardware and get some data from it, for which the vendor has supplied a BSP and few API calls.He says that for MFC applications i've to create an object of a class called TLV_STORE, which contains lot of static members associated with the board Library and ensure its lifetime overlaps all calls to the library function across different classes.
i've created the object in the InitInstance function(in the Heap using new operator) of the Class derived from CWinApp and i'm able to access the API calls of the board only from that class(i.e.when i try to access the API from a class derived from CDialog i'm getting Debug Asertion error).
is there any other place where i can declare the object so that it becomes visible to all the classes and i can access the API calls from different classes within in the application?

it will be really great if anyone can help me out in this.




rajeev
AnswerRe: Life Time Of an Object. Pin
khan++16-Sep-05 2:06
khan++16-Sep-05 2:06 
AnswerRe: Life Time Of an Object. Pin
Bob Stanneveld16-Sep-05 3:03
Bob Stanneveld16-Sep-05 3:03 
Questionloading bitmap in Picture box(urgent plz) Pin
a_david12316-Sep-05 0:10
a_david12316-Sep-05 0:10 
AnswerRe: loading bitmap in Picture box(urgent plz) Pin
khan++16-Sep-05 1:18
khan++16-Sep-05 1:18 
QuestionThread Variable Pin
rajeev8215-Sep-05 23:45
rajeev8215-Sep-05 23:45 
AnswerRe: Thread Variable Pin
dharani16-Sep-05 0:35
dharani16-Sep-05 0:35 
AnswerRe: Thread Variable Pin
Chris Losinger16-Sep-05 7:39
professionalChris Losinger16-Sep-05 7:39 
QuestionError Language Pin
tranglt15-Sep-05 23:05
tranglt15-Sep-05 23:05 
AnswerRe: Error Language Pin
dharani16-Sep-05 0:37
dharani16-Sep-05 0:37 
GeneralRe: Error Language Pin
tranglt16-Sep-05 0:53
tranglt16-Sep-05 0:53 
QuestionTCP port detection/scanning Pin
Jörgen Sigvardsson15-Sep-05 23:03
Jörgen Sigvardsson15-Sep-05 23:03 
AnswerRe: TCP port detection/scanning Pin
Anonymous16-Sep-05 0:21
Anonymous16-Sep-05 0:21 
GeneralRe: TCP port detection/scanning Pin
Jörgen Sigvardsson16-Sep-05 0:53
Jörgen Sigvardsson16-Sep-05 0:53 
AnswerRe: TCP port detection/scanning Pin
dharani16-Sep-05 0:23
dharani16-Sep-05 0:23 
AnswerRe: TCP port detection/scanning Pin
dharani16-Sep-05 0:27
dharani16-Sep-05 0:27 
GeneralRe: TCP port detection/scanning Pin
Jörgen Sigvardsson16-Sep-05 0:56
Jörgen Sigvardsson16-Sep-05 0:56 
GeneralRe: TCP port detection/scanning Pin
HumanOsc16-Sep-05 1:17
HumanOsc16-Sep-05 1:17 

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.