|
ThatsAlok wrote: it better to use COM instead if you want synchronous communication.
The stdio and sockets specifically support synchronous communications. Or asynchronous.
Pretty sure one can do asynchronous with COM as well, so that has nothing to do with why COM would be a better choice.
|
|
|
|
|
Hi,
Sorry for delay in replying. I am actually developing application based on wxWidgets and I want to link a C# based dll into my application. I tried a small console based sample example and it worked fine. But when I actually tried to link into wxWidgets application I got some warnings and my app crashes before it starts.
I was getting following warning
lnk4248 unresolved typeref token
and also the following warning. I posted the query here. Though this is not a wxWidget forum, still I would like to ask whether there is a way to link C# based DLL into wxWidgets application?
Thanks
|
|
|
|
|
Hi every senior
now I have a hardware address(Ex:super IO, 2E),and I want to access the Super IO Register status under the windows 7,
so,is there any way to communicate with hardware by using any function or API?
Thank you all guys
BR
|
|
|
|
|
not sure what issue you're facing - the Super IO Chip/ChipSet (most likely) is used to communicate with serial ports - but that being said, you go through several layers of abstraction 'above' that Chipset layer to talk to serial ports
What exactly are you trying to accomplish ?
'g'
|
|
|
|
|
Thanks for your replying, Mr.Garth J Lancaster
Well...my job is Embedded Controller(EC)(is similar with Super IO)Firmware.So I can edit the register value in the source code, but now I want to access the register value in the different Operating System,In Dos system, I can use outp()and inp() function to read write value to register, but in the Windows, I don't know what function or API should I used.
Sorry, and forgive my poor English.
BR
|
|
|
|
|
|
Thanks a lot.
|
|
|
|
|
Hi,use MFC,I want to konw if the disk space is enough to write a file,How can get the informaion
|
|
|
|
|
|
Hello all, I'm trying to get back into programming. Studied C years ago. I've Perl in work for the last 10 years or so, but want to turn to C/C++/C#? Would like to do some Windows development and possibly some Android or iOS development in the future.
I have my old C book from school by Kernighan and Ritchie.
I've installed the Eclipse with CDT and MinGW. Hadn't gotten anything to compile yet, I think it's just a path issue with gcc.
Just wanted some feedback here. Am I on the right track? Is Eclipse ok, thought about using MS Visual Studio Express.
TIA
|
|
|
|
|
|
Thanks I'll check that out.
|
|
|
|
|
If you want to work with Windows programming then I would recommend you get hold of Visual Studio 2010 Express[^], free from Microsoft, as it contains a couple of skeleton templates for Windows applications. There are also lots of free samples in the CodeProject atrticles sections[^].
You may also like to consider whether moving on to C# would be a better choice. In which case Charles Petzold has this great e-book (also free)[^] to get you started.
Use the best guess
|
|
|
|
|
I appreciate the feedback. I think I will look harder at C#. I've already downloaded Visual Studio Express 2012. Would that version be ok, or are you suggesting 2010 for a particular reason?
|
|
|
|
|
I have seen quite a lot of negative comments about the 2012 versions on CodeProject, but that is largely from people moving up from the 2008 or 2010 versions. If you are starting from scratch you will probably be more than happy with it; maybe you can give some feedback sometime.
Use the best guess
|
|
|
|
|
just i am asking what how to let user enter his name ,
i want to make program that ask you enter your name, your family name,?
specify by writing the code please .
Thank you
|
|
|
|
|
my frnd you should first include string.h and declarethe variable for example#include"iostream.h" #include"string.h" main(){ string name; cout<<"enter your name"; cin>>name; cout<<"your name is "<<name; }
modified 5-May-13 12:02pm.
|
|
|
|
|
You should use <pre> tags round code (using the code link above) and line it up properly like:
include"iostream.h"
#include"string.h"
main()
{
string name;
cout << "enter your name";
cin >> name;
cout << "your name is "<<name;
}
The var link is used to highlight single words or phrases such as int variable; in a sentence.
Use the best guess
|
|
|
|
|
It depends on your program type. If it's a console app then see the answer provide by Yashwanth. If it's a Windows app then the normal way would be to use a dialog box. There are many samples to be found which explain how to do it.
Use the best guess
|
|
|
|
|
hi frnds i am newbie to c++.i like to develop my own language in c++ but i dont know where to start with. So plz help me my frnds . I am just 15 years old. I already know c c++ and java
|
|
|
|
|
|
thank u for ur help. The alef ++ language greatly helped me. Now i can continue my work with an idea. I AM unable to express my thanks in words.
|
|
|
|
|
Yashwanth. C.b wrote: I AM unable to express my thanks in words. You could start by not using bold font for your messages.
Use the best guess
|
|
|
|
|
|
The windows procecure like LRESULT CALLBACK MainWndProc(), windows get the return value.
I wonder what are the meanings of the return value, for example,
return 0, return 2, etc.
I saw many example codes using return 0.
modified 6-May-13 11:57am.
|
|
|
|