|
Well, At least I'm not the only one who's confused here .
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
V. wrote: ...but none of the functions are exposed into the .NET project.
Do you mean exported?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Well, the problem is that I can create the object (with new). But I can't use the functions.
suppose I have a public function called GiveLastError
I would do this in my application:
MyClass myclass = new MyClass();
string error = myclass.GiveLastError();
tnx
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
Did you try by exporting the functions directly in the dll?
|
|
|
|
|
I guess no, because I don't really know what you mean by this.
I've often used dll's in my app and in C# I've created dozens, but I've never created a library with C++.
The thing is that I need to use functions exposed by a tlb file. It doesn't load in C# and doesn't work with CreateObject. I can however load it into a C++ app, which worked. All functions are nicely wrapped in a class. I now wanted to use this wrapper as a library for my C# app.
Or so was the idea...
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
it is in VC 2003 with console project I noticed that if run your project in debug mode and then while steping thru the code and setting breakpoints at some places with F9 click and then removing them with the same F9 some of them does not want to disappear completely! It is common that when we click F9 the red circle appear at the line from the left and when we click F9 again the circle is being removed completely, but instead of beign completely diappeared the outline of the circle remains and when we terminate debuging mode all the breakpoints with outlines becomes the real breakpoints!
It is quite inconvinient as many outlined "breakpoints" becomes real breakpoints and I have to remove them manually before next dubug session!
9ine
|
|
|
|
|
A red dot is the breakpoint and a red circle is a disabled-breakpoint. Normally F9 adds/removes breakpoints and doesn't disable them so I'm guessing you will have to change a setting for this.
If you press CTRL B you will be presented with the breakpoint dialog where you can disable/remove them all in one step.
|
|
|
|
|
but I did it before with just F9 and no ctrl+B and they had gone without any circles left? It is just started recently I dont know why.
9ine
|
|
|
|
|
worse, they start to appear at random where I have not put them after running debug mode!
9ine
|
|
|
|
|
That sounds like your debug database is out of sync with your source code. You may need to to a complete rebuild (or clean and build) of your project.
I Dream of Absolute Zero
|
|
|
|
|
|
A red circle appears if the function is out of scope or the breakpoint is not on a valid line.
Check. Is there any mis-match in the dll used and the source code used?
Also check for the tools-options-format settings of ur VC++ IDE.
|
|
|
|
|
I use no dlls
I remeber I changed tool-options-text editor-c/c++ tabs size or something from default 4 to some value and then all tabs shifted in code and I returned 4 again and all restored. I think after that episode bp started to appear spontaniously!
Whats the problem?
9ine
|
|
|
|
|
www.sourceforge.net/projects/tinyxml
I want to insert child items into the xml file
sourse file
aa.xml
<ui>
I want to insert
<property name="weburl" value="http">
into sourse file,how to implement?
Have inserted file
<ui>
<property name="weburl" value="http">
|
|
|
|
|
chybin wrote: into sourse file,how to implement?Have inserted file
show your implementation
|
|
|
|
|
Hi:
I am a newbie in VS C++.NET. A silly question. How can I compile a single C++ file and build a solution downloaded from Internet please?
Thanks in advance!
Asura
|
|
|
|
|
If you have an "example.cpp" file create a new (console) application and replace the new source file with your own file. Good luck!
|
|
|
|
|
how can i archieve this?
i want to scan all the strings in a process.
http://www.iarsn.com/taskinfo/help/dialog_search_printable_strings_in_executable.htm
|
|
|
|
|
Though a time consuming process but effective.Follow the steps:-
1) Open the binary (.exe's) files in binary mode.
2) Read each bytes till EOF
3) Check each bytes whether it is a char or not by using the Character Classification methods in MSDN.Like IsAlpha() ..etc
4) Store the chars and do what ever you want!
5) Last but not least close the file.
Best regards,
Deepu Abraham K
|
|
|
|
|
that is not efficient way, as you can find ascii chars when then don't represent a string, and when then strings are in UNICODE charset, then you'll get in trouble...
|
|
|
|
|
A good point to start to is CTextFileDocument[^] where you select what you need. Good luck!
|
|
|
|
|
hi
how i can get motherboard,cpu and hard disk serial number.
please help me.
|
|
|
|
|
|
I use SetBkColor and SetTextColor functions in OnCtlColor
to set colors for controls.
When I set controls as disabled (EnableWindow(FALSE))the
text color is changhed in gray.
Is there a simple way to control disabled controls text
color ?
Thanks a lot!!
|
|
|
|
|
Sorry to say, but the answer is NO. Only you overwrite the drawing routines for those controls.
|
|
|
|