473,511 Members | 16,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MFC Serialization

Hi all,

I have a file that has been outputted from what I have been told is a MFC
serialization function in C++ and looks like the following when opened in
notepad :

??1.01??BPMStarTSP600.dll??9600 ??80mm x Cont.
Feed??0??COM10???192.168.0.1??80

The above file is a config file that is used by an external program, In my
code I have to change this config file each time I want to use the external
program. The problem lies in the fact that I have no idea how to recreate
this file as I dont understand its format ? etc.

Has anyone come across this file type and if so do they know the output type
and how I could re create it in VB.NET ?

Thanks

Jon
Nov 21 '05 #1
2 1171
I have just looked back at my post and I have seen that it has been changed
in the output file where all the ?? are "??9600 ??80mm x Cont. Feed??0??"
They are displayed on my machine in notepad as squares - like this .

1.01?BPMStarTSP600.dll

"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:dG*********************@fe02.news.easynews.co m...
Hi all,

I have a file that has been outputted from what I have been told is a MFC
serialization function in C++ and looks like the following when opened in
notepad :

??1.01??BPMStarTSP600.dll??9600 ??80mm x Cont.
Feed??0??COM10???192.168.0.1??80

The above file is a config file that is used by an external program, In my
code I have to change this config file each time I want to use the
external program. The problem lies in the fact that I have no idea how to
recreate this file as I dont understand its format ? etc.

Has anyone come across this file type and if so do they know the output
type and how I could re create it in VB.NET ?

Thanks

Jon

Nov 21 '05 #2
I ahve just looed back over my posting and have notice that the text have
mailed and the test that has been displayed is different...

this

??1.01??BPMStarTSP600.dll??9600 ??80mm x Cont.
Feed??0??COM10???192.168.0.1??80

should read more like

1.01BPMStarTSP600.dll960080mm x Cont. Feed0COM10192.168.0.180

for some reason  has been convert to ??

Thanks

"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:dG*********************@fe02.news.easynews.co m...
Hi all,

I have a file that has been outputted from what I have been told is a MFC
serialization function in C++ and looks like the following when opened in
notepad :

??1.01??BPMStarTSP600.dll??9600 ??80mm x Cont.
Feed??0??COM10???192.168.0.1??80

The above file is a config file that is used by an external program, In my
code I have to change this config file each time I want to use the
external program. The problem lies in the fact that I have no idea how to
recreate this file as I dont understand its format ? etc.

Has anyone come across this file type and if so do they know the output
type and how I could re create it in VB.NET ?

Thanks

Jon

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
4946
by: Ben | last post by:
Hi, there. Recently I was working on a problem where we want to save generic closures in a data structure (a vector). The closure should work for any data type and any method with pre-defined...
1
4350
by: andrewcw | last post by:
There is an error in XML document (1, 2). I used XML spy to create the XML and XSD. When I asked to have the XML validated it said it was OK. I used the .net SDK to generate the class. I have...
3
3157
by: Aaron Clamage | last post by:
Hi, I'm not sure that if this is the right forum, but any help would be greatly appreciated. I am porting some java serialization code to c# and I can't figure out the correct way to do it. ...
6
2703
by: Uttam | last post by:
Hello, We are at a very crucial decision making stage to select between .Net and Java. Our requirement is to download a class at runtime on the client computer and execute it using remoting or...
3
2441
by: Alexander | last post by:
When i store rule on PC with .NET.SP1 i cant restore them from PC without SP1. An i get this Error: System.Runtime.Serialization.SerializationException: Possible Version mismatch. Type...
4
11381
by: mijalko | last post by:
Hi, I have inherited my class from System.Drawing.Printing.PrintDocument and I wish to serialize this object using XmlSerializer. And I get exception "There was an error reflecting type ...". If I...
5
6106
by: Nikola Skoric | last post by:
I ran in Mono a program developed on .NET Framework 2.0 and it ran OK until I tried to desirialize a object. There the program died abruptly dumping this: System.ArgumentOutOfRangeException:...
0
6590
by: bharathreddy | last post by:
Before going to that i want to say few thing on serialization : Serialization is the process of converting an object into a form that can be readily transported. For example, you can serialize an...
1
11044
by: kikisan | last post by:
I am developing a windows service which utilizes the following classes: interface IPersistable; abstract class PersistableObject : IPersistable;
2
5534
by: mkvenkit.vc | last post by:
Hello, I hope this is the right place to post a question on Boost. If not, please let me know where I can post this message and I will do so. I am having a strange problem with std::string as...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7508
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.