Click here to Skip to main content
15,921,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to send a byte to a hardware port in VC++ Pin
Roger Allen9-Apr-02 1:15
Roger Allen9-Apr-02 1:15 
Generalmanaged code into unamanged Pin
Ignacio Varas8-Apr-02 23:53
Ignacio Varas8-Apr-02 23:53 
GeneralString -> char* Pin
Chris Coote8-Apr-02 23:40
Chris Coote8-Apr-02 23:40 
QuestionCreating WMF files? Pin
ramjam8-Apr-02 23:44
ramjam8-Apr-02 23:44 
AnswerRe: Creating WMF files? Pin
Braulio Dez9-Apr-02 0:34
Braulio Dez9-Apr-02 0:34 
GeneralVirtual Serial Com Port Pin
GPShady8-Apr-02 23:29
GPShady8-Apr-02 23:29 
GeneralTypedef and more Pin
NicholasCougar8-Apr-02 23:13
NicholasCougar8-Apr-02 23:13 
GeneralRe: Typedef and more Pin
Christian Graus8-Apr-02 23:19
protectorChristian Graus8-Apr-02 23:19 
A typedef allows a new parameter to be created, it's more intelligent than a macro ( I believe ) but does the same sort of thing in effect. In this case, for example, PBEGINTHREADEX_THREADID is the same as an unsigned (int) pointer.

The reason to do this is that the type you use through your code for something specific can be changed just by changing the typedef.

I've never found a use for them, so if anyone else contradicts me, believe them first Smile | :)


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

"I'm somewhat suspicious of STL though. My (test,experimental) program worked first time. Whats that all about??!?!
- Jon Hulatt, 22/3/2002
GeneralRe: Typedef and more Pin
Rickard Andersson208-Apr-02 23:22
Rickard Andersson208-Apr-02 23:22 
GeneralRe: Typedef and more Pin
Christian Graus8-Apr-02 23:25
protectorChristian Graus8-Apr-02 23:25 
GeneralRe: Typedef and more Pin
Rickard Andersson208-Apr-02 23:28
Rickard Andersson208-Apr-02 23:28 
GeneralRe: Typedef and more Pin
Roger Allen9-Apr-02 1:12
Roger Allen9-Apr-02 1:12 
GeneralRe: Typedef and more Pin
Rickard Andersson208-Apr-02 23:20
Rickard Andersson208-Apr-02 23:20 
GeneralRe: Typedef and more Pin
Lakitu8-Apr-02 23:24
Lakitu8-Apr-02 23:24 
GeneralRe: Typedef and more Pin
NicholasCougar9-Apr-02 16:19
NicholasCougar9-Apr-02 16:19 
GeneralCRYSTL32.OCX problem ! Pin
Hadi Rezaee8-Apr-02 23:04
Hadi Rezaee8-Apr-02 23:04 
GeneralRe: CRYSTL32.OCX problem ! Pin
l a u r e n9-Apr-02 0:56
l a u r e n9-Apr-02 0:56 
GeneralRe: CRYSTL32.OCX problem ! Pin
Hadi Rezaee9-Apr-02 4:00
Hadi Rezaee9-Apr-02 4:00 
GeneralRe: CRYSTL32.OCX problem ! Pin
Hadi Rezaee9-Apr-02 10:02
Hadi Rezaee9-Apr-02 10:02 
GeneralWord Automation - Extra Info on Tables.. Pin
Braulio Dez8-Apr-02 22:41
Braulio Dez8-Apr-02 22:41 
GeneralSTL and heap management Pin
Haakon S.8-Apr-02 22:26
Haakon S.8-Apr-02 22:26 
GeneralRe: STL and heap management Pin
Christian Graus8-Apr-02 23:21
protectorChristian Graus8-Apr-02 23:21 
GeneralRe: STL and heap management Pin
Haakon S.9-Apr-02 0:20
Haakon S.9-Apr-02 0:20 
GeneralRe: STL and heap management Pin
Joao Vaz9-Apr-02 1:07
Joao Vaz9-Apr-02 1:07 
GeneralRe: STL and heap management Pin
Haakon S.9-Apr-02 1:50
Haakon S.9-Apr-02 1:50 

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.