|
what is unresolved external symbol "public: __thiscall...
|
|
|
|
|
what do you think it is ?
unresolved external symbol means that the linker was looking for an external symbol (defined outside the .c/.cpp file) but could not find it...
you are missing some lib files...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
I was wondering if anyone knows how the string returned in the OPENFILENAME-lpstrFile is returned? is it ASCII? UNICODE?
|
|
|
|
|
I think it's ASCII. That's what a lpstr is, isn't it ? Did you think to run it and see ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi!
Can someone help me convert the following VB code to VC++?
---------------------------------------------------------------------
Const LOAD_FIRST = 2
Const LOAD_NEXT = 3
Dim ret As Long
Dim obj As String
Dim func As String
Dim sw As Long
sw = LOAD_FIRST
obj = “main”
Do
ret = pd.sym_get_ func func_name(obj, _func, sw)
If ret = 0 Then
Exit Do
Else
MsgBox func
sw = LOAD_NEXT
End If
Loop
---------------------------------------------------------------------
Thanks a lot!
Please help..
|
|
|
|
|
const int LOAD_FIRST = 2;
const int LOAD_NEXT = 3;
long ret = 0;
string obj("main");
string func("");
long sw = LOAD_FIRST;
while(true)
{
if(!pd.sym_get_func( func_name(obj, _func, sw))
{
break;
}
AfxMessageBox(func);
sw = LOAD_NEXT;
}
BUT this won't help you unless you have the pd object and the func_name method visible in the class.
What are you trying to do ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi!
Thank you for your reply.
> BUT this won't help you unless you have the pd object and the func_name method visible in the class.
What are you trying to do ?
My groupmate and I were asked to create an application that would expand the functionality of our "PDxx" debugger. We will link this application with the debugger. This code is a brief description of sym_get_func_name method.
Thanks a lot!
|
|
|
|
|
lmarcelo wrote:
This code is a brief description of sym_get_func_name method.
OK, then there is one method call only, and your initial code sample had errors in it ? That means a small change, nothing major. Did the code I gave you solve your problem ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi!
No, it didn't solve our problems yet. As of now, this code would be enough for our first stage of analysis. From this code we will construct our demo application.
Thanks a lot!
|
|
|
|
|
lmarcelo wrote:
As of now, this code would be enough for our first stage of analysis.
OK, so long as it answered the question, by all means, ask more if you get stuck.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi!
> OK, so long as it answered the question, by all means, ask more if you get stuck.
Yes I'll do that.
Thanks a lot!
|
|
|
|
|
I was required to write a programming using dos to generate. I now do know how to start to write the client programming. My supervisor have told me that need to do initialize and client, then also initialize and server. But I do not know how to start, can help me...
|
|
|
|
|
Tsaejen wrote:
I was required to write a programming using dos to generate
You had to write a console program ? One without a window ?
Tsaejen wrote:
My supervisor have told me that need to do initialize and client, then also initialize and server. But I do not know how to start, can help me...
I'm sorry, I understand that English is not your first language, and there's nothing wrong with that. But I honestly have no idea what you're asking, could you try to word it differently, so perhaps it will be easier for people to help you ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
I understand that English is not your first language
If his profile is correct, I'm afraid English is indeed his first language.
<font=arial>Weiye Chen
Life is hard, yet we are made of flesh...
|
|
|
|
|
While English is highly popular in that country, isn't there a chance he speaks Mandarin, Malay, or Tamil instead as his native tongue? Just asking...
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
DavidCrow wrote:
While English is highly popular in that country, isn't there a chance he speaks Mandarin, Malay, or Tamil instead as his native tongue? Just asking...
Yes, everyone has their own native language and probably speaks the most with. English here is taught at a very young age so i would think one should be able to write comprehensible sentences even though there may be grammatical errors. Just my opinion.
<font=arial>Weiye Chen
Life is hard, yet we are made of flesh...
|
|
|
|
|
|
I'm astounded at how many 'supervisors' ask people to write stuff they have no idea about, and don't provide mentoring or resources beyond a PC connected to the web...
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
how many 'supervisors' ask people to write stuff they have no idea about,
Thats the general practice, I can see two reason behind it Either they simply try to Save there Neck or else they want to make them (Read Junior) self dependent!
"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
|
|
|
|
|
ThatsAlok wrote:
self dependent!
Self dependant is a long way from knowing how to do things right. IMO the reason is that they know people who have the skills will answer the questions online for free !!
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I have found some example of source code......hope i will know how to do... thanks for your advise....
|
|
|
|
|
Christian Graus wrote:
that they know people who have the skills will answer the questions online for free !!
I bet they don't know that but I do think that is a beautiful thing. I'm glad I can get free answers from dudes like the Microsoft MVP's. I bet you'd like it more if Microsoft would send you to see Maiden though.
My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will finish this project, in this life or the next. Slightly modified " from Gladiator.
Code-frog System Architects, Inc.
|
|
|
|
|
code-frog wrote:
I bet you'd like it more if Microsoft would send you to see Maiden though.
Yeah, I think next year I'll plan to go a month early, if Maiden do Ozzfest again. Now that Ozzy won't do it, I reckon they'll need Maiden AND Priest to make it worthwhile.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Dude! I'd be there *so* fast.
My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will finish this project, in this life or the next. Slightly modified " from Gladiator.
Code-frog System Architects, Inc.
|
|
|
|
|
Christian Graus wrote:
they know people who have the skills will answer the questions online for free !!
Thats Why They are Here
"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
|
|
|
|