Click here to Skip to main content
15,896,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondifference in Dlls ???? Pin
zahid_ash25-Aug-04 20:16
zahid_ash25-Aug-04 20:16 
AnswerRe: difference in Dlls ???? Pin
ThatsAlok25-Aug-04 21:43
ThatsAlok25-Aug-04 21:43 
Questionmulti lines in .ini file how to save and load/read ? Pin
ELY M.25-Aug-04 20:10
ELY M.25-Aug-04 20:10 
AnswerRe: multi lines in .ini file how to save and load/read ? Pin
mango_lier25-Aug-04 20:43
mango_lier25-Aug-04 20:43 
GeneralRe: multi lines in .ini file how to save and load/read ? Pin
ELY M.26-Aug-04 20:40
ELY M.26-Aug-04 20:40 
GeneralRe: multi lines in .ini file how to save and load/read ? Pin
ELY M.26-Aug-04 20:40
ELY M.26-Aug-04 20:40 
GeneralAdding menu to MDI Chile window Pin
ledallam25-Aug-04 18:51
ledallam25-Aug-04 18:51 
GeneralMany tabs using one file Pin
chauteen25-Aug-04 16:42
chauteen25-Aug-04 16:42 
It's me again.
I'm still fighting with tabs.
I have 7 tabs with spins on them, and one Dialog.
I use Propertypage, and use the instruction "AddPage" to make the 7 tabs on the dialog.
Now I want to store the spin value in a flie when the user click and change the spin value.
(or maybe in 7 different file, for one tab own one file belong to itself)
Then, I have to communicate with a controller throu RS-232 under modbus portocol.
Because I'm slave on modbus, I only can send data out when the controller send out query message. So I planning to store the spin value in files, then waiting untill the query message, then I send the data I stored in the file.
I would like to ask how to deal with the file pointer.

I use the code:
in my base dialog' cpp:
<br />
FILE *filedlg;<br />
filelog = fopen( "file_page1.txt", "r+" )<br />


What code about pointer assignment I suppose to write in tab page1' cpp or h file to complete the rest? I mean page1 doesn't know the exitance of file pointer filedlg.

I'm new about pointer and MFC, and would be many appriciate about your help.
chauteen
GeneralIDOK processing for all PropertyPage Pin
astuserp25-Aug-04 16:28
astuserp25-Aug-04 16:28 
GeneralRe: IDOK processing for all PropertyPage Pin
DRHuff25-Aug-04 16:55
DRHuff25-Aug-04 16:55 
GeneralRe: IDOK processing for all PropertyPage Pin
alvinsanusi25-Aug-04 17:22
alvinsanusi25-Aug-04 17:22 
GeneralRe: IDOK processing for all PropertyPage Pin
DRHuff25-Aug-04 17:27
DRHuff25-Aug-04 17:27 
QuestionCan i disable the ie menu(File-&gt;new) in my MFC application? Pin
max_xiayi25-Aug-04 16:18
max_xiayi25-Aug-04 16:18 
GeneralLoading a font from a font file Pin
rotu25-Aug-04 16:05
rotu25-Aug-04 16:05 
GeneralRe: Loading a font from a font file Pin
palbano25-Aug-04 17:57
palbano25-Aug-04 17:57 
GeneralRe: Loading a font from a font file Pin
rotu25-Aug-04 21:09
rotu25-Aug-04 21:09 
GeneralRe: Loading a font from a font file Pin
Chris Losinger26-Aug-04 3:35
professionalChris Losinger26-Aug-04 3:35 
GeneralRe: Loading a font from a font file Pin
rotu27-Aug-04 0:17
rotu27-Aug-04 0:17 
QuestionHow to access an URL from within VC++/VB code( Not .NET) Pin
JM9325-Aug-04 13:45
JM9325-Aug-04 13:45 
AnswerRe: How to access an URL from within VC++/VB code( Not .NET) Pin
l a u r e n25-Aug-04 15:37
l a u r e n25-Aug-04 15:37 
AnswerRe: How to access an URL from within VC++/VB code( Not .NET) Pin
palbano25-Aug-04 17:53
palbano25-Aug-04 17:53 
AnswerRe: How to access an URL from within VC++/VB code( Not .NET) Pin
Ravi Bhavnani26-Aug-04 3:18
professionalRavi Bhavnani26-Aug-04 3:18 
GeneralMFC and its BOOL type... Pin
0v3rloader25-Aug-04 13:33
0v3rloader25-Aug-04 13:33 
GeneralRe: MFC and its BOOL type... Pin
Michael Dunn25-Aug-04 14:22
sitebuilderMichael Dunn25-Aug-04 14:22 
GeneralRe: MFC and its BOOL type... Pin
palbano25-Aug-04 17:55
palbano25-Aug-04 17:55 

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.