|
Are u looking for macromedia flash?
-Prakash
|
|
|
|
|
Use shockwave active-x . BTW you mean to "create" a flash file or just to use it?
VuNic
|
|
|
|
|
Folks, please help me with this...
I have a button with the text 'Hello' on it. During runtime i want to change it to 'Good'. What do i do for this???
God is Merciful...
|
|
|
|
|
|
Thanks a lot
God is Merciful...
|
|
|
|
|
Check out SetWindowText[^] method. You'll probably need something like:
CWnd * pWnd = NULL;
pWnd = GetDlgItem( BUTTON_ID );
if( pWnd == NULL )
{
_ASSERT( FALSE );
}
else
{
pWnd->SetWindowText( TEXT( "Good" ) );
}
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
It seems someone doesn't like your answer... pity. It's perfect.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
|
I apologise, i meant to thank both of you for responding to my query. It happened in a hurry. Sorry.
God is Merciful...
|
|
|
|
|
|
Hi every body
Can any one help me to Store the _variant_t info into *BYTE
your help will be highly appriciated.
Kifayatulah
CDigital Islamabad
Tel.03215309934
|
|
|
|
|
You have to tell us that what is the vt of the Variant. Only then, someone might help.
Regards,
|
|
|
|
|
How can one disable the Drop in particular when using the IWebBrowser2 control. I am using it in places where it is inappropriate to able to drop a file on it.
Setting the Allowfiles to false seems not to work.
Any suggestions would be appreciated.
Happy programming!!
-- modified at 14:55 Monday 30th January, 2006
|
|
|
|
|
hi there,
i really hope there's someone out there that can help me with my dilemma:
i need to load a jpeg image from file..encode in it base64 format and display
it on the edit box...then from there decode the data and save it in a file as jpeg. i know how to load and save the file. but i'm having a lot of problem with the base64 encoder/decoder. so, is there anyone tat knows the sourse code in Visual C++?
thx a bunch to the kind soul tat can help me!
Syazarine
|
|
|
|
|
This library[^] contains a basic Base64 encoder / decoder, thats probably a good starting point to have a look at.
You might always want to have a look the original RFC[^] for reference aswell.
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
I was wondering if someone could help me out with Multi-threading.
I have a Win32 dll that does some heavy scanning and performs callbacks to update a status display of my gui. I introduced multithreading into the DLL and it works fine - but the same callbacks from within the threads fail, and lock up. Outside the threads the callbacks work fine.
any ideas or sample examples of Win32 DLL Multithreading (no MFC)
Raiden
|
|
|
|
|
You're probably doing your screen updates from your threads using SendMessage , right? Unfortunately, when you call SendMessage from a thread that doesn't own the window, it switches threads to make the call. This has the effect of blocking the calling thread.
Try doing screen updates using PostMessage instead.
Software Zen: delete this;
|
|
|
|
|
Thanks for the reply Garry,
I'm actually using callbacks:
to return text from the dll to update say a label of the engines location on the gui.
dThreadCallBack is a DWORD thats stores the static members address location
void StdScanner::CallBackFunction (char *cSomeStringToSend)
{
typedef int (__stdcall* lpMyCallBack) (LPSTR szMsg);
lpMyCallBack MyCallBack;
MyCallBack = (lpMyCallBack) dThreadCallBack;
MyCallBack(cSomeStringToSend);
}
Normally this function works perfectly when outside threads, but locks up when I use it in threads.
Do you have any examples/source of generic Multithreaded Win32 DLLs (non mfc) that can interact with a gui (be it MFC or WIN32).
Raiden
|
|
|
|
|
Where is it locking up? If you break into it with the debugger and get a callstack of what's going on when it locks up this would be a big help. Note - When you write a multithreaded program you have to start worrying about the thread safety of every function you call - I suspect this may be your problem.
Steve
|
|
|
|
|
Hello All!
How do I get NT domain name under Windows 98 using Windows API ?
Sincerely Yours,
RadioShark
|
|
|
|
|
To send a message to a CWnd derived object is easy, I use SendMessage() method. Could anyone help me understand how to send message to a CCmdTarget derived object such as CDocument which owns a message table (BEGIN_MESSAGE_MAP/END_MESSAGE_MAP) ?
Perhaps I'm just going down the difficult path. Namely, I'm trying to send a "new-document" menu message to the SDI document to force cleanup and get the "option to save modified" feature. For some reason if I call OnNewDocument() method directly the framework ignors the fact that the current document is "modified". I though sending the menu message would fool the framework to do its job.
Thanks bunches
Alex
|
|
|
|
|
You could just call the menu handler directly - OnFileNew() . The other way (as you suggest) is to send a WM_COMMAND message with the ID_FILE_NEW command ID to your main window (not to the document directly).
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Hello!
What are there differences between Win32 and MFC project in Visual C++ project types?
(other than we can use existing MFC classes in MFC project)
is it better that I create my project with Win32, for more security? or,
are they the same security?
please help me.
Zo.Naderi-Iran
|
|
|
|
|
zoncpp25 wrote: (other than we can use existing MFC classes in MFC project)
erm... well, the main difference with an MFC project would be that it supports MFC, obviously.
zoncpp25 wrote: is it better that I create my project with Win32, for more security? or,
are they the same security?
An MFC project is a Win32 project wrapped in a class structure that makes it easier to use. I don't see how there can be any security risk in using a framework that generates Win32 code at the end of the day. What sort of security are you worried about ? For what reason ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
security for debug and trace in an exe file that created with vc++
Zo.Naderi-Iran
|
|
|
|