Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow To Find Out Where My Programm is Placed Pin
Rassul Yunussov22-Aug-04 23:55
Rassul Yunussov22-Aug-04 23:55 
AnswerRe: How To Find Out Where My Programm is Placed Pin
Michael P Butler23-Aug-04 0:37
Michael P Butler23-Aug-04 0:37 
AnswerRe: How To Find Out Where My Programm is Placed Pin
David Salter23-Aug-04 0:39
David Salter23-Aug-04 0:39 
General"Random Access" writing to files Pin
Jon Hulatt22-Aug-04 22:16
Jon Hulatt22-Aug-04 22:16 
GeneralRe: "Random Access" writing to files Pin
David Salter22-Aug-04 22:27
David Salter22-Aug-04 22:27 
GeneralRe: "Random Access" writing to files Pin
Jon Hulatt22-Aug-04 22:49
Jon Hulatt22-Aug-04 22:49 
GeneralRe: "Random Access" writing to files Pin
David Salter22-Aug-04 23:36
David Salter22-Aug-04 23:36 
GeneralMany tabs using one serial port Pin
chauteen22-Aug-04 22:09
chauteen22-Aug-04 22:09 
Hi,
I'm writing a dialog by MFC.
I have several tabs, and every tab has some control items on it. I creat classes for every tab.
I want to send out status thru RS-232, such as when the user click one spin, and the spin value will be sent out thru RS-232.
My problem is I've got the tab class and a serial class ready. But how to confige a serial port that can be used by "all" tabs.
If I create the port in one tab's cpp, other tabs will not be able to use the port, of course.
However, it doesn't work if I configure a port in the project's main cpp, either.
Forthermore, if I call the functions in the CSerailPort class, like:
CSerialPort::Openport("com4");
The compiler says another error: illegal call of non-static member function.

Thanx your help.

Chauteen
GeneralRe: Many tabs using one serial port Pin
ThatsAlok23-Aug-04 1:13
ThatsAlok23-Aug-04 1:13 
GeneralLinker problems Pin
alex.barylski22-Aug-04 21:59
alex.barylski22-Aug-04 21:59 
GeneralRe: Linker problems Pin
De Nardis Andrea23-Aug-04 0:03
De Nardis Andrea23-Aug-04 0:03 
QuestionDavidCrow does't know this any one knows this? Pin
kriaz22-Aug-04 21:40
kriaz22-Aug-04 21:40 
AnswerRe: DavidCrow does't know this any one knows this? Pin
alex.barylski22-Aug-04 21:55
alex.barylski22-Aug-04 21:55 
AnswerRe: DavidCrow does't know this any one knows this? Pin
Maximilien23-Aug-04 0:56
Maximilien23-Aug-04 0:56 
AnswerRe: DavidCrow does't know this any one knows this? Pin
Antony M Kancidrowski23-Aug-04 3:05
Antony M Kancidrowski23-Aug-04 3:05 
AnswerRe: DavidCrow does't know this any one knows this? Pin
Jeremy Falcon23-Aug-04 6:51
professionalJeremy Falcon23-Aug-04 6:51 
GeneralCFile gives me 0x20 (ERROR_BAD_UNIT) but fopen doesn't Pin
baboguru22-Aug-04 21:10
baboguru22-Aug-04 21:10 
GeneralRe: CFile gives me 0x20 (ERROR_BAD_UNIT) but fopen doesn't Pin
vcplusplus23-Aug-04 3:14
vcplusplus23-Aug-04 3:14 
GeneralRe: CFile gives me 0x20 (ERROR_BAD_UNIT) but fopen doesn't Pin
baboguru23-Aug-04 16:05
baboguru23-Aug-04 16:05 
GeneralRe: CFile gives me 0x20 (ERROR_BAD_UNIT) but fopen doesn't Pin
Blake Miller24-Aug-04 8:36
Blake Miller24-Aug-04 8:36 
QuestionIs there any way to format and print an UNICODE string in which there are some zero byte? Pin
samfromcn22-Aug-04 19:47
samfromcn22-Aug-04 19:47 
AnswerRe: Is there any way to format and print an UNICODE string in which there are some zero byte? Pin
Milton Karimbekallil22-Aug-04 21:23
Milton Karimbekallil22-Aug-04 21:23 
AnswerRe: Is there any way to format and print an UNICODE string in which there are some zero byte? Pin
GDavy22-Aug-04 21:41
GDavy22-Aug-04 21:41 
Generalpassing filename into Pin
Abhi Lahare22-Aug-04 19:02
Abhi Lahare22-Aug-04 19:02 
GeneralRe: passing filename into Pin
Abhi Lahare23-Aug-04 0:21
Abhi Lahare23-Aug-04 0:21 

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.