i m using soap library for C++ client and hv searched alot almost all code are using same way but Its Giving exception on
my Wcf service has One Method "GetMessage(string name)
URL is (Hellow is virtual directory for IIS)
<a href=""><a href="http://localhost/Hellow/HelloWorldService.svc">http://localhost/Hellow/HelloWorldService.svc</a>
I am doing my application in embedded VC++.
I have included the file WINSCARD.h, and add the library WINSCARD.lib in the Project Settings>>Link>> Category(INPUT)>> in library modules.
But when i use the function SCardEstablishContext () or SCardListReaders () i get the following error :
error LNK2019: unresolved external symbol _SCardEstablishContext referenced in function "public: void __thiscall CListRdrsDlg::OnDropdownComboRdrs(void)" (?OnDropdownComboRdrs@CListRdrsDlg@@QAEXXZ)
The only thing I can think of is this: are you using the correct version of the library ? By this I mean that you cannot use the win32 version of the library, because you are developping for winCE. I don't know this library so I can't tell you if it exists for winCE or not.
but after some time PROCESS_INFORMATION have null values and process not created successfully.
The 'process not created successfully' bit bears examination. What did CreateProcess return (0, I presume) and, if it indicated failure, what does GetLastError return?
The PROCESS_INFORMATION struct is strictly an output of CreateProcess - you shouldn't have to re-initialize it every time, but it helps to do so, so you can more easily see (in the debugger) that the contents have changed.
I use the following code at Client side to connect with server. In this program, when i start Server, client will stop or hang on the "connect" function. I am not getting where is problem in client program. Server side code i tested, but it is working.
I place the client side code below.
//// Client code ////
int BUFF_SIZE = 30,iError;
char* localIP = "";
I am posting this here because I am not receiving an error to my compiling. The program executes just fine, just not applying the new computer name. Please tell me what you see wrong. I am new and been reading on MSDN's website on how to used this Function correctly.
If you have an answer to my question, please explain your answer. It will help me and any other beginner programmer.
Here is the code:
using namespace std;
// Set Local Computer Name
BOOL WINAPI SetComputerName(
The computer will do everything you ask it to do; it starts at the first line of your main() function and continues until either a return, an exit() or a fatal error is encountered. You should be able to figure it out from there.
I can conclude that you are a beginner and this is your first attempt at any programming language.
Hence my advice: go to the book store, look at some books, buy the one book that looks most interesting, and study it; in one or two weeks it will teach you all the basics in a systematic way; and you will learn much more than you can discover by yourself, by experimenting and asking random questions.