|
Embedded 2009 is an XP OS, with bits added, and taken away....
And thats probably the issue. Its a PITA finding out what was ripped out, I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.
|
|
|
|
|
Any solution that you could suggest in finding the exact problem and getting it solved?
|
|
|
|
|
google the issue, ask on msft forums, try to work out which compmonent is throwing the error. Get a working XP system and compare it to the embedded 2009 one, look for files, registry settings that are differemt.
Its a PITA, like I said.
|
|
|
|
|
Munchies_Matt wrote: I have see all kinds of crap with this version, it takes a lot of detective work to figure out quite how MSFT broke it.
Care to elaborate? Microsoft did not distribute prebuilt embedded OS images for that version. The embedded OS is built by you or someone in your organization using the 'Target Designer' which allows you to select from many thousands of packages.
If anything is broken... blame the guy who builds the OS image within your organization. The license back then was very restrictive... requiring each organization to list the licensed users by name.
I've built hundreds and hundreds of embedded OS images with the old XP and 2009 Target Designer... I believe the licensing is less restrictive these days... but I don't work in this area anymore so don't keep up with it.
Best Wishes,
-David Delaune
|
|
|
|
|
divya03 wrote:
Now I've installed MS-office and Access database Engine 2010 drive also. Is it newer than the version offered here?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
There was no MS access software installed in that PC, so gave a try with the available software.
|
|
|
|
|
I use ODBC to access databases in my C/C++ coding and in my PowerBASIC coding. Whenever I'm having difficulties with anything, I call SQLGetDiagRec(), which returns error info. I can provide for you a bit of code to try it out. Let me know.
|
|
|
|
|
divya03 wrote: Ya I searched. everywhere they are suggesting to install the driver using installation CD which currently I'm not able to as I do not have a CD..
If you are actually using a legitimate licenced version of Embedded Standard then someone inside your organization builds the OS using the "Target Designer". You are given all the tools necessary to build and customize the embedded operating system.
Windows Embedded Standard 2009 Step-by-Step Deployment[^]
Btw, the fact that you are asking this question strongly implies that you may be using a pirated or unlicensed version of Embedded Standard Windows 2009.
All of the database packages are selectable in the "Target Designer".
Best Wishes,
-David Delaune
|
|
|
|
|
I need to create a 'input' parameter in method of my web service.
I am writing a VC++ program where I am calling my vb web service method, using http request(SOAP packet). While calling this web method, return SOAP packet tells me only 'out' parameter(being generated by web method). I digged on google, came to know that this 'input' parameter may be added by json, XML scripts...
There might be some java expert here, who can answer my question...
-Pankaj
|
|
|
|
|
This is not a question for Java experts, you are talking about javascript which is completely different. You also need to provide better details of what your code is doing, and where the error occurs.
|
|
|
|
|
Dear,
I explain you whole condition of code...
<s:element name="ConvertTemperature"> <s:complextype> <s:sequence> <s:element minoccurs="1" maxoccurs="1" name="dFahrenheit" type="s:double"> <s:element name="ConvertTemperatureResponse"> <s:complextype> <s:sequence> <s:element minoccurs="1" maxoccurs="1" name="ConvertTemperatureResult" type="s:double"> ... – pankaj 16 hours ago
I want to add an input parameter('zipcode' from VC++/'InParam' in vb web method) in web method...though I am trying to send that parameter, in my call of C++ SOAP packet..but this is being taken as 'Nothing'(InParam) by web method..
Though I made a sample json file as microsoft says...social.msdn.microsoft.com/Forums/en-US/… how to fix that in my vc++ code, after sending 'POST' request of my http packet
in WSDL..Web Service.vb..
Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols <webservice(namespace:="tempuri.org ")="">; _ <webservicebinding(conformsto:=wsiprofiles.basicprofile1_1)> _ <global.microsoft.visualbasic.compilerservices.designergenerated()> _ Public Class WebService Inherits System.Web.Services.WebService <webmethod()> _ Public Function ConvertTemperature(ByVal InParam As String) As String Dim Temp As Integer Temp = CInt(InParam) + 20 Return CStr(Temp) End Function End Class – pankaj 15 hours ago
float CallWebService(LPCTSTR szZipCode) {
CHECK_HR(hr);
VARIANT vRequest; vRequest.vt = VT_BSTR; vRequest.bstrVal = szRequest.AllocSysString();
hr = spXMLHTTP->setRequestHeader(_bstr_t(_T("Content-Type")), _bstr_t(_T("text/xml"))); CHECK_HR(hr);
>send(_bstr_t(szSOAPReq)); CHECK_HR(hr); if(200 == spXMLHTTP->status)
_bstr_t bstrResponse = spXMLHTTP->responseText; MessageBox(0, bstrResponse, "TEST", 0); AfxMessageBox(bstrResponse); }
from web method..vb.. <webmethod()> _ Public Function ConvertTemperature(ByVal InParam As String) As String Dim Temp As Integer Temp = CInt(InParam) + 20 Return CStr(Temp) End Function....this parameter "InParam " is showing "Nothing" at run time..any help would be highly appreciated..
How to run json script from c++ or how to create a xml script to make provsion for 'input' parameter?
Can any java,C++ expert solve prolem of my code
-Pankaj
|
|
|
|
|
Sorry, but I cannot understand any of that. And like I already told you, this has nothing to do with Java.
|
|
|
|
|
Dear Richard,
Please give a look to my problem. as mentioned above.
-Pankaj
|
|
|
|
|
change this line in wsdl as "
type="xsd:string"/ "go instead of "xsd:double"
|
|
|
|
|
Did you create this web service/method?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Yes..I created this web service...by VS->New Web->Added Web service->vb Web Method...
Do you have any suggestion for my project..?
Pankaj
|
|
|
|
|
Hi
While trying to get a better understanding of my exceptions I down loaded the demo
" Quote: How a C++ compiler implements exception handling
Well first I feel very good the I spent $700 to get the intel C/C++ compiler
the demo had inline asm code and the Microsoft compiler only supports thunder 32 bit code
but intel supports _asm with X64 I changed the "E" register to "R"
Was able to build everything until the demo
I got a number of externs I paste just one example but I am sire they are all related to cout
Quote: error LNK2019: unresolved external symbol "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z) referenced in function "public: void __cdecl std::_Container_base12::_Orphan_all(void)" (?_Orphan_all@_Container_base12@std@@QEAAXXZ)
1>MyExcHandler.lib(myexchandler.obj) : error LNK2001: unresolved external symbol "public: __cdecl std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QEAA@H@Z)
doing research seems the .lib msvcprtd or msvcprt.lib for release ( did a dumpbin on the lib)
I included in my library directories
however I am still getting externals
|
|
|
|
|
If these externals are related to std::cout then they should automatically get resolved by the STL libraries, which generally get automatically included in your project. However, since you are using the Intel compiler, it may be that you need to include some extra libraries that Intel provides.
|
|
|
|
|
Are you absolutely sure you did the Linker >> Input >> Additional Dependencies right? That looks suspiciously like what it is telling you or it's static versus dynamic linking but that usually presents slightly different.
In vino veritas
|
|
|
|
|
Thanks I had downloaded the sample code "How the compiler implements exception handling"
Seems like SEH is only use full for 32 bit code as the EXCEPTION_REGISTRATION handler pointer
is a DD 4 bytes and I am running a 64 bit project
|
|
|
|
|
ForNow wrote: Seems like SEH is only use full for 32 bit code as the EXCEPTION_REGISTRATION handler pointer
is a DD 4 bytes and I am running a 64 bit project
No absolutely not,
That field should be defined as a PEXCEPTION_ROUTINE callback which will be quadword pointer on a 64 bit platform. Sounds like you are looking at some 32 bit instructions in your sample.
Best Wishes,
-David Delaune
|
|
|
|
|
Thanks this is in regards to the exception I'm getting access violation it happens intermittently
When it does the Debbuger gets control and points to ntdll looking at the call stack doesn't point me back to anywhere in my code. I was looking for a really low level Exception handler that might catch it earlier.
The code for the SEH in all the examples I have seen has inline Assembler
However I do have the intel compiler which lets me use _asm for 64 bit code
Thanks
|
|
|
|
|
Hi,
The unresolved symbol std::_Lockit appears to be from the Microsoft implementation of checked iterators[^] in our STL implementation.
So this implies that you are #including the Microsoft STL headers and trying to link with the Intel Standard C++ Library[^].
Fix your broken #include and library paths.
Best Wishes,
-David Delaune
|
|
|
|
|
I have a templated class that is based on string or wstring, and most things are easy as the basic_string contains sufficient operators and methods to manipulate the text. However, one thing I cannot get round is including character constants inside the template, as below:
template <typename T>
class Tokenizer
{
typedef typename T::size_type _Mysizt;
T strText;
T strFilter;
_Mysizt offset; _Mysizt index; _Mysizt length;
public:
Tokenizer(T strText, T strFilter)
{
}
T Next(bool bTrim)
{
T strToken;
if (bTrim)
{
offset = strText.find_first_not_of(' ', offset);
}
}
return strToken;
}
I am sure it must be possible (OG, Po'H, SB), but my reading of the documentation and samples has not helped. So what (obvious) did I miss?
[edit]
While David Crow's suggestion works for a character constant, it will not work for a string like:
offset = strText.find_first_not_of(" \t", offset);
[/edit]
modified 3-Jul-17 4:43am.
|
|
|
|
|
I'm not sure I entirely understand the problem so my suggestion may be as valuable as a $3 bill. Can you use:
offset = strText.find_first_not_of(0x20, offset);
Or could you add the "search for" character as part of the constructor?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|