|
When you open the OCX Typelibrary in OLE Viewer, are you able to see all your methods (including the new ones) ?
where is dispidGetLength declared?
S o h a i l K a d i w a l a
To Err Is Human; to Debug, Divine
modified 21-Apr-21 21:01pm.
|
|
|
|
|
Yes I can see every method. Only an excla VBA script is not able to seen them.
dispidGetLentgh is declared in the main control class, which is derived from COleControl.
|
|
|
|
|
Have you tried original suggestion by me?
Prasad
MS MVP - VC++
|
|
|
|
|
Yes I tried it, but that did not work. The solution always failed to register.
kind regards
Volker
|
|
|
|
|
In dialog,or SDI without view,there are many problem when I add WM_PAINT event.
But in MFC it is ok.I can draw in OnPaint.
|
|
|
|
|
Can you describe your problem ?
Prasad
MS MVP - VC++
|
|
|
|
|
i have a dll that i've compiled with c++ compiler. i use this this dll in my c# project. i can load the dll from the outside of the project. like :
<br />
[DllImport("tdes.dll")]<br />
unsafe public static extern void Encrypt ( char* input, char* output,int size );<br />
but i want to use this dll as embedded resource. how can load the dll from the resources?
*** Information is Power ***
|
|
|
|
|
I have a situation (due to time constraints) that I need to cram a std::map<std::string,uint> into a std::vector<byte>. Can anyone help me?
|
|
|
|
|
For some reason, the original post parsed out the std:map of (std::string,uint) and std:vector of (byte).
|
|
|
|
|
That's a really bad idea. Are you sure this will really save you time?!?!
Steve
|
|
|
|
|
I'm not sure what you mean but I quess perhaps something like this:
typedef std::vector<std::map<..., ...> > VectorOfMaps_t;
The "..."s should be filled in with the types you require in the map . I have used a typedef to avoid having to type the huge type name everywhere and for maintainability. "VectorOfMaps_t" is a bad name really because if I changed the type to a std::deque of std::map 's it would become misleading.
Steve
|
|
|
|
|
What you're thinking of is called serialization. Look here on CP and MSDN, the topic has been widely covered.
|
|
|
|
|
Hi all,
I'm developing a document processing project using microsoft office document imaging 11.0(MODI) library for OCR in C#. MODI have an activeX control that is microsoft office document imaging viewer control.
If we have to install the MS office 2003,we can use MODI and their activeX control as references from the COM component dialog.
The adove all are working fine in my project,which is converted from visual studio 2003 to visual studio 2005.But,when i create a new project in visual studio 2005, and try to add the MODI viewer control in the form,it will thrown the error like "Failed to import the activeX control.Please ensure it is properly registered". I dont know what i did wrong.
Now I'm using visual studio 2005.
So, please anyone help me regarding to this.
Thanks in advance.
|
|
|
|
|
Hello,
Can any one guide me know to disable back button in Firefox browser.
For IE i am using the following code to disable browser back button.
javascript: window.history.forward(1);
Its not working in Firefox browser.
Plz Help.
Dhulipudi
|
|
|
|
|
You're asking in the wrong forum (possibly) the wrong site) for help like that...
And why, oh why, disable the browser back button...if it's to trap people onto your website...hmmm, we can always close the window and never, ever return to your site.
|
|
|
|
|
Hi, I am trying to load a busy cursor in WTL but it is loading for a moment and then reverting back to normal. Anybody has idea about it? Please let me know.
Raj
|
|
|
|
|
You'll need to respond to the WM_SETCURSOR message, calling SetCursor within a handler for that message.
Michael Dunn's article here[^] shows how to respond to WM_SETCURSOR.
|
|
|
|
|
I'm really stupid about the whole programming thing so i was thinking maybe i could get extensive help, from other users. My dilemma is that i have seen a site that teaches it but doesn't give forums or anything else like this site does, so what i need is lessons on learning C++. Please note that i haven't even any type of programming( including: scripting, um...that's all i can think of right now )
So a load of help would be nice
Stargazer989
http://www.runescape.com <<<play it!!<="" div="">
|
|
|
|
|
This is the wrong place for seeking lessons on learning C++. I suggest purchasing a C++ primer or a book like "The C++ Programming Language by Bjarne Stroustrup" that has exercises at the end of each chapter. If you have specific questions about some code you wrote that isn't executing the way you expected to, then present your issue here to obtain assistance.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Yeah sorry 'bout that it's just that everything that i try to learn says somethings i don't understand like that "The complete Idiot's Guide to Writing Shell Extensions" needs you to have some other knowledge about scripting or programming or something like that...and on top of that it uses some program i don't i can't even configure, So if you know of something that could teach someone like me how to program or C++ That would be great.
Also i don't have a credit card and my cash supply is restricted so could ya keep it to free if possible.
Stargazer989
http://www.runescape.com <<<<play it!!<="" div="">
|
|
|
|
|
|
Ok so, i got this program that seems simple enough for me to use and it looks like a C++ program, cause it has that "Compiler and debugger" thing. It's called Dev-C++( bloodshed Dev-C++ ) and i was wondering if there were any tutorials for that ( By the way i have dial-up so it would take forever to load most pages from Google )
Stargazer989
http://www.runescape.com <<<play it!!<="" div="">
|
|
|
|
|
Yes, I have heard of Bloodshed Dev-C++ (http://www.bloodshed.net/devcpp.html[^]). Compiling and linking is usually different from one IDE to another. However, programming C++ is very standard. Nevertheless, most compilers don't support the standard 100%. You should be concerned with this now since you are just learning. Take your time, learn and have fun. It is going to be tough at times but worth the effort.
Geo
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Ok, so are you like the this boards moderator? Or do you just like to help people allot? Cause it seems like you're smart about this whole subject. Cause, you know, you know all theses sites and all so i would assume you have used these sites and learn C++ for yourself, correct?
Stargazer989
http://www.runescape.com <<<play it!!<="" div="">
|
|
|
|
|
No, I am not the moderator. I am a regular member just like you. I try to share my little knowledge with others. I am a Systems Analyst at Ford Motor Company but I have a M.A. in Linguistics. In the late 60's, I learned Fortran in high school, and I have taken a few college courses in programming. I learned BASIC and C in the eighties since I worked at an university and the classes were free. However, I learned C++ on my own in the early 90's.
As I search the web looking for programming information, I run into some of these sites and just bookmark them for future reference. Anyway, learning how to program is less than half the battle. You also need to know the environment you are programming, and how to effectively apply your programming knowledge to manipulate that environment to your advantage. If you can, try to find others who are interested in learning C++ and try to create a useful application. You may fail at doing this but you learn from your failure and learn some collaboration skills at the same time.
Geo
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|