|
Jay03 wrote: RTI_EXPORT
Could be anything, but it is likely a preprocessor defined symbol to be either __declspec(dllexport) or __declspec(dllimport) .
http://en.wikipedia.org/wiki/Dynamic_link_library[^]
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
So how is the class related to the linker. Does the class I mentioned add onto the functions that is already in the DLL. Very confusing
Thanks.
|
|
|
|
|
I am located in NH and I am working with a client that has an old Visual C++ application that they would like updated. I have a working copy of the program and some source code. I am trying to get the source compiled. The working copy uses OCX controls and the Mfc40.dll indicating that it was last compiled in Visual C++ 4.0. However the only good copy of the source that they can find uses VBX controls and seems to be a Visual C++ 1.5 project.
I have VC++ 4.0 and VC++ 1.5 on my computer. I have a limited knowledge of C++ and I am looking for some one to help me get the source set up in either VC++ 1.5 or VC++ 4.0 enabling me to trace through the code and understand the logic. I am looking for someone in the NH or MA area that could help me getting this program back into shape. If you are interested, or know of someone who would be interested, let me know what your fee would be to update this program.
|
|
|
|
|
Not much progress in two months eh?
roland51 wrote: enabling me to trace through the code and understand the logic.
No documentation I guess?
roland51 wrote: help me getting this program back into shape.
Doesn't sound like it ever was in shape.
roland51 wrote: If you are interested, or know of someone who would be interested, let me know what your fee would be to update this program.
Including moving to NH and working on this dream project I would guess around 4.5 million dollars US, sound about right?
"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?" Colin Angus Mackay in the C# forum
led mike
|
|
|
|
|
led mike wrote: I would guess around 4.5 million dollars US, sound about right?
wow, do you like to share that fortune with me
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
Wow, I've done that several times, though mostly without the VBX controls, except I'm 2000 miles too far to the west.
(This reminds me when I "ported" an app from the Mac to Windows. The [Asymetrix] Toolbook source code had long been lost and wouldn't have been very useful even if we'd had it. I just copied the look and feel. The result was so much better they hired a contractor to rewrite the Mac version but then cancelled the project for financial reasons.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
roland51 wrote: If you are interested, or know of someone who would be interested, let me know what your fee would be to update this program.
I can't help you with the job because I am too far away but I do believe you missed a few things that make esitmating this type of thing very difficult.
How many lines of code is the current application?
Does everything compile cleanly? After reading your post again, I guess you don't know this answer as this sounds like what you want the programmer to do.
Do you want to port it to a Microsoft supported compiler?
John
|
|
|
|
|
Hi fellows
I add in my app the comutil.h. I have a problem in the declaration of the throw exception. My compiler informs this:
<br />
540 C:\Dev-Cpp\include\comutil.h declaration of `OLECHAR* _bstr_t::Detach()' throws different exceptions <br />
152 C:\Dev-Cpp\include\comutil.h than previous declaration `OLECHAR* _bstr_t::Detach() throw ()' <br />
The code that is in the comutil.h for the first error is this:
<br />
inline BSTR _bstr_t::Detach()<br />
{<br />
_COM_ASSERT(m_Data != NULL && m_Data->RefCount() == 1);<br />
<br />
if (m_Data != NULL) {<br />
BSTR b = m_Data->GetWString();<br />
m_Data->GetWString() = NULL;<br />
_Free();<br />
return b;<br />
} <br />
else {<br />
_com_issue_error(E_POINTER);<br />
<br />
return NULL;<br />
}<br />
}<br />
For the second error, this is the code:
BSTR Detach() throw();
What I have to do in this case? May I comment the second line??
Thanks for the support
|
|
|
|
|
Alex Cutovoi wrote: BSTR Detach() throw();
I don't have Visual Studio accessible at the moment, but I believe this header file is suppose to declare that method as follows:
BSTR Detach() throw(...);
or simply:
BSTR Detach();
The throw() tells the compiler that the method does not throw an exception.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
Zac, thanks for help now and in the question that I posted before.
I change this thing to the second way that you said:
BSTR Detach();
Now I have some others, linker compiler errors:
[Linker error] undefined reference to `_ZN9_com_util19ConvertStringToBSTREPKc@4'
[Linker error] undefined reference to `_Z16_com_issue_errorl@4'
[Linker error] undefined reference to `_Z16_com_issue_errorl@4'
What is this man?
Thanks again for the great and big support
|
|
|
|
|
Looks like you might be linking to the wrong library. Is this an application linking with a static library by chance?
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
Dear sir,
I do know what i do
When I compile my program now i have this error :
Making help file...
Error executing c:\windows\system32\cmd.exe.
paie.exe - 1 error(s), 0 warning(s)
What to do now to correct this error ?
I learn my self
|
|
|
|
|
Does this happen with all projects, or just the one? Does the project actually have a help file?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
THis happens for just one project,
I have help file
|
|
|
|
|
Can you be more specific
whitesky
|
|
|
|
|
My project was working well,
I have created a new form after that i have this error.
From to now i don't understand
|
|
|
|
|
Dear sir,
I do know what i do
|
|
|
|
|
Hello. I have a TabCtrl and am using the TCS_BOTTOM option so that my tabs appear on the bottom, rather than the top. When the project was switched to use a manifest that allows xp controls, the tabs now appear as if they are upsidedown. They are located on the bottom and the text is rightside up, which is good, but they seem to be "attached" to the bottom of the ctrl, rather up into the ctrl.
To word it another way, they seem to have been moved from the top and just placed at the bottom, rather than moved to the bottom AND rotated 180.
Also, the tab selection colour (yellow) appears at the top of the tab rather than the bottom.
Any thoughts on how I can switch that orientation? I've checked the tab ctrl styles, but none of them seem to be what I need.
Thanks for any information.
|
|
|
|
|
|
Hi,
How can i represent in an hand-written ascii file
the not-a-number value ?
Of course i also need to do how can i write a
code capable to recognize that.
Any suggestions ?
Thanx in advance,
Desmo16.
|
|
|
|
|
Are you asking how to tell if a byte in a file is not a number? More specific details would be helpful ...
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
well , i have an ascii file made like this:
string1 double11 double12 double13
string2 double21 double22 double23
string3 double31 double32 double33
...
Where stringx is the name of a geophysical station
while doublexx are double values measured from the station
When for some reason we haven't the measured value
When i write to a file a number divided by zero
and then i open that file with notepad i found
-1.#IND.
So i supposed that if i write -1.#IND at the place of some
doublexx the code can understand that i mean Not-a-number
when i load it as a double but it doesn't work.
Thanx in advance,
Desmo16
|
|
|
|
|
just put "N/A" or something else, and parse that when you read the file.
it's simpler than second guessing what is "not a number" really is.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
well , i have an ascii file made like this:
string1 double11 double12 double13
string2 double21 double22 double23
string3 double31 double32 double33
...
Where stringx is the name of a geophysical station
while doublexx are double values measured from the station
When for some reason we haven't the measured value
we need to put Not-a-number.
When i write to a file a number divided by zero
and then i open that file with notepad i found
-1.#IND.
So i supposed that if i write -1.#IND at the place of some
doublexx the code can understand that i mean Not-a-number
when i load it as a double but it doesn't work.
Thanx in advance,
Desmo16
|
|
|
|