|
hi,
i'm so sorry, i've run the program in debug mode and received the following error message,
Unhandled exception in MultiAPI.exe: 0xC0000005: Access Violation
i wonder what this means?
|
|
|
|
|
I can't find anything in what you posted to indicate a problem. Also your description of the behavior does not even indicate that the socket has anything to do with the dialog closing. I can't even think of a theory of what could cause the dialog to close without at least firing an assertion.
You might try using Spy to watch the messages arriving in the dialog that closes to get some indication of why/how it is closing. Also Debugging and Tracing techniques could prove helpful.
Have you ever done a tutorial/sample socket project? I believe MSDN has something like a chat or something that uses CAsyncSocket or CSocket.
-- signature under construction -- -pete
|
|
|
|
|
hi.
does anyone know how to get token identifier from the existing SID?
any ideas?
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
I’d like to make the following call:
_DDataBaseTreeView PE;
GetActiveObject( "NetModeler.DataBaseTreeView.1", NULL, &PE );
Howto…..?
_____________________________
...and justice for all
APe
|
|
|
|
|
try following:
"Looks up a CLSID in the registry, given a ProgID.
HRESULT CLSIDFromProgID(
LPCOLESTR lpszProgID,
LPCLSID pclsid
);"
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
Many thanks!!
_____________________________
...and justice for all
APe
|
|
|
|
|
I need to store binary files in access database.
i've tried with no success (yet) to create an interface between MS-Access table containing an "OLE Object" field type and my application. i thougt to reffer my binary files as Bitmap but still i couldn't load/save data to my DB table.
any idea?
is blob handling can help - how do i store blob?
Cheers,
Yaeli
|
|
|
|
|
Hi!
It may be a silly suggestion but why don't you read the file in binary mode and write everything in a field in the database?
Well... I am a beginner ...
|
|
|
|
|
The maximum field size i have is (which is Memo field type) is several KB and it's textual, i need binary data storage.
|
|
|
|
|
u want to store programmatically or no? i dont how to do this programmatically.
in access just create ole object field, then call contextmenu on the field where u want to insert binary file and then choose insertobject\from file.
maybe this is sollution.
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
Thanks, I need to figure out how to load to DB table & extract from it the Binary file via my application (C++) not manually.
Yaeli
|
|
|
|
|
and there're no interfaces in mc access to duplicate manual work?
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
if there is i'm not familiar with it...
|
|
|
|
|
Consult MSDN article Q234797. The code example does exactly what you want.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
The MSDN docs says it's a shlwapi function. According to the docs it's declared in shlwapi.h and has been since version 4.71. Guess what? I can't find it!
My shlwapi.h is fairly fresh as it takes IE6 and XP into consideration. Has this function been removed!?
--
...Coca Cola, sometimes war...
|
|
|
|
|
i dont think so.
i got xp. and i find those header in following locations:
(thats .net):
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\Shlwapi.h
(thats vs6):
C:\Program Files\Microsoft Visual Studio\VC98\Include\SHLWAPI.H
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
Does anyone know a good web reource about how windows 2000/xp drivers work? I need to know how inf files, the drivers and the registry work together.
Joel Holdsworth
|
|
|
|
|
Joel Holdsworth wrote:
I need to know how inf files...and the registry work together.
I bought this book many years ago. It had some nuggets in it.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
WT is the Difference between ATL and STL
and where these r used
thanx
Regards.
|
|
|
|
|
ATL is a set of classes (templated as well as non-templated) which implements a lot of boiler plate COM code.
STL is the standard library as defined in the C++ standard. It contains a number of container classes (lists, vectors, maps, etc), I/O (ostream, istream, fstream, etc), iterators, and algorithms (abstracted functions for performing operations, finding an element, or calculating a compound value over a (iterator) range of container items). I *think* that sums it up pretty well.
You should get books on the subject!
--
...Coca Cola, sometimes war...
|
|
|
|
|
Dear all
What is Callback? (difinition)
when is Callback being used?
Thanks
|
|
|
|
|
example:
you want to copy a lot of data.. (10000 GB)
this take a long time... and you want to
show some kind of progress for the user.
so the copy_function have a "callback" parameter,
that is a functionpointer to a function, you must suply. the copy_function calls from time to time your "callback" function, so you can show the progress to the user.
I hope, this helps.
|
|
|
|
|
wow9999 wrote:
What is Callback? (difinition)
Per MSDN, it's function that receives messages from the operating system.
wow9999 wrote:
when is Callback being used?
It's used whenever your application needs to be notified of something happening elsewhere. Some examples of functions that utilize callback functions are EnumFontFamilies() , EnumWindows() , qsort() , and RegisterClass() .
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Wt is the Differenc between these in MFC DLL wizard
1 Regular DLL with MFC staticaly linked.
2 Regular DLL using shared MFC DLL
3 MFC Extension DLL (uisng shared MFC DLL)
and where wwe use these
thanx
Regards.
|
|
|
|
|
i think you know what dll do,i can explain what the function of these three.
zahid_ash wrote:
Wt is the Differenc between these in MFC DLL wizard
1 Regular DLL with MFC staticaly linked
here,You create the dll with MFC dll staticlaly link to code.
Pros->You don't need to ship MFC dll with you dll as all required code is compiled with it.
cons -> can made dll bulky and take more memory usage.
zahid_ash wrote:
2 Regular DLL using shared MFC DLL
same way just viceversa of above.
zahid_ash wrote:
MFC Extension DLL (uisng shared MFC DLL)
here the most powerfull dll for vc++ appliction we can only export function form above two dll,but you can export classes using this DLL.
only disadvantage of this dll is that it export classes only to VC++ application whereas above two can export function other porgramming lanaguge
i hope you understand the concept
-----------------------------
"I Think It will Work"
Formerly Known As "Alok The Programmer" at CP
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|