Marshelling exception in CORBA [closed] - c++

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
When i tried to register my POA in corba, i am getting Marshelling exception. I registered all registry already with my object.
I m using ACE/TAO 2.0a
Any help appriciated

Architecture has been changed in corba since 1.3a now you have to try registering all MarshellingProxyies that supply. Please have a look at new registryfactory in CORBA 2.2a,

Related

More reliable way to access PostgreSQL database from C++ [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I'm using libpqxx to access PostgreSQL database. It provides very low level interface so queries are actually constructed by hand using string operations. I feel that this approach has some drawbacks:
typos possibility
no type checking
a lot of handwriting
So most errors will be noticed at runtime. I would like to have more checks at compile time so that code that I write and ship is more reliable.
Is there a solution to my problem?

Why is this code resulting in bad access? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
WildcardFileFilter wavFiles = WildcardFileFilter("*.wav", "", "wavFiles");
fileChooser = new FileBrowserComponent(
FileBrowserComponent::FileChooserFlags::openMode
| FileBrowserComponent::FileChooserFlags::canSelectFiles
| FileBrowserComponent::FileChooserFlags::canSelectDirectories,
File("/Users/harrygardiner/Desktop"), &wavFiles, nullptr);
I'm trying to isolate .wav files in my audio application but it keeps telling me I have bad access problems, why is this?
Your wavFiles lives on the Stack. fileChooser is probably outliving wavFiles and then tries to access it resulting in undefined behaviour.

Const Auto/Identifier Errors [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I having trouble understanding why it won't identify this.
Any help is greatly appreciated.
Errors
Rest of the Code
This is C++17 syntax. As this standard is not yet the default option for most compilers you have to tell the compiler that you are using it via the -std=c++17 switch.
PS: you didn't say which compiler you are using, so maybe it will not support that switch or not even support C++17 at all.

How to get more than 50 transitions in boost msm? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am using boost msm to implement HSM and I am at the point where the maximum number of transitions possible is 50. I looked at some blog posts and they said that if we create /mpl/vector/vector60.hpp, it should work. I tried and this is the error I get
I am wondering how I am generate these vector60, vector70.hpp .. files or map60, map70.hpp files so that I can get more transitions.

strange regex experasion [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I've got a quick harmless question...
what does this expression mean:
/(^|[\s\0])/g
Try it out on regex101.com, looking on the right side:
Hope you can see this ok and can grok it.