Other than rearranging your code around. What the compiler is doing is warning you because the variable could be used before being unasigned. This is bad in any environment, but gets progressively worse in languages like C/C++.
Go ahead and assign the value of null to the necessary complex...
If I were you, I would remove all the necessary logic (the meat) and build a C++ library (DLL). This would give you two options...
1) Write a C# UI wrapper which pinvokes the DLL, utilizing it's logic.
2) Cross compile the Cpp library on Linux, write a UI wrapper there on that platform.
Yes it's possible. One way is to establish a sync with a desktop computer (where you would normally use a cradle). Then find the IP of that desktop machine, enter that IP in your PPC's WIN's address for your wireless. You should have no problem synching with that desktop via wireless.
Symbol has not yet released the Symbol .NET CF (managed) compatable control. You could use ScanWedge, which forces your users to provide input, but this is pretty poor, as your users may have to keep providing focus. The other options (ActiveX control) will not work in a .NET CF application...
I assume you want the xml written back out? Your in luck if so -- the XmlDataDocument contains an internal dataset. Use something similar to this:
XmlDataDocument xdd = new XmlDataDocument;
/* your code */
// get xml as string...
xdd.DataSet.GetXml()
You can also use .WriteXml() to write...
Can you send or post a sample of how the file should look? Are they scanning in only one barcode, then your parsing that to grab the other information, OR are they scanning all those pieces of information, in which case you would want one or more pieces of information to be grouped together...
Save the $129 ... if you need something simple, just tell me what you need. If it's not laying around on my hard drive, it wouldn't be difficult to say dump scanned barcodes to a text file. But is that what you really want???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.